Subject: ffmpeg and libmpeg3 builds fail
To: None <tech-pkg@NetBSD.ORG>
From: borghart steffen <borghart@gmx.de>
List: tech-pkg
Date: 12/10/2004 12:04:10
Hi,
I am running pkgsrc on a Slackware 10.0 box.
After a fresh cvs-update ffmpeg fails to build with:
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/pkg/lib -Wl,-
-rpath -Wl,/usr/pkgsrc/multimedia/ffmpeg/work/.buildlink/lib
ffserver.o(.text+0x4a0e): In function `load_module':
: undefined reference to `dlopen'
ffserver.o(.text+0x4a25): In function `load_module':
: undefined reference to `dlsym'
ffserver.o(.text+0x4a4f): In function `load_module':
: undefined reference to `dlclose'
ffserver.o(.text+0x4a61): In function `load_module':
: undefined reference to `dlerror'
ffserver.o(.text+0x7053): In function `parse_ffconfig':
: undefined reference to `dlopen'
ffserver.o(.text+0x706a): In function `parse_ffconfig':
: undefined reference to `dlsym'
ffserver.o(.text+0x7095): In function `parse_ffconfig':
: undefined reference to `dlclose'
ffserver.o(.text+0x709f): In function `parse_ffconfig':
: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ffserver] Error 1
libmpeg3 fails to build with:
gcc -c `./c_flags` mpeg3ifo.c -o work/mpeg3ifo.o
mpeg3ifo.c:7:24: sys/endian.h: No such file or directory
mpeg3ifo.c:8:27: machine/bswap.h: No such file or directory
make: *** [work/mpeg3ifo.o] Error 1
*** Error code 2
Regards, Borghart
--
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++