Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I've seen many articles with people having the same problems as me, trying to install MediaInfo on a QNAP device. My linux skills aren't so great, so that could be one of the problems.
I was able to get to the compile process by following this guide: http://www.swisscenter.co.uk/forum/viewtopic.php?f=31&t=23454 and this guide http://forum.qnap.com/viewtopic.php?f=128&t=25766&start=60
I made the following change to “/Zenlib/Project/GNU/Library/configure”
CXXFLAGS="$CXXFLAGS -DUNICODE -march=i486"
ZenLib_CXXFLAGS="$ZenLib_CXXFLAGS -DUNICODE -march=i486"
However, now if i try to compile again I get this error:
[/share/MD0_DATA/Download/MediaInfo_CLI_GNU_FromSource] # sh CLI_Compile.sh
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /opt/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Problem while configuring ZenLib
I'm happy to provide more information or organise remote access to my QNAP if it will be beneficial for making a package for the QNAP.
I'm currently trying to compile (and install / use) MediaInfo_CLI_0.7.71_GNU_FromSource.tar.bz2 on my Qnap TS-469L running an x86_64 Intel(R) Atom(TM) CPU D2701.
I'm ending up with those errors:
CLI_Main.o: In function `Log_0(MediaInfo_Event_Log_0*, UserHandle_struct*)':
CLI_Main.cpp:(.text+0x3b4): undefined reference to `__sync_fetch_and_add_4'
CLI_Main.cpp:(.text+0x3cb): undefined reference to `__sync_fetch_and_add_4'
CLI_Main.cpp:(.text+0x3df): undefined reference to `__sync_fetch_and_add_4'
CLI_Main.cpp:(.text+0x424): undefined reference to `__sync_fetch_and_add_4'
CLI_Main.cpp:(.text+0x43b): undefined reference to `__sync_fetch_and_add_4'
CLI_Main.o:CLI_Main.cpp:(.text+0x503): more undefined references to `__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
make: *** [mediainfo] Error 1
Problem while compiling MediaInfo
The proposed solution for that which I found on the web:
mkdir -p /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/
ln -s /opt/bin/ld /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-ld
ln -s /opt/bin/ld /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-as
Causes this error already during the configure step:
configure: error: in `/share/software/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library':
configure: error: C compiler cannot create executables
The changes to the configure file int21h describes don't seem to do anything for me.