[Ffmpeg-devel] can't connect to libz.a !!!

mack mackding
Tue Aug 1 12:00:27 CEST 2006


windows 2000 pro,mingw32,gcc 3.2.3 ffmpeg build 5877 2006.8.1
i have successful compiled ffmpeg version 0.4.9 pre1 in the same condition
with the same libz.a (version 1.2.3) and lame . and now i can compile the
version 0.4.9 pre1 successfully.
i have copyed  /local/lib and /local/include into usr/home/ffmpeg/lib and
/usr/home/ffmpeg/include which include zconf.h zlib.h in /include  and
libz.a in /lib and make gcc to connect to the lib . but all are not working
.
at first ,lame lib is also not working , i add the script in makefile , it
is ok.
ifeq ($(CONFIG_MP3LAME),yes)
EXTRALIBS+=-lmp3lame
endif
but libz.a is not working now. pls help ,thanks!
these are error messages :
Administrator at ALLAN /home
$ cd ffmpeg

Administrator at ALLAN /home/ffmpeg
$ ./configure --extra-extralibs=-L/mingw/lib
Unknown option "--extra-extralibs=-L/mingw/lib".
See ./configure --help for available options.

Administrator at ALLAN /home/ffmpeg
$ make
/home/ffmpeg/version.sh "/home/ffmpeg"
make -C libavutil   all
make[1]: Entering directory `/home/ffmpeg/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ffmpeg/libavutil'
make -C libavcodec  all
make[1]: Entering directory `/home/ffmpeg/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ffmpeg/libavcodec'
make -C libavformat all
make[1]: Entering directory `/home/ffmpeg/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ffmpeg/libavformat'
gcc -L./lib -L./libavformat -L./libavcodec -L./libavutil  -g -o ffmpeg_g.exe
ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil  -lmp3lame
./libavformat/libavformat.a(mov.o)(.text+0x2a1a): In function
`mov_read_cmov':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavformat/mov.c:1446: undefined reference
to `uncompress'
./libavcodec/libavcodec.a(png.o)(.text+0x105): In function `decode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/png.c:497: undefined reference to
`inflateInit_'
./libavcodec/libavcodec.a(png.o)(.text+0x2a8):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:678: undefined reference to `inflateEnd'
./libavcodec/libavcodec.a(png.o)(.text+0x914): In function `encode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/png.c:799: undefined reference to
`deflateInit2_'
./libavcodec/libavcodec.a(png.o)(.text+0xa52):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:695: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xa6e):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:700: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xabb):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:703: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xc3b):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:727: undefined reference to `deflate'
./libavcodec/libavcodec.a(png.o)(.text+0xcc7):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:897: undefined reference to `deflate'
./libavcodec/libavcodec.a(png.o)(.text+0xd59):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:695: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xd78):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:700: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xe0f):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:917: undefined reference to `deflateEnd'
./libavcodec/libavcodec.a(png.o)(.text+0xe5b):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:695: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xe77):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:700: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xec6):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:703: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xf62):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:695: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xf7e):D:/ffmpeg/msys/1.0/home/ffmpeg
/libaodec/png.c:700: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0xfce):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/png.c:703: more undefined references to `crc32' follow
./libavcodec/libavcodec.a(png.o)(.text+0x10ff): In function `encode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/png.c:727: undefined reference to
`deflate'
./libavcodec/libavcodec.a(png.o)(.text+0x1198):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/png.c:695: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0x11b4):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/png.c:700: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0x1204):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/png.c:703: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0x133e):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/png.c:695: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0x135a):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/png.c:700: undefined reference to `crc32'
./libavcodec/libavcodec.a(png.o)(.text+0x13a8):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/png.c:703: more undefined references to `crc32' follow
./libavcodec/libavcodec.a(png.o)(.text+0x16e6): In function
`png_decode_idat':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/png.c:457: undefined reference to
`inflate'
./libavcodec/libavcodec.a(lcl.o)(.text+0x411): In function `decode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/lcl.c:280: undefined reference to
`inflateReset'
./libavcodec/libavcodec.a(lcl.o)(.text+0x46e):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/lcl.c:294: undefined reference to `inflate'
./libavcodec/libavcodec.a(lcl.o)(.text+0x4ad):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/lcl.c:304: undefined reference to `inflateReset'
./libavcodec/libavcodec.a(lcl.o)(.text+0x500):D:/ffmpeg/msys/1.0/home/ffmpeg
/libavcodec/lcl.c:313: undefined reference to `inflate'
./libavcodec/libavcodec.a(lcl.o)(.text+0x1b4e):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/lcl.c:328: undefined reference to `inflate'
./libavcodec/libavcodec.a(lcl.o)(.text+0x1e01): In function `encode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/lcl.c:578: undefined reference to
`deflateReset'
./libavcodec/libavcodec.a(lcl.o)(.text+0x1e5f):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/lcl.c:589: undefined reference to `deflate'
./libavcodec/libavcodec.a(lcl.o)(.text+0x1e73):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/lcl.c:595: undefined reference to `deflate'
./libavcodec/libavcodec.a(lcl.o)(.text+0x24db): In function `decode_init':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/lcl.c:757: undefined reference to
`inflateInit_'
./libavcodec/libavcodec.a(lcl.o)(.text+0x2836): In function `encode_init':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/lcl.c:825: undefined reference to
`deflateInit_'
./libavcodec/libavcodec.a(lcl.o)(.text+0x28d0): In function `decode_end':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/lcl.c:859: undefined reference to
'lateEnd'
./libavcodec/libavcodec.a(lcl.o)(.text+0x2931): In function `encode_end':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/lcl.c:879: undefined reference to
`deflateEnd'
./libavcodec/libavcodec.a(tscc.o)(.text+0xa7): In function `decode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/tscc.c:208: undefined reference to
`inflateReset'
./libavcodec/libavcodec.a(tscc.o)(.text+0x100):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/tscc.c:217: undefined reference to `inflate'
./libavcodec/libavcodec.a(tscc.o)(.text+0x392): In function `decode_init':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/tscc.c:303: undefined reference to
`inflateInit_'
./libavcodec/libavcodec.a(tscc.o)(.text+0x432): In function `decode_end':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/tscc.c:329: undefined reference to
`inflateEnd'
./libavcodec/libavcodec.a(cscd.o)(.text+0x154): In function `decode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/cscd.c:167: undefined reference to
`uncompress'
./libavcodec/libavcodec.a(zmbv.o)(.text+0x5cd): In function `decode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/zmbv.c:507: undefined reference to
`inflate'
./libavcodec/libavcodec.a(zmbv.o)(.text+0x768):D:/ffmpeg/msys/1.0/home/ffmpe
g/libavcodec/zmbv.c:477: undefined reference to `inflateReset'
./libavcodec/libavcodec.a(zmbv.o)(.text+0xa0c): In function `decode_init':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/zmbv.c:646: undefined reference to
`inflateInit_'
./libavcodec/libavcodec.a(zmbv.o)(.text+0xa72): In function `decode_end':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/zmbv.c:672: undefined reference to
`inflateEnd'
./libavcodec/libavcodec.a(flashsv.o)(.text+0x6e): In function
`flashsv_decode_init':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/flashsv.c:95: undefined reference
to 'inflateInit_'
./libavcodec/libavcodec.a(flashsv.o)(.text+0x5d0): In function
`flashsv_decode_frame':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/flashsv.c:200: undefined reference
to`inflateReset'
./libavcodec/libavcodec.a(flashsv.o)(.text+0x625):D:/ffmpeg/msys/1.0/home/ff
mpeg/libavcodec/flashsv.c:210: undefined reference to `inflate'
./libavcodec/libavcodec.a(flashsv.o)(.text+0x6fa):D:/ffmpeg/msys/1.0/home/ff
mpeg/libavcodec/flashsv.c:214: undefined reference to `inflateSync'
./libavcodec/libavcodec.a(flashsv.o)(.text+0x704):D:/ffmpeg/msys/1.0/home/ff
mpeg/libavcodec/flashsv.c:215: undefined reference to `inflate'
./libavcodec/libavcodec.a(flashsv.o)(.text+0x839): In function
`flashsv_decode_end':
D:/ffmpeg/msys/1.0/home/ffmpeg/libavcodec/flashsv.c:249: undefined reference
to `inflateEnd'
make: *** [ffmpeg_g.exe] Error 1

Administrator at ALLAN /home/ffmpeg
$ 

Administrator at ALLAN /home/ffmpeg
$ 









More information about the ffmpeg-devel mailing list