[FFmpeg-user] C compiler test failure

Jim Worrall coniophora at gmail.com
Sun Apr 10 00:34:21 CEST 2011


I was trying to compile ffmpeg on MacOS 10.6, and ran into trouble.  I am  not well versed in unix, so please bear with me.  I installed all the libraries and related files using Fink, but the version of ffmpeg that Fink has is not very recent, so I got a snapshot from the repository.  I would be very grateful for some pointers, keeping in mind I'm a unix dummy.  Perhaps you can tell me if the configure options also make sense.   Here is the error and the end of the config.log:

ERROR IN TERMINAL:
Jims-MacBook-Pro:ffmpeg jim$ ./configure --prefix=${TARGET} --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect && make -j 4 && make install
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

FROM CONFIG.LOG:
BEGIN /var/folders/ns/nsHE53MCGNOl7NqfmlgXX++++TI/-Tmp-//ffconf.LfOoLRwa.c
   1	int main(void){ return 0; }
END /var/folders/ns/nsHE53MCGNOl7NqfmlgXX++++TI/-Tmp-//ffconf.LfOoLRwa.c
gcc -c -o /var/folders/ns/nsHE53MCGNOl7NqfmlgXX++++TI/-Tmp-//ffconf.s6HaVnj9.o /var/folders/ns/nsHE53MCGNOl7NqfmlgXX++++TI/-Tmp-//ffconf.LfOoLRwa.c
gcc =L/Volumes/Ramdisk/sw/lib -o /var/folders/ns/nsHE53MCGNOl7NqfmlgXX++++TI/-Tmp-//ffconf.CpxM7G19 /var/folders/ns/nsHE53MCGNOl7NqfmlgXX++++TI/-Tmp-//ffconf.s6HaVnj9.o
i686-apple-darwin10-gcc-4.2.1: =L/Volumes/Ramdisk/sw/lib: No such file or directory
C compiler test failed.

Thanks,
Jim


More information about the ffmpeg-user mailing list