[Libav-user] undefined reference from static Libraries

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Mar 7 02:26:48 EET 2018


2018-03-06 14:52 GMT+01:00, Vittalprasad <vittalprasad.br at gmail.com>:

> i have written make file to build own sample application using FFMPEG
> static libraries, but i'm getting more than 200+ undefined reference errors
> while compiling.
> *Error exampls:*
> ./lib/libavcodec.a(mscc.o): In function `decode_init':
> /home/bvittalprasad/ffmpeg_sources/ffmpeg/libavcodec/mscc.c:205:
> undefined reference to `inflateInit_'

Needs -lz (zlib).

Carl Eugen


More information about the Libav-user mailing list