[MPlayer-users] buildroot linking error with mplayer

Bertram Geck bertramgeck at yahoo.com
Tue Apr 24 12:23:46 CEST 2007


Hi all,

after disabling almost everything in the configure script,I went error-free through compiling.

The linker gives me the error message:
=======================================================
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include  -I.  -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a   libmpcodecs/libmpcodecs.a  libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a osdep/libosdep.a -Wl,-z,noexecstack  -Llibmpdvdkit2 -lmpdvdkit  libavformat/libavformat.a  libavcodec/libavcodec.a  libavutil/libavutil.a  libpostproc/libpostproc.a  -lmad -ldv      -ldts -lpng -lz -static -lz -ljpeg -lasound -ldl -lpthread       -lncurses           -llirc_client  -lpthread -ldl   -lm    libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a
 libmpeg2/libmpeg2.a tremor/libvorbisidec.a           vidix/libvidix.a         -static 
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libasound.a(dlmisc.o): In function `snd_dlopen':
(.text+0x2dc): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
stream/stream.a(network.o): In function `check4proxies':
network.c:(.text+0x872): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
stream/stream.a(tcp.o): In function `connect2Server_with_af':
tcp.c:(.text+0x12e): warning: Using 'gethostbyname2' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
vidix/libvidix.a(vidixlib.o): In function `vdlOpen':
vidixlib.c:(.text+0x36d): undefined reference to `dlerror'
vidixlib.c:(.text+0x4af): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [mplayer] Fehler 1
==========================================================

I disabled the vidix-support, but the error stays.
--disable-vidix-internal \
--disable-vidix-external \

Thanks in advance for any help

Bertram






      __________________________________  Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever



More information about the MPlayer-users mailing list