[MPlayer-cygwin] Compilation without cygwin linking

Sycotic Smith sycotic at linuxmail.org
Fri Nov 22 02:15:10 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
[snip]
> 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

For one, these are 'unix' (or is it posix?) style signals, you would need to use WinAPI calls instead... this is just first-glance for me, I still wouldn't know WHAT the calls are...  The cygwin dll has these calls in it, which emulate the unix/posix style signals, so maybe try #include'ing <windows.h> instead of <signal.h> maybe?  Just my thoughts, but they may completely unfounded.

/S. Smith

-- 
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze



More information about the MPlayer-cygwin mailing list