[Mplayer-advusers] linking fails on solaris 8

Attila Kinali kinali at gmx.net
Sat Mar 16 17:42:08 CET 2002


Hi,

I got a strange phenomena:
---schnipp---

gmake[1]: Leaving directory `/home/adogan/tmp/mplayer/main/libvo'
gcc -O4  -mcpu=v8 -pipe -ffast-math -fomit-frame-pointer -Ilibmpdemux 
-Iloader -Ilibvo   -o mplayer mplayer.o cyuv.o adpcm.o xacodec.o 
cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o msvidc.o cinepak.o 
fli.o qtrle.o codec-cfg.o cfgparser.o my_profile.o RTjpegN.o minilzo.o 
nuppelvideo.o spudec.o playtree.o playtreeparser.o asxparser.o qtsmc.o 
ducktm1.o roqav.o qtrpza.o find_sub.o subreader.o lirc_mp.o mixer.o 
vobsub.o mp-opt-reg.o -Llibvo -lvo  -Llibmpcodecs -lmpcodecs -Lg72x 
-lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 
-lmpeg2 -Llibavcodec -lavcodec -Llibmpdemux -lmpdemux  -Linput -linput 
-lposix4 -lkstat  -lpthread -ldl   -Lpostproc -lpostproc -Lopendivx 
-ldecore -Llinux -losdep -ltermcap  -lsocket -lnsl -lz    -lm  -Llibao2 
-lao2 -L/usr/openwin/lib -lX11 -lXext -lsocket -lnsl -lGL      -
-lsocket -lnsl    -L/usr/pack/sdl-1.2.2-to/sun4u-sun-solaris2.6/lib 
-R/usr/pack/sdl-1.2.2-to/sun4u-sun-solaris2.6/lib -lSDL -lpthread -lposix4         
Undefined                       first referenced
 symbol                             in file
vo_format_name                      libmpcodecs/libmpcodecs.a(vd.o)
ld: fatal: Symbol referencing errors. No output written to mplayer
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1
---schnapp---

but running the last gcc command by hand and replacing 
-Llibvo -lvo by libvo/libvo.a it works:

---schnapp---
adogan at tardis-b44:~/<2>main>gcc -O4 -mcpu=v8 -pipe -ffast-math 
-fomit-frame-pointer -Ilibmpdemux -Iloader -Ilibvo -o mplayer mplayer.o 
cyuv.o adpcm.o xacodec.o cpudetect.o mp_msg.o ac3-iec958.o dec_audio.o 
msvidc.o cinepak.o fli.o qtrle.o codec-cfg.o cfgparser.o my_profile.o 
RTjpegN.o minilzo.o nuppelvideo.o spudec.o playtree.o playtreeparser.o 
asxparser.o qtsmc.o ducktm1.o roqav.o qtrpza.o find_sub.o subreader.o 
lirc_mp.o mixer.o vobsub.o mp-opt-reg.o  -Llibmpcodecs -lmpcodecs -Lg72x 
-lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 
-lmpeg2 -Llibavcodec -lavcodec -Llibmpdemux -lmpdemux -Linput -linput 
-lposix4 -lkstat -lpthread -ldl -Lpostproc -lpostproc -Lopendivx -ldecore 
-Llinux -losdep -ltermcap -lsocket -lnsl -lz -lm -Llibao2 -lao2 
-L/usr/openwin/lib -lX11 -lXext -lsocket -lnsl -lGL -lsocket -lnsl 
-L/usr/pack/sdl-1.2.2-to/sun4u-sun-solaris2.6/lib 
-R/usr/pack/sdl-1.2.2-to/sun4u-sun-solaris2.6/lib -lSDL -lpthread 
-lposix4 libvo/libvo.a
adogan at tardis-b44:~/<2>main>ls
---schnapp---

can anyone help me here ?

---schnipp---
adogan at tardis-b44:~/<2>main>./configure --disable-vidix
Detected operating system: SunOS
Detected host architecture: sparc
Checking for gcc version ... 2.95.3, ok
Checking for binutils ... no
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for language ... using en
Checking for runtime cpudetection ... yes
Checking for kstat ... yes
Checking for posix4 ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lsocket -lnsl)
Checking for inet_pton() ... yes (using -lsocket -lnsl)
Checking for inttypes.h (required) ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... no
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for vsscanf() ... no
Checking for X11 headers ... yes (using /usr/include)
Checking for X11 libs ... yes (using /usr/openwin/lib)
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB ... no
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for DGA ... no
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for syncfb ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no
Checking for PNG support ... no
Checking for JPEG support ... no
Checking for VESA support ... no (not supported on this OS/architecture)
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for OSS Audio ... no
Checking for ALSA audio ... no
Checking for Sun audio ... yes
Checking for Sun mediaLib ... no
Checking for SGI Audio ... no
Checking for VCD support ... ok
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... no
Checking for zlib ... yes
Checking for RTC ... no (Linux specific feature)
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for Win32 DLL support ... no
Checking for DirectShow ... no
Checking for XAnim DLL ... no (no suitable directory found - see DOCS/codecs.html)
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for zr ... no
Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ... OpenDivX
Checking for libmp3lame (for mencoder) ... no
Checking for XviD/DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for TV interface ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for select ... yes
Checking for streaming ... yes
Checking for GUI ... no
Checking for vidix ... no
Checking for new input ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for xp = bleeding edge ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libvo2/config.mak
Creating libao2/config.mak
Creating help_mp.h
Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/share/mplayer

  Enabled optional drivers:
    Input: network tv vcd 
    Codecs: opendivx libavcodec 
    Audio output: sun sdl 
    Video output: sdl mpegpes(file) opengl x11 
  Disabled optional drivers:
    Input: tv-v4l tv-bsdbt848 dvdread dvdcss 
    Codecs: divx5linux xanim directshow win32 
    Audio output: sgi alsa oss nas 
    Video output: xvidix zr dxr3 vesa png fbdev svga aa ggi xmga mga dga xv directfb tdfxfb 3dfx 
---schnapp---

---schnipp---
SunOS tardis-b44.ee.ethz.ch 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-5_10
---schnapp---


		Attila Kinali
	
-- 
I am a moslem, i am a terrorist.



More information about the MPlayer-advusers mailing list