Subject: ffmpeg build error on linux
To: None <tech-pkg@NetBSD.org>
From: Borghart Steffen <borghart@gmx.de>
List: tech-pkg
Date: 04/19/2006 12:24:33
Hi,
building ffmpeg on linux fails with the following output:
ffserver.c:362: warning: 'get_longterm_datarate' defined but not used
libtool --mode=link gcc -Wl,--warn-common -rdynamic -Wl,-E -o ffserver
ffserver
.o libavformat/libavformat.la libavcodec/libavcodec.la -lm -lz
-lmp3lame -logg -
lvorbis -lvorbisenc
gcc -Wl,--warn-common -rdynamic -Wl,-E -o .libs/ffserver ffserver.o
libavformat
/.libs/libavformat.so
-L/usr/pkgsrc/multimedia/ffmpeg/work/.buildlink/lib libavc
odec/.libs/libavcodec.so -lz
/usr/pkgsrc/multimedia/ffmpeg/work/.buildlink/lib/l
ibmp3lame.so
/usr/pkgsrc/multimedia/ffmpeg/work/.buildlink/lib/libvorbisenc.so /
usr/pkgsrc/multimedia/ffmpeg/work/.buildlink/lib/libvorbis.so
/usr/pkgsrc/multim
edia/ffmpeg/work/.buildlink/lib/libogg.so -lm -Wl,--rpath
-Wl,/usr/pkgsrc/multim
edia/ffmpeg/work/.buildlink/lib
ffserver.o(.text+0x4e80): In function `load_module':
: undefined reference to `dlopen'
ffserver.o(.text+0x4e97): In function `load_module':
: undefined reference to `dlsym'
ffserver.o(.text+0x4eb5): In function `load_module':
: undefined reference to `dlerror'
ffserver.o(.text+0x4f05): In function `load_module':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [ffserver] Error 1
any ideas?
regards, borghart