[MPlayer-cygwin] Compilation without cygwin linking

Sylvain Petreolle spetreolle at yahoo.fr
Fri Nov 22 01:01:54 CET 2002


I want to test mplayer binary out of cygwin.
The problem is that current version of mplayer links with cygwin dlls.

I tried :
CFLAGS=-mno-cygwin ./configure
make

but this end with errors.

$ make
gcc -c -mno-cygwin -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D__CYGWIN__ -Ilib
mpdemux -Iloader -Ilibvo      -o mplayer.o mplayer.c
mplayer.c:8:23: sys/ioctl.h: No such file or directory
mplayer.c:11:22: sys/wait.h: No such file or directory
In file included from mplayer.c:22:
config.h:276:1: warning: "WIN32" redefined
mplayer.c:1:1: warning: this is the location of the previous definition
In file included from libmpdemux/stream.h:28,
                 from mplayer.c:136:
libmpdemux/network.h:11:19: netdb.h: No such file or directory
libmpdemux/network.h:12:24: netinet/in.h: No such file or directory
libmpdemux/network.h:15:24: sys/socket.h: No such file or directory
libmpdemux/network.h:16:23: arpa/inet.h: No such file or directory
In file included from libmpdemux/stream.h:210,
                 from mplayer.c:136:
libmpdvdkit2/dvd_reader.h:120: parse error before "DVDReadBlocks"
libmpdvdkit2/dvd_reader.h:120: warning: data definition has no type or
storage c
lass
libmpdvdkit2/dvd_reader.h:139: parse error before "DVDReadBytes"
libmpdvdkit2/dvd_reader.h:139: warning: data definition has no type or
storage c
lass
libmpdvdkit2/dvd_reader.h:146: parse error before "DVDFileSize"
libmpdvdkit2/dvd_reader.h:146: warning: data definition has no type or
storage c
lass
In file included from loader/wine/avifmt.h:14,
                 from libmpdemux/stheader.h:5,
                 from mplayer.c:138:
loader/wine/windef.h:573:1: warning: "_MAX_PATH" redefined
In file included from mplayer.c:4:
/usr/include/mingw/stdlib.h:65:1: warning: this is the location of the
previous
definition
In file included from loader/wine/avifmt.h:14,
                 from libmpdemux/stheader.h:5,
                 from mplayer.c:138:
loader/wine/windef.h:574:1: warning: "MAX_PATH" redefined
In file included from mplayer.c:4:
/usr/include/mingw/stdlib.h:62:1: warning: this is the location of the
previous
definition
In file included from loader/wine/avifmt.h:14,
                 from libmpdemux/stheader.h:5,
                 from mplayer.c:138:
loader/wine/windef.h:575:1: warning: "_MAX_DRIVE" redefined
In file included from mplayer.c:4:
/usr/include/mingw/stdlib.h:66:1: warning: this is the location of the
previous
definition
In file included from loader/wine/avifmt.h:14,
                 from libmpdemux/stheader.h:5,
                 from mplayer.c:138:
loader/wine/windef.h:577:1: warning: "_MAX_FNAME" redefined
In file included from mplayer.c:4:
/usr/include/mingw/stdlib.h:68:1: warning: this is the location of the
previous
definition
In file included from mplayer.c:152:
fifo.c: In function `mplayer_put_key':
fifo.c:14: `fd_set' undeclared (first use in this function)
fifo.c:14: (Each undeclared identifier is reported only once
fifo.c:14: for each function it appears in.)
fifo.c:14: parse error before "rfds"
fifo.c:15: storage size of `tv' isn't known
fifo.c:18: `rfds' undeclared (first use in this function)
mplayer.c: In function `exit_sighandler':
mplayer.c:447: `SIGKILL' undeclared (first use in this function)
mplayer.c:455: `SIGQUIT' undeclared (first use in this function)
In file included from libaf/af_mp.h:8,
                 from libaf/af.h:3,
                 from cfg-mplayer.h:125,
                 from mplayer.c:479:
libao2/afmt.h:5:58: sys/soundcard.h: No such file or directory
mplayer.c: In function `parse_cfgfiles':
mplayer.c:490: too many arguments to function `mkdir'
mplayer.c: In function `main':
mplayer.c:829: `SIGHUP' undeclared (first use in this function)
mplayer.c:833: `SIGQUIT' undeclared (first use in this function)
mplayer.c:836: `SIGBUS' undeclared (first use in this function)
mplayer.c:1264: warning: passing arg 3 of `vf_open_filter' from
incompatible poi
nter type



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the MPlayer-cygwin mailing list