[FFmpeg-user] C compiler test failure

Curtis J Blank curt at curtronics.com
Sun Apr 10 11:22:56 CEST 2011

I had that problem "unable to create an executable file" today trying to 
recompile ZoneMinder after upgrading to openSuSE 11.4. I had this line 
for ./configure:

--with-extralibs="-lfaac -lmp3lame -logg -lvorbis -lamrnb -lamrwb"

Once I removed ogg & vorbis it worked. I see you have vorbis, try it 
without that. If that doesn't work try removing libraries one at a time 
and see if that helps.

On 04/09/11 17:34, Jim Worrall wrote:
> 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:
> 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.
> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list