[MPlayer-dev-eng] Fw: [MPlayer-cygwin] [BUG] doesn't compile with new ipv6 support

Bertrand Baudet bertrand_baudet at yahoo.com
Thu Apr 10 01:14:08 CEST 2003


Sorry I can't test on cygwin ATM.

What does configure say for inet_pton?
is it using inet_pton or inet_aton?
If yes, try replacing inet_ntop by inet_ntoa and
tell me what you get.

Bertrand


On Wednesday 09 April 2003 18:50, Sascha Sommer wrote:
> Is this inet_ntop really needed, even without ipv6 ?
> Afair it wasn't there before.
> The gethostbyname2 error is probably a 10l in configure.
>
>
>
> ----- Original Message -----
> From: "Christian Ohm" <chr.ohm at gmx.net>
> To: <mplayer-cygwin at mplayerhq.hu>
> Sent: Tuesday, April 08, 2003 11:40 AM
> Subject: [MPlayer-cygwin] [BUG] doesn't compile with new ipv6 support
>
> > hi!
> >
> > when compiling current mplayer main cvs on cygwin, i get the following
>
> error:
>
>
> cc -W -Wall -Wno-unused-parameter -O2 -march=athlon -mcpu=athlon -g3 
> -D_LAR GEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -Ilibmpdemux
> -Iloader -Ili bvo -I/usr/local/include -I/usr/local/include/freetype2
> -I/usr/local/include /   -I/usr/local/include/SDL -Uunix -mcygwin   -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    libmpcodecs/libmpcodecs.a
> mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a   libaf/libaf.a
> libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a
> osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit
> bavcodec/libavcodec.a   -lvorbis -logg      -lpng -lz -lz -ljpeg  
> -L/usr/lo cal/lib -lfreetype -ltermcap   -lgdi32 -lwinmm  -lungif      
> -L/usr/local/l ib -lSDL -mcygwin           -L/usr/local/lib/   -rdynamic
> -liconv -lintl -lm
>
> > gcc: unrecognized option `-rdynamic'
> > libmpdemux/libmpdemux.a(network.o)(.text+0x69f): In function
>
> `connect2Server_with_af':
> > /home/Lilith/mplayer/libmpdemux/network.c:226: undefined reference to
>
> `_gethostbyname2'
>
> libmpdemux/libmpdemux.a(network.o)(.text+0x70b):/home/Lilith/mplayer/libmpd
>e mux/network.c:256: undefined reference to `_inet_ntop'
>
> > collect2: ld returned 1 exit status
> > make: *** [mplayer] Error 1
> >
> > when removing the ipv6 code from libmpdemux/network.c and cfg-common.h
>
> mplayer
>
> > compiles on cygwin.
> >
> > bye,
> > christian ohm
> >
> > ps: i've attached my config.h in case it helps.
> >
> > --
> > Fortune's graffito of the week (or maybe even month):
> >
> > Don't Write On Walls!
> >
> >    (and underneath)
> >
> > You want I should type?
>
> ---------------------------------------------------------------------------
>- ----
>
> > _______________________________________________
> > MPlayer-cygwin mailing list
> > MPlayer-cygwin at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list