[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cannot build ffmpeg



I can't build /usr/ports/graphics/ffmpeg on -current.
Here is an exerpt of the output of make:

===>  ffmpeg-20050130 depends on: texi2html-1.64 - found
===>  ffmpeg-20050130 depends on: gmake-3.80p0 - found
===>  ffmpeg-20050130 depends on: bzip2-* - found
===>  ffmpeg-20050130 depends on: SDL.2.0 (sdl-*) - found
===>  ffmpeg-20050130 depends on: a52.0.0 (liba52-*) - found
===>  ffmpeg-20050130 depends on: mp3lame.0.1 (lame-*) - found
===>  ffmpeg-20050130 depends on: vorbis.3.0,vorbisenc.2.0 (libvorbis-*) - 
found
===>  Checking files for ffmpeg-20050130
`/usr/ports/distfiles/FFMpeg-20050130.tar.bz2' is up to date.
>> Checksum OK for FFMpeg-20050130.tar.bz2. (sha1)
===>  Extracting for ffmpeg-20050130
===>  Patching for ffmpeg-20050130
===>  Configuring for ffmpeg-20050130
Install prefix   /usr/local
Source path      /usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130
C compiler       cc
make             gmake
CPU              x86 (generic)
Big Endian       no
inttypes.h       yes
broken inttypes.h yes
MMX enabled      yes
Vector Builtins  no
gprof enabled    no
zlib enabled     yes
mp3lame enabled  yes
vorbis enabled   yes
faad enabled     no
faadbin enabled  no
faac enabled     no
xvid enabled     no
a52 support      yes
a52 dlopened     no
dts support      no
pp support       yes
debug symbols    no
strip symbols    yes
optimize         no
shared pp        yes
Video hooking    yes
SDL support      yes
risky / patent encumbered codecs yes
Imlib2 support   no
freetype support yes
Sun medialib support no
pthreads support yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
network support      yes
IPv6 support         no
License: GPL
Creating config.mak and config.h
===>  Building for ffmpeg-20050130
gmake -C libavcodec all
[...]
gmake[1]: Leaving directory 
`/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130/libavformat'
cc -Wall -Wno-switch -O2 -pipe -fomit-frame-pointer -I/usr/local/include -I. 
-I'/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130' 
-I'/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130'/libavcodec 
-I'/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130'/libavformat 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffmpeg.o 
ffmpeg.c
ffmpeg.c: In function `opt_target':
ffmpeg.c:3739: warning: duplicate `const'
cc -Wall -Wno-switch -O2 -pipe -fomit-frame-pointer -I/usr/local/include -I. 
-I'/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130' 
-I'/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130'/libavcodec 
-I'/usr/ports/graphics/ffmpeg/w-ffmpeg-20050130/FFMpeg-20050130'/libavformat 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cmdutils.o 
cmdutils.c
cc -Wl,--warn-common -L/usr/local/lib -L/usr/X11R6/lib -o ffmpeg_g ffmpeg.o 
cmdutils.o -L./libavformat
 -lavformat -L./libavcodec -lavcodec -lm -lossaudio -pthread -lz  -la52 
-lmp3lame -lvorbisenc -lvorbis -logg
ffmpeg.o(.text+0x42e): In function `do_audio_out':
: undefined reference to `av_destruct_packet_nofree'
ffmpeg.o(.text+0x548): In function `do_audio_out':
: undefined reference to `av_destruct_packet_nofree'
ffmpeg.o(.text+0xcb5): In function `do_video_out':
: undefined reference to `av_destruct_packet_nofree'
ffmpeg.o(.text+0x1ef2): In function `output_packet':
: undefined reference to `av_destruct_packet_nofree'
ffmpeg.o(.text+0x2108): In function `output_packet':
: undefined reference to `av_destruct_packet_nofree'
ffmpeg.o(.text+0x58f7): In function `opt_output_file':
: undefined reference to `av_guess_codec'
ffmpeg.o(.text+0x5a41): In function `opt_output_file':
: undefined reference to `av_guess_codec'
collect2: ld returned 1 exit status
gmake: *** [ffmpeg_g] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ffmpeg (line 1716 
of /usr/ports/infrastructure/mk/bsd.port.mk).



Visit your host, monkey.org