ON closer investigation there seems to be something wrong with ioctl.h. It
does not define any FION* symbols.
/* sys/ioctl.h */
/* /dev/windows ioctls */
#define WINDOWS_POST 0 /* Set write() behavior to PostMessage() */
#define WINDOWS_SEND 1 /* Set write() behavior to SendMessage() */
#define WINDOWS_HWND 2 /* Set hWnd for read() calls */
int ioctl (int __fd, int __cmd, ...);
From: Schalkwyk, Johan
Sent: Thursday, July 08, 2004 3:32 PM
To: Schalkwyk, Johan; 'playerstage-developers@...'
Subject: RE: cygwin installation
Thank you Bernard for the cygwin instructions. I started yesterday trying to
port myself, not knowing that anyone else was on it. Could not find the
right resources easily using google.
Anyway I've got rtk compiled. I'm having a bit of trouble with player
- replace/replace.h - complains about missing include "sys/dir.h". If I
remove it compiles further
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../server -Wall
/../server -g -O2 -c rflex-io.cc
rflex-io.cc: In function `long int bytesWaiting(int)':
rflex-io.cc:162: error: `FIONREAD' undeclared (first use this function)
rflex-io.cc:162: error: (Each undeclared identifier is reported only once
each function it appears in.)
make: *** [rflex-io.o] Error 1
BTW the patches don't seem to apply to my code base (tar ball from the web).
DO I need the latest from CVS.