[MPlayer-dev-eng] Many undefined symbols when compiling on Mac OS X 10.3.9

Ergzay ergzay at gmail.com
Fri Feb 2 11:07:26 CET 2007


On 2007/01/28, at 17:17, Diego Biurrun wrote:

> On Sun, Jan 28, 2007 at 02:43:20PM -0500, Ergzay wrote:
>> I have gcc 3.3, ld cctools-525.obj~1, and make 3.79 all runnning on  
>> Mac
>> OS X 10.3.9 on a 1.2 Ghz iBook G4.
>> Mplayer fails to compile with the output below.
>>
>> configure and make line:
>> ./configure --with-extralibdir=/usr/X11R6/lib
>> --with-extraincdir=/usr/X11R6/include && make
>>
>> Output:
>> [...]
>> ld: Undefined symbols:
>> _audio_demuxer
>> _audio_muxer
>> _dc1394_demuxer
>> _dv1394_demuxer
>> _nut_muxer
>> _ogg_muxer
>> _redir_demuxer
>> _rtp_muxer
>> _rtsp_demuxer
>> _sdp_demuxer
>> _v4l2_demuxer
>> _video_grab_device_demuxer
>> _x11_grab_device_demuxer
>> make: *** [mplayer] Error 1
>
> Looks like you need to svn update.
>
> Diego

Still get error (I update often). Same options as before

cc -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 libvo/libosd.a  
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a  
libpostproc/libpostproc.a mp3lib/libMP3.a liba52/liba52.a  
libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a  
libass/libass.a osdep/libosdep.a -lXext -lX11 -lXv -lXinerama -lXxf86vm  
-laa -lcaca -lX11 -lncurses -lncurses -lSDLmain -lSDL -framework Cocoa  
-framework OpenGL -framework OpenAL -lx264 -L/usr/local/lib  
-L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib   
-liconv -lncurses -framework Carbon -framework QuickTime -framework  
CoreAudio -framework AudioUnit -framework AudioToolbox -framework Cocoa  
-framework QuartzCore -framework OpenGL -lpng -lz -L/usr/local/lib  
-ldvdnav -lpthread -L/usr/local/lib -lfreetype -lz -lfontconfig  -lz  
-lxvidcore -lm     -lm
ld: warning multiple definitions of symbol _aa_render
/usr/local/lib/libaa.a(aarender.o) definition of _aa_render in section  
(__TEXT,__text)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
Frameworks/CoreGraphics.framework/Versions/A/ 
CoreGraphics(product_link.o) definition of _aa_render
ld: warning multiple definitions of symbol _ZN7CAGuardD0Ev.eh
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _ZN7CAGuardD0Ev.eh
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of _ZN7CAGuardD0Ev.eh
ld: warning multiple definitions of symbol _ZN7CAGuardD1Ev.eh
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _ZN7CAGuardD1Ev.eh
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of _ZN7CAGuardD1Ev.eh
ld: warning multiple definitions of symbol _ZN7CAGuardD2Ev.eh
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of _ZN7CAGuardD2Ev.eh
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of _ZN7CAGuardD2Ev.eh
ld: warning multiple definitions of symbol CAGuard::~CAGuard()
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of CAGuard::~CAGuard()
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of CAGuard::~CAGuard()
ld: warning multiple definitions of symbol CAGuard::~CAGuard()
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of CAGuard::~CAGuard()
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of CAGuard::~CAGuard()
ld: warning multiple definitions of symbol __ZN7CAGuardD4Ev
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of __ZN7CAGuardD4Ev
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of __ZN7CAGuardD4Ev
ld: warning multiple definitions of symbol vtable for CAGuard
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of vtable for CAGuard
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of vtable for CAGuard
ld: warning multiple definitions of symbol CAGuard::Wait()
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of CAGuard::Wait()
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of CAGuard::Wait()
ld: warning multiple definitions of symbol CAGuard::Notify()
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of CAGuard::Notify()
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of CAGuard::Notify()
ld: warning multiple definitions of symbol CAGuard::~CAGuard()
/Library/Frameworks/OpenAL.framework/OpenAL(single module) definition  
of CAGuard::~CAGuard()
/usr/local/lib/libSDL.dylib(CAGuard.o) definition of CAGuard::~CAGuard()
ld: warning suggest use of -bind_at_load, as lazy binding may result in  
errors or different symbols being used
symbol CAGuard::~CAGuard() used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol _ZN7CAGuardD0Ev.eh used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol _ZN7CAGuardD1Ev.eh used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol _ZN7CAGuardD2Ev.eh used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol CAGuard::Wait() used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol CAGuard::Notify() used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol CAGuard::~CAGuard() used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol __ZN7CAGuardD4Ev used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol vtable for CAGuard used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
symbol CAGuard::~CAGuard() used from dynamic library  
/Library/Frameworks/OpenAL.framework/OpenAL(single module) not from  
earlier dynamic library /usr/local/lib/libSDL-1.2.0.dylib(CAGuard.o)
ld: Undefined symbols:
_audio_demuxer
_audio_muxer
_dc1394_demuxer
_dv1394_demuxer
_nut_muxer
_ogg_muxer
_redir_demuxer
_rtp_muxer
_rtsp_demuxer
_sdp_demuxer
_v4l2_demuxer
_video_grab_device_demuxer
_x11_grab_device_demuxer
make: *** [mplayer] Error 1




More information about the MPlayer-dev-eng mailing list