[FFmpeg-user] undefined reference to 'ff_find_pix_fmt'

bryandonnovan at gmail.com bryandonnovan at gmail.com
Thu Apr 7 02:46:14 CEST 2011


building 0.6.9-rc0 for win32 with a configuration for writing FLV files...

When libavformat links, it has an unresolved external 'ff_find_pix_fmt'

ff_find_pix_fmt is defined in avcodec/raw.h and avcodec/rawdec.c however it
does not appear in avcodec/avcodec-52.def

So, my main question is -- what change must I make so that it DOES appear in
the DEF file?

My second question is the error "./configure: line 761: pkg-config: command
not found" -- is this a problem?  And if so, what can I do about it?

Thanks

Ouput from configure and link stages below:

./configure: line 761: pkg-config: command not found
install prefix            /usr/local
source path               /C/ffmpeg-0.6.90-rc0
C compiler                gcc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              no
CMOV is fast              no
EBX available             yes
EBP available             no
10 operands supported     yes
debug symbols             no
strip symbols             yes
optimizations             yes
static                    yes
shared                    yes
postprocessing support    no
new filter support        no
network support           no
threading support         w32threads
SDL support               no
Sun medialib support      no
AVISynth enabled          no
frei0r enabled            no
libdc1394 support         no
libdirac enabled          no
libfaac enabled           no
libgsm enabled            no
libmp3lame enabled        yes
libnut enabled            no
libopencore-amrnb support no
libopencore-amrwb support no
libopencv support         no
libopenjpeg enabled       no
librtmp enabled           no
libschroedinger enabled   no
libspeex enabled          no
libtheora enabled         no
libvorbis enabled         no
libvpx enabled            no
libx264 enabled           no
libxavs enabled           no
libxvid enabled           no
zlib enabled              no
bzlib enabled             no

Enabled decoders:

Enabled encoders:
flv                     h263                    libmp3lame

Enabled hwaccels:

Enabled parsers:

Enabled demuxers:

Enabled muxers:
flv                     mp3

Enabled protocols:
file

Enabled filters:

Enabled bsfs:
mp3_header_compress

Enabled indevs:

Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak and config.h...
libavutil/avconfig.h is unchanged



Creating library file: libavutil/libavutil.dll.a
lib.exe /machine:i386 /def:libavutil/avutil-50.def
/out:libavutil/avutil-50.lib
Microsoft (R) Library Manager Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Creating library libavutil/avutil-50.lib and object libavutil/avutil-50.exp
LD      libavcodec/avcodec-52.dll
Creating library file: libavcodec/libavcodec.dll.a
lib.exe /machine:i386 /def:libavcodec/avcodec-52.def
/out:libavcodec/avcodec-52.lib
Microsoft (R) Library Manager Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Creating library libavcodec/avcodec-52.lib and object
libavcodec/avcodec-52.exp
LD      libavformat/avformat-52.dll
Creating library file: libavformat/libavformat.dll.a
libavformat/utils.o:utils.c:(.text+0x9293): undefined reference to
`ff_find_pix_fmt'
collect2: ld returned 1 exit status
make: *** [libavformat/avformat-52.dll] Error 1


More information about the ffmpeg-user mailing list