Srinath M <srinath3142@...> writes:

> clang -o tld tld.o -L"../lib" -lccv -lavformat -lavcodec -lswscale -lz -lm
> 
> /usr/local/lib/libavformat.a(concat.o): In function `concat_close':
> /home/srinath/Downloads/ffmpeg-1.1.1/libavformat/concat.c:52: 
> undefined reference to `av_freep'

Whenever you link with one of FFmpeg's libraries, you 
have to add avutil which is a prerequisite for all 
other libraries.

Generally, it may be a good idea to run "grep" in such 
a case (or even nm), it may tell you were the missing 
symbol is defined.

Please do not top-post here, it is considered rude.

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to