[FFmpeg-user] undefined reference to `_inflate'
Kyle
kshawkeye at gmail.com
Thu Apr 14 23:16:31 CEST 2011
When trying to compile ffmpeg with rtmp I get this error:
i686-w64-mingw32-gcc
-L/home/kyle/software/ffmpeg/external-libraries/win32/lib
-Wl,--as-needed
-I/home/kyle/software/ffmpeg/external-libraries/win32/include
-L/home/kyle/software/ffmpeg/external-libraries/win32/lib -o
/tmp/ffconf.rzFd0GnR.exe /tmp/ffconf.GEn5rmdC.o -lz -lrtmp -lwinmm
-lgdi32 -lpolarssl -lws2_32 -lavifil32 -lm -lpthreadGC2 -lpsapi
/home/kyle/software/ffmpeg/external-libraries/win32/lib/librtmp.a(hashswf.o):hashswf.c:(.text+0xb6):
undefined reference to `_inflate'
/home/kyle/software/ffmpeg/external-libraries/win32/lib/librtmp.a(hashswf.o):hashswf.c:(.text+0xc4d):
undefined reference to `_inflateInit_'
/home/kyle/software/ffmpeg/external-libraries/win32/lib/librtmp.a(hashswf.o):hashswf.c:(.text+0xc95):
undefined reference to `_inflateEnd'
You can see that -lz is included, so I'm not sure whats actually going
wrong?
Here it is with -lz at the end:
i686-w64-mingw32-gcc
-L/home/kyle/software/ffmpeg/external-libraries/win32/lib
-Wl,--as-needed
-I/home/kyle/software/ffmpeg/external-libraries/win32/include
-L/home/kyle/software/ffmpeg/external-libraries/win32/lib -o
/tmp/ffconf.U4sdC0la.exe /tmp/ffconf.2UDSSUVZ.o -lrtmp -lwinmm -lgdi32
-lpolarssl -lws2_32 -lz -lavifil32 -lm -lpthreadGC2 -lpsapi
/home/kyle/software/ffmpeg/external-libraries/win32/lib/librtmp.a(hashswf.o):hashswf.c:(.text+0xb6):
undefined reference to `_inflate'
/home/kyle/software/ffmpeg/external-libraries/win32/lib/librtmp.a(hashswf.o):hashswf.c:(.text+0xc4d):
undefined reference to `_inflateInit_'
/home/kyle/software/ffmpeg/external-libraries/win32/lib/librtmp.a(hashswf.o):hashswf.c:(.text+0xc95):
undefined reference to `_inflateEnd'
Any ideas?
More information about the ffmpeg-user
mailing list