[MPlayer-cygwin] [BUG] doesn't compile with new ipv6 support

Sascha Sommer saschasommer at freenet.de
Fri Apr 11 18:45:44 CEST 2003


> On Thursday, 10 April 2003 at 13:54, Sascha Sommer wrote:
> > Should be fixed now.
>
> hmmm, now i get this:
>
>
cc -W -Wall -Wno-unused-parameter -O2 -march=i586 -mcpu=i586 -g3  -D_LARGEFI
LE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -Ilibmpdemux -Iloader -Ilibvo 
-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'
> mplayer.o(.data+0x1aec): In function `parse_cfgfiles':
> /home/Lilith/mplayer/mplayer.c:538: undefined reference to
`_network_prefer_ipv4'
> mplayer.o(.data+0x1b08): In function `load_per_file_config':
> /home/Lilith/mplayer/mplayer.c:545: undefined reference to
`_network_ipv4_only_proxy'
> mplayer.o(.data+0x1b24):/home/Lilith/mplayer/mplayer.c:547: undefined
reference to `_network_prefer_ipv4'
> libmpdemux/libmpdemux.a(network.o)(.text+0x777): In function
`connect2Server':
> /home/Lilith/mplayer/libmpdemux/network.c:182: undefined reference to
`_inet_pton'
> libmpdemux/libmpdemux.a(network.o)(.text+0x1e54): In function
`rtp_open_socket':
> /home/Lilith/mplayer/libmpdemux/network.c:791: undefined reference to
`_inet_pton'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>

On my installation configure doesn't detect inet_pton.
I think it is not necessary to configure with --enable-streaming.
Maybe checking out fresh cvs helps.


> with the following configure options:
>
>
./configure --enable-streaming --disable-mad --enable-real --enable-qtx-code
cs --with-reallibdir=/usr/lib/real --enable-debug=3 --with-extraincdir=/usr/
local/include/ --with-extralibdir=/usr/local/lib/
>
> btw, do the win32 codecs (or linux codecs) work under cygwin? i got
quicktime
> to work (with some problems like segfaults with cache enabled), but the
> windows dlls and realplayer didn't work the last time i tried.
>
Not yet. My patch is still in the queue.

Sascha



More information about the MPlayer-cygwin mailing list