[FFmpeg-devel] Build error

Daniel Taylor dan
Wed Sep 10 14:17:57 CEST 2008


On 10 Sep, 2008, at 04:40, xxcv wrote:
> r 15261 - HEAD also doesn't link properly.
>
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0x34):
>> undefined reference to `_faacEncClose'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0x88):
>> undefined reference to `_faacEncEncode'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0xeb):
>> undefined reference to `_faacEncOpen'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0xf5):
>> undefined reference to `_faacEncGetCurrentConfiguration'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0x148):
>> undefined reference to `_faacEncClose'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0x1f4):
>> undefined reference to `_faacEncSetConfiguration'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0x23f):
>> undefined reference to `_faacEncGetDecoderSpecificInfo'
>> ffmpeg/libavcodec/libavcodec.a(libfaac.o):libfaac.c:(.text+0x2ec):
>> undefined reference to `_faacEncClose'
>> collect2: ld returned 1 exit status
>> make[1]: *** [ffmpeg_g.exe] Error 1


I get this as well, but only when using MinGW to cross-compile for  
win32 from Ubuntu (linux build works just fine). Are you trying to  
cross compile or build on Windows (I haven't tried that)? Any  
solutions other than disabling libfaac?

--
Daniel G. Taylor
http://programmer-art.org




More information about the ffmpeg-devel mailing list