[MPlayer-users] mplayer build problem
tomp-tag at sbcglobal.net
tomp-tag at sbcglobal.net
Tue Oct 4 18:40:06 CEST 2005
Today 11:09:38
Sirs,
I have build err with mplayer.
Included here is what I used, how & the output of 'make'
I have Debian sarge linux 2.6.12.6-magma
I followed notes on http://mplayerhq.hu/DOCS/HTML/en/install.html
some instructions were for kernel 2.4 only ( no 2.6 info )
ie: i have gcc 3.3.5 (Debian 1:3.3.5-13)
i used these files
http://ftp5.mplayerhq.hu/mplayer/releases/MPlayer-1.0pre7try2.tar.bz2
http://ftp5.mplayerhq.hu/mplayer/releases/codecs/essential-20050412.tar.bz2
http://ftp5.mplayerhq.hu/mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
http://ftp5.mplayerhq.hu/mplayer/Skin/plastic-1.2.tar.bz2
i bunzip2'd and untarred to default directories
then began the build...
./configure --enable-gui
tried fakeroot debian/rules binary
failed, due to dlopen dlclose dlerr dlsym resolution
so did fakeroot debian/rules clean
did ./configure --enable-gui
then make
& got
.........................<quote>
In file included from libmpdemux/dvbin.h:11,
from cfg-common.h:399,
from cfg-mencoder.h:6,
from mencoder.c:278:
libmpdemux/dvb_defaults.h:73:10: warning: #warning No DVB-T country defined in
dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
mencoder.c: In function `main':
mencoder.c:1157: warning: passing arg 2 of `dec_audio' from incompatible
pointer type
mencoder.c:1178: warning: passing arg 2 of `dec_audio' from incompatible
pointer type
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/X11R6/include -I./libavutil
-I./libavcodec -o mp_msg-mencoder.o mp_msg-mencoder.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/X11R6/include -I./libavutil
-I./libavcodec -o divx4_vbr.o divx4_vbr.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/X11R6/include -I./libavutil
-I./libavcodec -o parser-mecmd.o parser-mecmd.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/X11R6/include -I./libavutil
-I./libavcodec -o xvid_vbr.o xvid_vbr.c
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium4
-mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/freetype2
-I/usr/X11R6/include -I./libavutil -I./libavcodec -o mencoder mencoder.o
mp_msg-mencoder.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 divx4_vbr.o libvo/aclib.o
libvo/font_load.o libvo/font_load_ft.o libvo/osd.o libvo/sub.o parser-mecmd.o
xvid_vbr.o libmpcodecs/libmpencoders.a libmpcodecs/libmpcodecs.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 libavformat/libavformat.a
libavcodec/libavcodec.a libavutil/libavutil.a -lpng -lz -lz -ljpeg
-lfreetype -lz -ltermcap -lnsl -lfontconfig libfaad2/libfaad2.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a
-Wl,-z,noexecstack -lpthread -rdynamic -lm
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xb64): In function
`load_syms_linux':
: undefined reference to `dlopen'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xb7e): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xb93): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xba8): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xbbd): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xbd2): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xbe7): more undefined
references to `dlsym' follow
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xcdd): In function
`load_syms_linux':
: undefined reference to `dlclose'
libmpcodecs/libmpcodecs.a(ad_realaud.o)(.text+0xce6): In function
`load_syms_linux':
: undefined reference to `dlerror'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x760): In function `uninit':
: undefined reference to `dlclose'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x7dc): In function
`load_syms_linux':
: undefined reference to `dlopen'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x7f6): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x80b): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x820): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x835): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x84a): In function
`load_syms_linux':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x88f): more undefined
references to `dlsym' follow
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x948): In function
`load_syms_linux':
: undefined reference to `dlclose'
libmpcodecs/libmpcodecs.a(vd_realvid.o)(.text+0x951): In function
`load_syms_linux':
: undefined reference to `dlerror'
libmpcodecs/libmpcodecs.a(vd_xanim.o)(.text+0xde1): In function `uninit':
: undefined reference to `dlclose'
libmpcodecs/libmpcodecs.a(vd_xanim.o)(.text+0xe28): In function
`xacodec_load':
: undefined reference to `dlopen'
libmpcodecs/libmpcodecs.a(vd_xanim.o)(.text+0xe34): In function
`xacodec_load':
: undefined reference to `dlerror'
libmpcodecs/libmpcodecs.a(vd_xanim.o)(.text+0xe9b): In function
`xacodec_load':
: undefined reference to `dlsym'
libmpcodecs/libmpcodecs.a(vd_xanim.o)(.text+0xea2): In function
`xacodec_load':
: undefined reference to `dlerror'
libmpcodecs/libmpcodecs.a(vd_xanim.o)(.text+0xed5): In function
`xacodec_load':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1:
tomp:~/main$
...<end quote>
is the problem it cant find dlfcn.h?
i see it, it's in /usr/include/dlfcn.h and it includes bits/dlfcn.h
what to do?
thanks,
To
More information about the MPlayer-users
mailing list