compiling MakeMKV on Raspberry Pi 2, INT64_C not declared

The place to discuss linux version of MakeMKV
Post Reply
beta-tester
Posts: 7
Joined: Sun Jun 28, 2015 5:51 pm

compiling MakeMKV on Raspberry Pi 2, INT64_C not declared

Post by beta-tester »

hello, i am new here.
i tried to compile the linux version of MakeMKV on my RPi2 model B (Linux raspbian 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux).
but i got many error messages like
error: ‘INT64_C’ was not declared in this scope
./configure succeeded, but the compiling process failed because of all the errors.
is there a way to define/substitute INT64_C / int64_t to get MakeMKV run n a RPi1 or RPi2?

here, is what i did:

Code: Select all

pi@raspbian ~ $ cd Downloads/makemkv-oss-1.9.4/
pi@raspbian ~/Downloads/ $ wget http://www.makemkv.com/download/makemkv-oss-1.9.4.tar.gz
pi@raspbian ~/Downloads/ $ wget http://www.makemkv.com/download/makemkv-bin-1.9.4.tar.gz


pi@raspbian ~/Downloads/ $ sudo apt-get -y install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev libqt4-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
libc6-dev is already the newest version.
pkg-config is already the newest version.
The following extra packages will be installed:
  libavutil-dev libglu1-mesa-dev libmysqlclient18 libpthread-stubs0 libpthread-stubs0-dev libqt4-declarative libqt4-designer libqt4-dev-bin libqt4-help libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools
  libqt4-sql libqt4-sql-mysql libqt4-test libqt4-xmlpatterns libqtwebkit-dev libssl-doc libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev mesa-common-dev mysql-common qt4-linguist-tools qt4-qmake x11proto-core-dev
  x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  libdc1394-22-dev libgsm1-dev libogg-dev libraw1394-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libqt4-declarative-folderlistmodel libqt4-declarative-gestures libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev libsqlite3-dev qt4-dev-tools qt4-doc unixodbc-dev libxcb-doc libxext-doc
The following NEW packages will be installed:
  libavcodec-dev libavutil-dev libexpat1-dev libgl1-mesa-dev libglu1-mesa-dev libmysqlclient18 libpthread-stubs0 libpthread-stubs0-dev libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-opengl
  libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-test libqt4-xmlpatterns libqtwebkit-dev libssl-dev libssl-doc libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev
  libxext-dev mesa-common-dev mysql-common qt4-linguist-tools qt4-qmake x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.1 MB of archives.
After this operation, 87.5 MB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian/ wheezy/main libavutil-dev armhf 6:9.14-1rpi1rpi1 [151 kB]
Get:2 http://archive.raspberrypi.org/debian/ wheezy/main libavcodec-dev armhf 6:9.14-1rpi1rpi1 [2,562 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main mysql-common all 5.5.43-0+deb7u1 [73.4 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmysqlclient18 armhf 5.5.43-0+deb7u1 [618 kB]
Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-script armhf 4:4.8.2+dfsg-11+rpi1 [644 kB]                                                                                                                            
Get:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-sql armhf 4:4.8.2+dfsg-11+rpi1 [119 kB]                                                                                                                               
Get:7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-xmlpatterns armhf 4:4.8.2+dfsg-11+rpi1 [828 kB]                                                                                                                       
Get:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-declarative armhf 4:4.8.2+dfsg-11+rpi1 [867 kB]                                                                                                                       
Get:9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-designer armhf 4:4.8.2+dfsg-11+rpi1 [3,337 kB]                                                                                                                        
Get:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-help armhf 4:4.8.2+dfsg-11+rpi1 [207 kB]                                                                                                                             
Get:11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-opengl armhf 4:4.8.2+dfsg-11+rpi1 [280 kB]                                                                                                                           
Get:12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-qt3support armhf 4:4.8.2+dfsg-11+rpi1 [882 kB]                                                                                                                       
Get:13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-scripttools armhf 4:4.8.2+dfsg-11+rpi1 [217 kB]                                                                                                                      
Get:14 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-sql-mysql armhf 4:4.8.2+dfsg-11+rpi1 [65.4 kB]                                                                                                                       
Get:15 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-test armhf 4:4.8.2+dfsg-11+rpi1 [90.7 kB]                                                                                                                            
Get:16 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libexpat1-dev armhf 2.1.0-1+deb7u1 [210 kB]                                                                                                                                 
Get:17 http://mirrordirector.raspbian.org/raspbian/ wheezy/main xorg-sgml-doctools all 1:1.10-1 [24.1 kB]                                                                                                                                   
Get:18 http://mirrordirector.raspbian.org/raspbian/ wheezy/main x11proto-core-dev all 7.0.23-1 [774 kB]                                                                                                                                     
Get:19 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libxau-dev armhf 1:1.0.7-1 [21.0 kB]                                                                                                                                        
Get:20 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libxdmcp-dev armhf 1:1.1.1-1 [40.8 kB]                                                                                                                                      
Get:21 http://mirrordirector.raspbian.org/raspbian/ wheezy/main x11proto-input-dev all 2.2-1 [172 kB]                                                                                                                                       
Get:22 http://mirrordirector.raspbian.org/raspbian/ wheezy/main x11proto-kb-dev all 1.0.6-2 [269 kB]                                                                                                                                        
Get:23 http://mirrordirector.raspbian.org/raspbian/ wheezy/main xtrans-dev all 1.2.7-1 [112 kB]                                                                                                                                             
Get:24 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpthread-stubs0 armhf 0.3-3 [3,230 B]                                                                                                                                     
Get:25 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpthread-stubs0-dev armhf 0.3-3 [3,996 B]                                                                                                                                 
Get:26 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libxcb1-dev armhf 1.8.1-2+deb7u1 [81.6 kB]                                                                                                                                  
Get:27 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libx11-dev armhf 2:1.5.0-1+deb7u2 [957 kB]                                                                                                                                  
Get:28 http://mirrordirector.raspbian.org/raspbian/ wheezy/main mesa-common-dev armhf 8.0.5-4+deb7u2+rpi1 [278 kB]                                                                                                                          
Get:29 http://mirrordirector.raspbian.org/raspbian/ wheezy/main x11proto-xext-dev all 7.2.1-1 [273 kB]                                                                                                                                      
Get:30 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libxext-dev armhf 2:1.3.1-2+deb7u1 [108 kB]                                                                                                                                 
Get:31 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libgl1-mesa-dev armhf 8.0.5-4+deb7u2+rpi1 [32.8 kB]                                                                                                                         
Get:32 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libglu1-mesa-dev armhf 8.0.5-4+deb7u2+rpi1 [193 kB]                                                                                                                         
Get:33 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-dev-bin armhf 4:4.8.2+dfsg-11+rpi1 [1,382 kB]                                                                                                                        
Get:34 http://mirrordirector.raspbian.org/raspbian/ wheezy/main qt4-linguist-tools armhf 4:4.8.2+dfsg-11+rpi1 [721 kB]                                                                                                                      
Get:35 http://mirrordirector.raspbian.org/raspbian/ wheezy/main qt4-qmake armhf 4:4.8.2+dfsg-11+rpi1 [1,111 kB]                                                                                                                             
Get:36 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-dev armhf 4:4.8.2+dfsg-11+rpi1 [868 kB]                                                                                                                              
Get:37 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt4-opengl-dev armhf 4:4.8.2+dfsg-11+rpi1 [62.6 kB]                                                                                                                      
Get:38 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqtwebkit-dev armhf 2.2.1-5 [165 kB]                                                                                                                                      
Get:39 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-dev armhf 1.0.1e-2+rvt+deb7u17 [1,500 kB]                                                                                                                            
Get:40 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-doc all 1.0.1e-2+rvt+deb7u17 [1,199 kB]                                                                                                                              
Get:41 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libx11-doc all 2:1.5.0-1+deb7u2 [2,609 kB]                                                                                                                                  
Fetched 24.1 MB in 1min 24s (286 kB/s)                                                                                                                                                                                                      
Extracting templates from packages: 100%
Selecting previously unselected package mysql-common.
(Reading database ... 70273 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.5.43-0+deb7u1_all.deb) ...
Selecting previously unselected package libmysqlclient18:armhf.
Unpacking libmysqlclient18:armhf (from .../libmysqlclient18_5.5.43-0+deb7u1_armhf.deb) ...
Selecting previously unselected package libqt4-script:armhf.
Unpacking libqt4-script:armhf (from .../libqt4-script_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-sql:armhf.
Unpacking libqt4-sql:armhf (from .../libqt4-sql_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-xmlpatterns:armhf.
Unpacking libqt4-xmlpatterns:armhf (from .../libqt4-xmlpatterns_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-declarative:armhf.
Unpacking libqt4-declarative:armhf (from .../libqt4-declarative_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-designer:armhf.
Unpacking libqt4-designer:armhf (from .../libqt4-designer_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-help:armhf.
Unpacking libqt4-help:armhf (from .../libqt4-help_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-opengl:armhf.
Unpacking libqt4-opengl:armhf (from .../libqt4-opengl_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-qt3support:armhf.
Unpacking libqt4-qt3support:armhf (from .../libqt4-qt3support_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-scripttools:armhf.
Unpacking libqt4-scripttools:armhf (from .../libqt4-scripttools_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-sql-mysql:armhf.
Unpacking libqt4-sql-mysql:armhf (from .../libqt4-sql-mysql_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-test:armhf.
Unpacking libqt4-test:armhf (from .../libqt4-test_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libavutil-dev.
Unpacking libavutil-dev (from .../libavutil-dev_6%3a9.14-1rpi1rpi1_armhf.deb) ...
Selecting previously unselected package libavcodec-dev.
Unpacking libavcodec-dev (from .../libavcodec-dev_6%3a9.14-1rpi1rpi1_armhf.deb) ...
Selecting previously unselected package libexpat1-dev.
Unpacking libexpat1-dev (from .../libexpat1-dev_2.1.0-1+deb7u1_armhf.deb) ...
Selecting previously unselected package xorg-sgml-doctools.
Unpacking xorg-sgml-doctools (from .../xorg-sgml-doctools_1%3a1.10-1_all.deb) ...
Selecting previously unselected package x11proto-core-dev.
Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.23-1_all.deb) ...
Selecting previously unselected package libxau-dev:armhf.
Unpacking libxau-dev:armhf (from .../libxau-dev_1%3a1.0.7-1_armhf.deb) ...
Selecting previously unselected package libxdmcp-dev:armhf.
Unpacking libxdmcp-dev:armhf (from .../libxdmcp-dev_1%3a1.1.1-1_armhf.deb) ...
Selecting previously unselected package x11proto-input-dev.
Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.2-1_all.deb) ...
Selecting previously unselected package x11proto-kb-dev.
Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.6-2_all.deb) ...
Selecting previously unselected package xtrans-dev.
Unpacking xtrans-dev (from .../xtrans-dev_1.2.7-1_all.deb) ...
Selecting previously unselected package libpthread-stubs0:armhf.
Unpacking libpthread-stubs0:armhf (from .../libpthread-stubs0_0.3-3_armhf.deb) ...
Selecting previously unselected package libpthread-stubs0-dev:armhf.
Unpacking libpthread-stubs0-dev:armhf (from .../libpthread-stubs0-dev_0.3-3_armhf.deb) ...
Selecting previously unselected package libxcb1-dev:armhf.
Unpacking libxcb1-dev:armhf (from .../libxcb1-dev_1.8.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libx11-dev:armhf.
Unpacking libx11-dev:armhf (from .../libx11-dev_2%3a1.5.0-1+deb7u2_armhf.deb) ...
Selecting previously unselected package mesa-common-dev.
Unpacking mesa-common-dev (from .../mesa-common-dev_8.0.5-4+deb7u2+rpi1_armhf.deb) ...
Selecting previously unselected package x11proto-xext-dev.
Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.2.1-1_all.deb) ...
Selecting previously unselected package libxext-dev:armhf.
Unpacking libxext-dev:armhf (from .../libxext-dev_2%3a1.3.1-2+deb7u1_armhf.deb) ...
Selecting previously unselected package libgl1-mesa-dev.
Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_8.0.5-4+deb7u2+rpi1_armhf.deb) ...
Selecting previously unselected package libglu1-mesa-dev.
Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_8.0.5-4+deb7u2+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-dev-bin.
Unpacking libqt4-dev-bin (from .../libqt4-dev-bin_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package qt4-linguist-tools.
Unpacking qt4-linguist-tools (from .../qt4-linguist-tools_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package qt4-qmake.
Unpacking qt4-qmake (from .../qt4-qmake_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-dev.
Unpacking libqt4-dev (from .../libqt4-dev_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqt4-opengl-dev.
Unpacking libqt4-opengl-dev (from .../libqt4-opengl-dev_4%3a4.8.2+dfsg-11+rpi1_armhf.deb) ...
Selecting previously unselected package libqtwebkit-dev.
Unpacking libqtwebkit-dev (from .../libqtwebkit-dev_2.2.1-5_armhf.deb) ...
Selecting previously unselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2+rvt+deb7u17_armhf.deb) ...
Selecting previously unselected package libssl-doc.
Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2+rvt+deb7u17_all.deb) ...
Selecting previously unselected package libx11-doc.
Unpacking libx11-doc (from .../libx11-doc_2%3a1.5.0-1+deb7u2_all.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.5.43-0+deb7u1) ...
Setting up libmysqlclient18:armhf (5.5.43-0+deb7u1) ...
Setting up libqt4-script:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-sql:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-xmlpatterns:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-declarative:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-designer:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-help:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-opengl:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-qt3support:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-scripttools:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-sql-mysql:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-test:armhf (4:4.8.2+dfsg-11+rpi1) ...
Setting up libavutil-dev (6:9.14-1rpi1rpi1) ...
Setting up libavcodec-dev (6:9.14-1rpi1rpi1) ...
Setting up libexpat1-dev (2.1.0-1+deb7u1) ...
Setting up xorg-sgml-doctools (1:1.10-1) ...
Setting up x11proto-core-dev (7.0.23-1) ...
Setting up libxau-dev:armhf (1:1.0.7-1) ...
Setting up libxdmcp-dev:armhf (1:1.1.1-1) ...
Setting up x11proto-input-dev (2.2-1) ...
Setting up x11proto-kb-dev (1.0.6-2) ...
Setting up xtrans-dev (1.2.7-1) ...
Setting up libpthread-stubs0:armhf (0.3-3) ...
Setting up libpthread-stubs0-dev:armhf (0.3-3) ...
Setting up libxcb1-dev:armhf (1.8.1-2+deb7u1) ...
Setting up libx11-dev:armhf (2:1.5.0-1+deb7u2) ...
Setting up mesa-common-dev (8.0.5-4+deb7u2+rpi1) ...
Setting up x11proto-xext-dev (7.2.1-1) ...
Setting up libxext-dev:armhf (2:1.3.1-2+deb7u1) ...
Setting up libgl1-mesa-dev (8.0.5-4+deb7u2+rpi1) ...
Setting up libglu1-mesa-dev (8.0.5-4+deb7u2+rpi1) ...
Setting up libqt4-dev-bin (4:4.8.2+dfsg-11+rpi1) ...
update-alternatives: using /usr/bin/moc-qt4 to provide /usr/bin/moc (moc) in auto mode
update-alternatives: using /usr/bin/uic-qt4 to provide /usr/bin/uic (uic) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/uic.1.gz because associated file /usr/share/man/man1/uic-qt4.1.gz (of link group uic) doesn't exist
Setting up qt4-linguist-tools (4:4.8.2+dfsg-11+rpi1) ...
update-alternatives: using /usr/bin/lupdate-qt4 to provide /usr/bin/lupdate (lupdate) in auto mode
update-alternatives: using /usr/bin/lrelease-qt4 to provide /usr/bin/lrelease (lrelease) in auto mode
Setting up qt4-qmake (4:4.8.2+dfsg-11+rpi1) ...
update-alternatives: using /usr/bin/qmake-qt4 to provide /usr/bin/qmake (qmake) in auto mode
Setting up libqt4-dev (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqt4-opengl-dev (4:4.8.2+dfsg-11+rpi1) ...
Setting up libqtwebkit-dev (2.2.1-5) ...
Setting up libssl-dev (1.0.1e-2+rvt+deb7u17) ...
Setting up libssl-doc (1.0.1e-2+rvt+deb7u17) ...
Setting up libx11-doc (2:1.5.0-1+deb7u2) ...


pi@raspbian ~/Downloads/makemkv-oss-1.9.4 $ ./configure
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
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... 54
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... yes
checking whether av_frame_free is declared... no
checking for av_log_format_line... no
checking for enum AVCodecID... yes
checking whether AV_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... yes
checking whether AV_CH_TOP_BACK_CENTER is declared... yes
checking for qt5... no
checking for qt4... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h


pi@raspbian ~/Downloads/makemkv-oss-1.9.4 $ make
mkdir -p out
gcc -g -O2 -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libdriveio.so.0.full -Ilibdriveio/inc libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp libdriveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp libdriveio/src/tipserver.cpp libdriveio/src/drives/pioneer.cpp libdriveio/src/drives/xboxhddvd.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libdriveio/src/libdriveio.vers \
-Xlinker -soname=libdriveio.so.0 -lc -lstdc++
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libdriveio.so.0.full out/libdriveio.so.0 
mkdir -p tmp
echo "#define BUILDINFO_ARCH_NAME \"arm-linux-gnueabihf\"" >> tmp/gen_buildinfo.h
echo "#define BUILDINFO_BUILD_DATE \"Fri Jun 26 06:00:10 CEST 2015\"" >> tmp/gen_buildinfo.h
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
Makefile:59: recipe for target 'out/libmakemkv.so.1.full' failed
make: *** [out/libmakemkv.so.1.full] Error 1


pi@raspbian ~/Downloads/makemkv-oss-1.9.4 $ 
rickyjm
Posts: 13
Joined: Mon Jun 09, 2014 11:13 pm

Re: compiling MakeMKV on Raspberry Pi 2, INT64_C not declare

Post by rickyjm »

I think that this is somehow related to ffmpeg. Have you checked the package yet?
Always back it up. Image
muppis
Posts: 3
Joined: Wed May 06, 2015 6:24 am

Re: compiling MakeMKV on Raspberry Pi 2, INT64_C not declare

Post by muppis »

You can compile oss part of makemkv with this:

Code: Select all

./configure CFLAGS='-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS'
but there is no point for doing that because it's the bin (and close source) part where all the magic happens and that's the one we need to compiled for arm devices to make it work.
Post Reply