Alex Viskovatoff <viskovat...@imap.cc> wrote:

> Thanks for the suggestion. I've tried that before, and I just tried it again. 
> The build fails:
>
> cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o 
> parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o 
> edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o mpcommon.o 
> parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o 
> vobsub.o unrarlib.o libvo/libvo.a libao2/libao2.a input/libinput.a 
> vidix/libvidix.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 loader/libloader.a 
> mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a 
> tremor/libvorbisidec.a dvdread/libdvdread.a libdvdcss/libdvdcss.a 
> libass/libass.a osdep/libosdep.a -lXext -lX11 -lXv -lXinerama -lXxf86vm -lGL 
> -R/opt/csw/lib -lSDL -lpthread -lposix4 -lesd -laudiofile -lm -lrt -lresolv 
> -lnsl -lsocket -lopenal -lfaac -L/opt/csw/lib -L/opt/csw/lib  -lkstat 
> -lposix4 -lsocket -lnsl  
>  -ltermcap -lsmbclient -lpng -lz -ljpeg -L/opt/csw/lib -R/opt/csw/lib 
> -lfreetype -lz -lfontconfig  -L/opt/csw/lib -lfribidi -lz -lmad -lspeex  
> -ltheora -logg     -rdynamic  -lm   
> cc: unrecognized option `-rdynamic'
> Undefined                     first referenced
>  symbol                           in file
> libiconv_close                      mp_msg.o  (symbol belongs to implicit 
> dependency /opt/csw/lib/libiconv.so.2)
> libiconv_open                       mp_msg.o  (symbol belongs to implicit 
> dependency /opt/csw/lib/libiconv.so.2)
> libiconv                            mp_msg.o  (symbol belongs to implicit 
> dependency /opt/csw/lib/libiconv.so.2)

There are two possibilities:


1) It was compiled with incorrect include files.

The map from iconv_close() to libiconv_close() is done in the Linux version of 
/usr/include/iconv.h but not in the Solris version. 

2) The source is wrong and contains calls to libiconv_close() instead of
iconv_close(). You have to check....

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to