[MPlayer-users] Compile error undefined reference to `av_free'
Josh
joshf87 at live.com
Sun Jul 29 10:14:32 CEST 2012
On 7/29/2012 01:42, Oliver Seitz wrote:
> Is this a new one or triggered by the recent fix? ;-)
>
> Ubuntu-32
>
> Greets,
> Kiste
>
> make -C ffmpeg libpostproc/libpostproc.a
> make[1]: Entering directory `/usr/src/mplayer/ffmpeg'
> CC libpostproc/postprocess.o
> /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o: In
> function `_start':
> (.text+0x18): undefined reference to `main'
> /tmp/cctSn7y5.o: In function `reallocBuffers':
> postprocess.c:(.text+0xe38): undefined reference to `av_free'
> postprocess.c:(.text+0xe40): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xe4e): undefined reference to `av_free'
> postprocess.c:(.text+0xe56): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xe64): undefined reference to `av_free'
> postprocess.c:(.text+0xe70): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xe7e): undefined reference to `av_free'
> postprocess.c:(.text+0xe8a): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf03): undefined reference to `av_free'
> postprocess.c:(.text+0xf0b): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf1c): undefined reference to `av_free'
> postprocess.c:(.text+0xf24): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf32): undefined reference to `av_free'
> postprocess.c:(.text+0xf3a): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf48): undefined reference to `av_free'
> postprocess.c:(.text+0xf50): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf5e): undefined reference to `av_free'
> postprocess.c:(.text+0xf66): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf74): undefined reference to `av_free'
> postprocess.c:(.text+0xf7c): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xf8a): undefined reference to `av_free'
> postprocess.c:(.text+0xf9a): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xfb6): undefined reference to `av_free'
> postprocess.c:(.text+0xfbe): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xfd2): undefined reference to `av_free'
> postprocess.c:(.text+0xfda): undefined reference to `av_mallocz'
> postprocess.c:(.text+0xfee): undefined reference to `av_free'
> postprocess.c:(.text+0xffa): undefined reference to `av_mallocz'
> /tmp/cctSn7y5.o: In function `postProcess_C':
> postprocess.c:(.text+0x1148d): undefined reference to `av_malloc'
> /tmp/cctSn7y5.o: In function `pp_get_mode_by_name_and_quality':
> postprocess.c:(.text+0x121f9): undefined reference to `av_strlcpy'
> postprocess.c:(.text+0x12219): undefined reference to `av_log'
> postprocess.c:(.text+0x12277): undefined reference to `av_malloc'
> postprocess.c:(.text+0x122f1): undefined reference to `av_strlcpy'
> postprocess.c:(.text+0x12311): undefined reference to `av_log'
> postprocess.c:(.text+0x1238a): undefined reference to `av_log'
> postprocess.c:(.text+0x12431): undefined reference to `av_log'
> postprocess.c:(.text+0x128f5): undefined reference to `av_log'
> postprocess.c:(.text+0x12928): undefined reference to `av_log'
> postprocess.c:(.text+0x12930): undefined reference to `av_free'
> postprocess.c:(.text+0x12996): undefined reference to `av_log'
> /tmp/cctSn7y5.o: In function `pp_get_context':
> postprocess.c:(.text+0x129e4): undefined reference to `av_malloc'
> /tmp/cctSn7y5.o: In function `pp_free_context':
> postprocess.c:(.text+0x12b03): undefined reference to `av_free'
> postprocess.c:(.text+0x12b0e): undefined reference to `av_free'
> postprocess.c:(.text+0x12b19): undefined reference to `av_free'
> postprocess.c:(.text+0x12b24): undefined reference to `av_free'
> postprocess.c:(.text+0x12b2f): undefined reference to `av_free'
> /tmp/cctSn7y5.o:postprocess.c:(.text+0x12b3a): more undefined
> references to `av_free' follow
> /tmp/cctSn7y5.o: In function `pp_postprocess':
> postprocess.c:(.text+0x12e60): undefined reference to `av_log'
> /tmp/cctSn7y5.o: In function `pp_free_mode':
> postprocess.c:(.text+0x129b1): undefined reference to `av_free'
> /tmp/cctSn7y5.o: In function `pp_free_context':
> postprocess.c:(.text+0x12bda): undefined reference to `av_free'
> collect2: ld returned 1 exit status
> make[1]: *** [libpostproc/postprocess.o] Error 1
> make[1]: Leaving directory `/usr/src/mplayer/ffmpeg'
> make: *** [ffmpeg/libpostproc/libpostproc.a] Fehler 2
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>
Confirmed also in MinGW/Windows.
More information about the MPlayer-users
mailing list