Eu já consegui compilar o MakeMKV 1.7.5 e versões mais antigas, mas a versão mais recente (baixada de link ) me causa erros estranhos de falha de segmentação.
Se eu correr
$ make -f makefile.linux
Eu obtenho
mkdir -p out
gcc -Os -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++
libdriveio/src/infolist.cpp: In function ‘void LibDriveIo::uint32_put_ns(uint32_t, void*)’:
libdriveio/src/infolist.cpp:341:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/scsihlp.cpp: In function ‘uint32_t LibDriveIo::uint32_get_be(const void*)’:
libdriveio/src/scsihlp.cpp:389:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/srlist.cpp: In function ‘uint32_t uint32_get_ns(const void*)’:
libdriveio/src/srlist.cpp:43:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/stdquery.cpp: In function ‘uint32_t LibDriveIo::uint32_get_be(const void*)’:
libdriveio/src/stdquery.cpp:555:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/tipclient.cpp: In static member function ‘static int LibDriveIo::CTIPSClient::ExecStatic(void*, const ScsiCmd*, ScsiCmdResponse*)’:
libdriveio/src/tipclient.cpp:200:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/tipcommon.cpp: In function ‘unsigned int LibDriveIo::encode_int(uint8_t*, uint64_t)’:
libdriveio/src/tipcommon.cpp:239:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/tipserver.cpp: In function ‘ssize_t recv(int, void*, size_t, int)’:
libdriveio/src/tipserver.cpp:326:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/drives/pioneer.cpp: In function ‘void append_trimmed(char*, const char*, size_t)’:
libdriveio/src/drives/pioneer.cpp:261:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
libdriveio/src/drives/xboxhddvd.cpp: In function ‘int cmd_df_enable(ISimpleScsiTarget*)’:
libdriveio/src/drives/xboxhddvd.cpp:106:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make: *** [out/libdriveio.so.0.full] Error 1
Estou usando o Ubuntu 11.04 (32 bits) em um servidor sem cabeçalho e instalei todas as dependências que devem ser necessárias (libc6-dev-lib libsl-dev libex1-dev libgl1-mesa-dev libqt4-dev ).
Então, qual frango eu preciso sacrificar para conseguir isso para compilar?