[Ffmpeg-devel] ffmpeg failed to compile

Måns Rullgård mru
Sun Feb 12 12:40:45 CET 2006


carboncopy <carboncopy.public at gmail.com> writes:

> Hi!
>
> There seems to be trouble with Makefile (my guess). I am getting the
> following error :
>
> cc -Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -o ffmpeg_g
> ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec
> -lavcodec -L./libavutil -lavutil -lx264 -lxvidcore -lmp3lame -logg
> -lvorbis -lvorbisenc -ltheora -lfaad -lfaac -lz -llzo  -lpthread
> /usr/bin/ld: table of contents for archive:
> /opt/local/lib/libavformat.a is out of date; rerun ranlib(1) (can't
> load from it)
> /usr/bin/ld: table of contents for archive:
> /opt/local/lib/libavcodec.a is out of date; rerun ranlib(1) (can't
> load from it)
> /usr/bin/ld: table of contents for archive: /opt/local/lib/libavutil.a
> is out of date; rerun ranlib(1) (can't load from it)
> collect2: ld returned 1 exit status
> make: *** [ffmpeg_g] Error 1

Was this a clean build?  Run ranlib on the files it complains about
and try again.  Maybe your "ar" is a bit unusual somehow.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list