www.makemkv.com

MakeMKV support forum
It is currently Thu Oct 19, 2017 7:22 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jun 04, 2017 6:25 pm 
Offline

Joined: Sun Jun 04, 2017 6:19 pm
Posts: 1
I'm getting this error when running make in the makemkv-oss-1.10.6.

[root@paulfamilylinux makemkv-oss-1.10.6]# make
mkdir -p out
gcc -g -O2 -D_linux_ -D_GNU_SOURCE -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -I./libebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG \
-I./libmatroska/inc -I./libmakemkv/inc -I./sstring/inc -I./makemkvgui/inc -I./libabi/inc \
-I./libffabi/inc -DDCA_LOG -DDCA_FFMALLOC libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/EbmlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/IOCallback.cpp libebml/src/MemIOCallback.cpp libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxCluster.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTracks.cpp libmatroska/src/KaxVersion.cpp libmatroska/src/KaxSemantic.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp libmakemkv/src/stdstring.cpp sstring/src/sstring.cpp \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/src/libm.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffabi/src/ffabi.c libffabi/src/mlp.c libffabi/src/log.c libffabi/src/audio_convert.c libffabi/src/audio_mix.c libffabi/src/audio_mix_matrix.c libffabi/src/dcadec/bitstream.cpp libffabi/src/dcadec/core_decoder.cpp libffabi/src/dcadec/dca_context.cpp libffabi/src/dcadec/dmix_tables.cpp libffabi/src/dcadec/exss_parser.cpp libffabi/src/dcadec/idct_fixed.cpp libffabi/src/dcadec/interpolator.cpp libffabi/src/dcadec/interpolator_fixed.cpp libffabi/src/dcadec/interpolator_float.cpp libffabi/src/dcadec/ta.cpp libffabi/src/dcadec/xll_decoder.cpp libffabi/src/dcadec/idct_float.cpp \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/ffmpeg \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lrt -lm -lrt
libmakemkv/src/libmkv.cpp: In member function ‘void MyMkvTrackInfo::RenderStat(libmatroska::KaxTags&, unsigned int, uint64_t, const char*)’:
libmakemkv/src/libmkv.cpp:384:53: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,values[i]);
^
libmakemkv/src/libmkv.cpp:392:49: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,stat_bytes);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:19:0:
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:556:54: error: ‘INT64_C’ was not declared in this scope
int nbits = 64 - dca_clz64(step_scale | INT64_C(1));
^
libffabi/src/dcadec/common.h:35:41: note: in definition of macro ‘dca_clz64’
#define dca_clz64(x) __builtin_clzll(x)
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, HeaderType, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:746:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:995:47: error: ‘INT64_C’ was not declared in this scope
int64_t res1 = INT64_C(2097471) * samples[n] + INT64_C(6291137) * history;
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1477:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
In file included from libffabi/src/dcadec/dca_context.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1)))[root@paulfamilylinux makemkv-oss-1.10.6]# make
mkdir -p out
gcc -g -O2 -D_linux_ -D_GNU_SOURCE -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -I./libebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG \
-I./libmatroska/inc -I./libmakemkv/inc -I./sstring/inc -I./makemkvgui/inc -I./libabi/inc \
-I./libffabi/inc -DDCA_LOG -DDCA_FFMALLOC libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/EbmlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/IOCallback.cpp libebml/src/MemIOCallback.cpp libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxCluster.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTracks.cpp libmatroska/src/KaxVersion.cpp libmatroska/src/KaxSemantic.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp libmakemkv/src/stdstring.cpp sstring/src/sstring.cpp \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/src/libm.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffabi/src/ffabi.c libffabi/src/mlp.c libffabi/src/log.c libffabi/src/audio_convert.c libffabi/src/audio_mix.c libffabi/src/audio_mix_matrix.c libffabi/src/dcadec/bitstream.cpp libffabi/src/dcadec/core_decoder.cpp libffabi/src/dcadec/dca_context.cpp libffabi/src/dcadec/dmix_tables.cpp libffabi/src/dcadec/exss_parser.cpp libffabi/src/dcadec/idct_fixed.cpp libffabi/src/dcadec/interpolator.cpp libffabi/src/dcadec/interpolator_fixed.cpp libffabi/src/dcadec/interpolator_float.cpp libffabi/src/dcadec/ta.cpp libffabi/src/dcadec/xll_decoder.cpp libffabi/src/dcadec/idct_float.cpp \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/ffmpeg \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lrt -lm -lrt
libmakemkv/src/libmkv.cpp: In member function ‘void MyMkvTrackInfo::RenderStat(libmatroska::KaxTags&, unsigned int, uint64_t, const char*)’:
libmakemkv/src/libmkv.cpp:384:53: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,values[i]);
^
libmakemkv/src/libmkv.cpp:392:49: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,stat_bytes);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:19:0:
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:556:54: error: ‘INT64_C’ was not declared in this scope
int nbits = 64 - dca_clz64(step_scale | INT64_C(1));
^
libffabi/src/dcadec/common.h:35:41: note: in definition of macro ‘dca_clz64’
#define dca_clz64(x) __builtin_clzll(x)
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, HeaderType, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:746:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:995:47: error: ‘INT64_C’ was not declared in this scope
int64_t res1 = INT64_C(2097471) * samples[n] + INT64_C(6291137) * history;
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1477:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
In file included from libffabi/src/dcadec/dca_context.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/idct_fixed.cpp:20:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:65:32: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_fixed.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_lfe_fixed_fir(int*, int*, int, bool, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:37:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub32_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:88:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub64_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:162:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_float.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/xll_decoder.cpp:21:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*, int)’:
libffabi/src/dcadec/xll_decoder.cpp:618:40: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
make: *** [out/libmakemkv.so.1.full] Error 1
[root@paulfamilylinux makemkv-oss-1.10.6]# make
mkdir -p out
gcc -g -O2 -D_linux_ -D_GNU_SOURCE -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -I./libebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG \
-I./libmatroska/inc -I./libmakemkv/inc -I./sstring/inc -I./makemkvgui/inc -I./libabi/inc \
-I./libffabi/inc -DDCA_LOG -DDCA_FFMALLOC libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/EbmlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/IOCallback.cpp libebml/src/MemIOCallback.cpp libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxCluster.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTracks.cpp libmatroska/src/KaxVersion.cpp libmatroska/src/KaxSemantic.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp libmakemkv/src/stdstring.cpp sstring/src/sstring.cpp \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/src/libm.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffabi/src/ffabi.c libffabi/src/mlp.c libffabi/src/log.c libffabi/src/audio_convert.c libffabi/src/audio_mix.c libffabi/src/audio_mix_matrix.c libffabi/src/dcadec/bitstream.cpp libffabi/src/dcadec/core_decoder.cpp libffabi/src/dcadec/dca_context.cpp libffabi/src/dcadec/dmix_tables.cpp libffabi/src/dcadec/exss_parser.cpp libffabi/src/dcadec/idct_fixed.cpp libffabi/src/dcadec/interpolator.cpp libffabi/src/dcadec/interpolator_fixed.cpp libffabi/src/dcadec/interpolator_float.cpp libffabi/src/dcadec/ta.cpp libffabi/src/dcadec/xll_decoder.cpp libffabi/src/dcadec/idct_float.cpp \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/ffmpeg \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lrt -lm -lrt
libmakemkv/src/libmkv.cpp: In member function ‘void MyMkvTrackInfo::RenderStat(libmatroska::KaxTags&, unsigned int, uint64_t, const char*)’:
libmakemkv/src/libmkv.cpp:384:53: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,values[i]);
^
libmakemkv/src/libmkv.cpp:392:49: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,stat_bytes);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:19:0:
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:556:54: error: ‘INT64_C’ was not declared in this scope
int nbits = 64 - dca_clz64(step_scale | INT64_C(1));
^
libffabi/src/dcadec/common.h:35:41: note: in definition of macro ‘dca_clz64’
#define dca_clz64(x) __builtin_clzll(x)
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, HeaderType, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:746:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:995:47: error: ‘INT64_C’ was not declared in this scope
int64_t res1 = INT64_C(2097471) * samples[n] + INT64_C(6291137) * history;
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1477:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
In file included from libffabi/src/dcadec/dca_context.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/idct_fixed.cpp:20:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:65:32: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_fixed.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_lfe_fixed_fir(int*, int*, int, bool, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:37:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub32_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:88:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub64_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:162:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_float.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/xll_decoder.cpp:21:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope[root@paulfamilylinux makemkv-oss-1.10.6]# make
mkdir -p out
gcc -g -O2 -D_linux_ -D_GNU_SOURCE -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -I./libebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG \
-I./libmatroska/inc -I./libmakemkv/inc -I./sstring/inc -I./makemkvgui/inc -I./libabi/inc \
-I./libffabi/inc -DDCA_LOG -DDCA_FFMALLOC libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/EbmlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/IOCallback.cpp libebml/src/MemIOCallback.cpp libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxCluster.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTracks.cpp libmatroska/src/KaxVersion.cpp libmatroska/src/KaxSemantic.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp libmakemkv/src/stdstring.cpp sstring/src/sstring.cpp \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/src/libm.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffabi/src/ffabi.c libffabi/src/mlp.c libffabi/src/log.c libffabi/src/audio_convert.c libffabi/src/audio_mix.c libffabi/src/audio_mix_matrix.c libffabi/src/dcadec/bitstream.cpp libffabi/src/dcadec/core_decoder.cpp libffabi/src/dcadec/dca_context.cpp libffabi/src/dcadec/dmix_tables.cpp libffabi/src/dcadec/exss_parser.cpp libffabi/src/dcadec/idct_fixed.cpp libffabi/src/dcadec/interpolator.cpp libffabi/src/dcadec/interpolator_fixed.cpp libffabi/src/dcadec/interpolator_float.cpp libffabi/src/dcadec/ta.cpp libffabi/src/dcadec/xll_decoder.cpp libffabi/src/dcadec/idct_float.cpp \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/ffmpeg \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lrt -lm -lrt
libmakemkv/src/libmkv.cpp: In member function ‘void MyMkvTrackInfo::RenderStat(libmatroska::KaxTags&, unsigned int, uint64_t, const char*)’:
libmakemkv/src/libmkv.cpp:384:53: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,values[i]);
^
libmakemkv/src/libmkv.cpp:392:49: error: expected ‘)’ before ‘PRIu64’
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,stat_bytes);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/core_decoder.cpp:19:0:
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:556:54: error: ‘INT64_C’ was not declared in this scope
int nbits = 64 - dca_clz64(step_scale | INT64_C(1));
^
libffabi/src/dcadec/common.h:35:41: note: in definition of macro ‘dca_clz64’
#define dca_clz64(x) __builtin_clzll(x)
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, HeaderType, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:746:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:995:47: error: ‘INT64_C’ was not declared in this scope
int64_t res1 = INT64_C(2097471) * samples[n] + INT64_C(6291137) * history;
^
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1477:44: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
In file included from libffabi/src/dcadec/dca_context.cpp:23:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/idct_fixed.cpp:20:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:65:32: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_fixed.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_lfe_fixed_fir(int*, int*, int, bool, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:37:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub32_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:88:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub64_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:162:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_float.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/xll_decoder.cpp:21:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*, int)’:
libffabi/src/dcadec/xll_decoder.cpp:618:40: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
make: *** [out/libmakemkv.so.1.full] Error 1

return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*, int)’:
libffabi/src/dcadec/xll_decoder.cpp:618:40: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
make: *** [out/libmakemkv.so.1.full] Error 1
& ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/idct_fixed.cpp:20:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:65:32: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_fixed.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_lfe_fixed_fir(int*, int*, int, bool, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:37:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub32_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:88:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp: In function ‘void interpolate_sub64_fixed(interpolator*, int*, int**, int**, int, bool)’:
libffabi/src/dcadec/interpolator_fixed.cpp:162:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_float.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/xll_decoder.cpp:21:0:
libffabi/src/dcadec/fixed_math.h: In function ‘int64_t round__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:25:31: error: ‘INT64_C’ was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function ‘int32_t norm__(int64_t, int)’:
libffabi/src/dcadec/fixed_math.h:33:41: error: ‘INT64_C’ was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*, int)’:
libffabi/src/dcadec/xll_decoder.cpp:618:40: error: ‘INT64_C’ was not declared in this scope
int64_t err = INT64_C(0);
^
make: *** [out/libmakemkv.so.1.full] Error 1


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 19, 2017 9:30 pm 
Offline

Joined: Sat Apr 14, 2012 6:45 pm
Posts: 20
I happen to have a new version of GCC available on my RHEL 6.5 system which may have helped. I used the following configure line to fix the problem.

Code:
./configure CC=/tools/local/gcc-6.2.0/bin/gcc CXX=/tools/local/gcc-6.2.0/bin/g++ CFLAGS="-g -O2 -D__STDC_FORMAT_MACROS"


Try giving the above CFLAGS variable and see if that helps. You might also need to add "-D__STDC_CONSTANT_MACROS" in your case.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group