1.9.4 Make Error: INT64_C not declared

The place to discuss linux version of MakeMKV
Post Reply
joseheitor
Posts: 4
Joined: Sun Jun 28, 2015 12:59 pm

1.9.4 Make Error: INT64_C not declared

Post by joseheitor »

Thanks for sharing MakeMKV!

Problem installing latest version (1.9.4) when running 'make' on source. Console output below:

jose@HPSERVER:~$ cd /home/jose/Downloads/MakeMKV/makemkv-oss-1.9.4
jose@HPSERVER:~/Downloads/MakeMKV/makemkv-oss-1.9.4$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for -objcopy... no
checking for objcopy... objcopy
checking for -ld... no
checking for ld... ld
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking openssl/opensslconf.h usability... yes
checking openssl/opensslconf.h presence... yes
checking for openssl/opensslconf.h... yes
checking for AES_encrypt in -lcrypto... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ffmpeg... yes
checking whether LIBAVCODEC_VERSION_MAJOR is declared... yes
checking LIBAVCODEC_VERSION_MAJOR... 53
checking for AVFrame.nb_samples... yes
checking whether AV_SAMPLE_FMT_U8P is declared... yes
checking for avcodec_encode_audio2... yes
checking for AVCodecContext.refcounted_frames... no
checking whether avcodec_free_frame is declared... no
checking whether av_frame_free is declared... no
checking for av_log_format_line... no
checking for enum AVCodecID... no
checking for enum CodecID... yes
checking whether AV_CODEC_ID_NONE is declared... no
checking whether CODEC_ID_NONE is declared... yes
checking whether av_frame_get_channels is declared... no
checking whether av_frame_get_sample_rate is declared... no
checking whether av_frame_set_channel_layout is declared... no
checking for AVCodecParserContext.duration... no
checking whether AV_CH_TOP_BACK_CENTER is declared... no
checking for qt5... no
checking for qt4... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h
config.status: libffabi/src/ffabicfg.h is unchanged
jose@HPSERVER:~/Downloads/MakeMKV/makemkv-oss-1.9.4$ make
mkdir -p out
gcc -g -O2 -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -Ilibebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG -Ilibmatroska/inc \
-Ilibmakemkv/inc -Isstring/inc -Imakemkvgui/inc -Ilibabi/inc -Ilibffabi/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 \
-DHAVE_BUILDINFO_H -Itmp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lm -lrt
In file included from libffabi/src/dcadec/core_decoder.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
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
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:519:22: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, header_type, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:710:44: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:979:47: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1441:44: error: ‘INT64_C’ was not declared in this scope
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
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
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
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
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:71:32: error: ‘INT64_C’ was not declared in this scope
In file included from libffabi/src/dcadec/interpolator_fixed.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
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
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
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
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
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
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
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
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
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*)’:
libffabi/src/dcadec/xll_decoder.cpp:487:40: error: ‘INT64_C’ was not declared in this scope
make: *** [out/libmakemkv.so.1.full] Error 1
jose@HPSERVER:~/Downloads/MakeMKV/makemkv-oss-1.9.4$ sudo make
[sudo] password for jose:
mkdir -p out
gcc -g -O2 -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -Ilibebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG -Ilibmatroska/inc \
-Ilibmakemkv/inc -Isstring/inc -Imakemkvgui/inc -Ilibabi/inc -Ilibffabi/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 \
-DHAVE_BUILDINFO_H -Itmp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lm -lrt
In file included from libffabi/src/dcadec/core_decoder.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
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
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:519:22: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, header_type, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:710:44: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:979:47: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1441:44: error: ‘INT64_C’ was not declared in this scope
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
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
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
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
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:71:32: error: ‘INT64_C’ was not declared in this scope
In file included from libffabi/src/dcadec/interpolator_fixed.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
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
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
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
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
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
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
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
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
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*)’:
libffabi/src/dcadec/xll_decoder.cpp:487:40: error: ‘INT64_C’ was not declared in this scope
make: *** [out/libmakemkv.so.1.full] Error 1
Woodstock
Posts: 10332
Joined: Sun Jul 24, 2011 11:21 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by Woodstock »

What environment are you compiling this for (distribution, version), and do you have all the development libraries included?

Actually, the development HEADERS are the important part in this instance.
joseheitor
Posts: 4
Joined: Sun Jun 28, 2015 12:59 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by joseheitor »

jose@HPSERVER:~$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"
jose@HPSERVER:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
jose@HPSERVER:~$ uname -mrs
Linux 3.5.0-54-generic x86_64
jose@HPSERVER:~$ cat /proc/version
Linux version 3.5.0-54-generic (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014
jose@HPSERVER:~$
joseheitor
Posts: 4
Joined: Sun Jun 28, 2015 12:59 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by joseheitor »

Hi Woodstock,

...I also executed the prep command:

Code: Select all

sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev
...but did not need to install any dependencies.
ascend
Posts: 2
Joined: Sun Jul 05, 2015 9:27 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by ascend »

I have the exact same issue, on CentOS 7 here.

I tried recompiling 1.9.2 to make sure nothing changed on my end, and it compiles just fine still.
rickyjm
Posts: 13
Joined: Mon Jun 09, 2014 11:13 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by rickyjm »

Hi Ascend, prior to compiling, did you do a "yum install update" here or just went to compiling?
Always back it up. Image
ascend
Posts: 2
Joined: Sun Jul 05, 2015 9:27 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by ascend »

I tried compiling before updating, then did a 'yum update', then tried compiling again, with no difference. I also rebooted to allow CentOS to load an updated kernel, just to try. Compiling the older version still worked fine after updating all the libraries.
wolli
Posts: 1
Joined: Tue Jul 14, 2015 7:11 am

Re: 1.9.4 Make Error: INT64_C not declared

Post by wolli »

Hi, I have the same issue with Debian 7.8. Compiling makemkv 1.9.2 works fine on my system as well, and after pasting the apt-get install for the prerequisites nothing was to install for my system as well.
sauron-le-noir
Posts: 5
Joined: Sun Dec 28, 2014 10:24 pm
Contact:

Re: 1.9.4 Make Error: INT64_C not declared

Post by sauron-le-noir »

Just add the following switch to get the beast compiled work here on centos 7.1

./configure CFLAGS='-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS'

This will fix you INT64 problem. Enjoy :mrgreen:
joseheitor
Posts: 4
Joined: Sun Jun 28, 2015 12:59 pm

Re: 1.9.4 Make Error: INT64_C not declared

Post by joseheitor »

Sorted!!!

Many Thanks.
tcut760
Posts: 1
Joined: Wed Jul 22, 2015 11:16 am

Re: 1.9.4 Make Error: INT64_C not declared

Post by tcut760 »

Hi,

I am getting a very similar problem on Linux Mint 13. I have tried the compile flags that sauron-le-noir posted and they do not sort the problem for me.

I am up-to-date as far as updates are concerned and have got all the packages required installed.

$ cat /etc/*release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=13
DISTRIB_CODENAME=maya
DISTRIB_DESCRIPTION="Linux Mint 13 Maya"

$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 13 Maya
Release: 13
Codename: maya

$ uname -mrs
Linux 3.2.0-23-generic i686

$ cat /proc/version
Linux version 3.2.0-23-generic (buildd@palmer) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012


/tmp/makemkv-oss-1.9.4 $ make
mkdir -p out
gcc -g -O2 -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -Ilibebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG -Ilibmatroska/inc \
-Ilibmakemkv/inc -Isstring/inc -Imakemkvgui/inc -Ilibabi/inc -Ilibffabi/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 \
-DHAVE_BUILDINFO_H -Itmp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lm -lrt
In file included from libffabi/src/dcadec/core_decoder.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
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
libffabi/src/dcadec/core_decoder.cpp: In function ‘void dequantize(int*, const int*, int, int, bool)’:
libffabi/src/dcadec/core_decoder.cpp:519:22: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_subframe_audio(core_decoder*, int, header_type, int, int*, int*)’:
libffabi/src/dcadec/core_decoder.cpp:710:44: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int core_filter(core_decoder*, int)’:
libffabi/src/dcadec/core_decoder.cpp:979:47: error: ‘INT64_C’ was not declared in this scope
libffabi/src/dcadec/core_decoder.cpp: In function ‘int parse_x96_subframe_audio(x96_decoder*, int, int, int*)’:
libffabi/src/dcadec/core_decoder.cpp:1441:44: error: ‘INT64_C’ was not declared in this scope
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
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
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
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
libffabi/src/dcadec/idct_fixed.cpp: In function ‘void dct_a(const int*, int*)’:
libffabi/src/dcadec/idct_fixed.cpp:71:32: error: ‘INT64_C’ was not declared in this scope
In file included from libffabi/src/dcadec/interpolator_fixed.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
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
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
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
libffabi/src/dcadec/interpolator_fixed.cpp:103:36: error: ‘INT64_C’ was not declared in this scope
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
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: ‘INT64_C’ was not declared in this scope
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
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
libffabi/src/dcadec/xll_decoder.cpp: In function ‘void xll_filter_band_data(xll_chset*)’:
libffabi/src/dcadec/xll_decoder.cpp:487:40: error: ‘INT64_C’ was not declared in this scope
make: *** [out/libmakemkv.so.1.full] Error 1

Help !!!

Thanks
Post Reply