[MPlayer-users] mplayer samba support

Josef Angermeier josef.angermeier at web.de
Sat May 17 14:13:43 CEST 2003


autodetection of samba client support doesnt work because the code snippet is apparenty compiled without "-ldl -lnsl". otherwise there wouldnt be any undefined references to dlopen,...! after manually adding the samba support compilation failes because of the dublicate symbol "strupper" in unrarlib.o and libsmbclient.a ! im using debian 3.0 stable! maybe this helped you abit, maybe i wasnt smart enough! 
keep up the good work!


gcc -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2   -I/usr/include/SDL -D_REENTRANT   -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a  vidix/libvidix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a  -lmad -lvorbis -logg       -lpng -lz -lz -ljpeg -lasound -ldl -lpthread    -lfreetype -ltermcap -lcdda_interface -lcdda_paranoia -lnsl   -lungif  -lsmbclient    -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lmad -lnsl -L/usr/lib -lSDL -lpthread       -L/usr/lib -ldl -lartsc -DPIC -fPIC -lpthread -L/usr/lib -lesd -laudiofile -lm -laudio -lXt -L/usr/X11R6/lib -lXext -lX11 -lnsl     -lpthread -ldl -rdynamic   -lm
/usr/lib/libsmbclient.a(util_str.po): In function `strupper':
util_str.po(.text+0x788): multiple definition of `strupper'
unrarlib.o(.text+0x27cc): first defined here
/usr/bin/ld: Warning: size of symbol `strupper' changed from 36 to 191 in /usr/lib/libsmbclient.a(util_str.po)
collect2: ld returned 1 ex

More information about the MPlayer-users mailing list