Hey Guys - I am working on making some simple code for a class project I have, but I've run into some issues getting things to compile correctly. I am using the latest SVN (r18168).
The code I am using is really simple, but it errors out (with undefined references) whenever I call even the simplest libav method. In this case, all I am calling is av_register_all(). /usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer': /home/sam/workspace/CS640.Project.Main/ffmpeg/libavformat/matroskadec.c:896: undefined reference to `inflateInit_' /home/sam/workspace/CS640.Project.Main/ffmpeg/libavformat/matroskadec.c:905: undefined reference to `inflate' /home/sam/workspace/CS640.Project.Main/ffmpeg/libavformat/matroskadec.c:908: undefined reference to `inflateEnd' ... more of the same Does anyone have any idea what might be going on? I used http://ubuntuforums.org/showthread.php?t=786095 this method to compile and build everything, and I just used a simple pkg-config in my makefile to get the library locations. If anyone has seen anything like this, I'd really appreciate any help you could give me. I am really at my wits end with this. I've attached my Makefile and source, if it would help anyone http://www.nabble.com/file/p22654321/Makefile Makefile http://www.nabble.com/file/p22654321/test_scan.c test_scan.c -- View this message in context: http://www.nabble.com/Library-linking-%28avcodec%2C-avformat%29-tp22654321p22654321.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
