This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Newsgroup?
- To: cygwin at cygwin dot com
- Subject: Newsgroup?
- From: Andreas Madritsch <amadritsch at datacomm dot ch>
- Date: Wed, 14 Feb 2001 21:42:23 +0100
- Reply-To: amadritsch at datacomm dot ch
Hello
Is there a newsgroup, where I can post questions to cygwin?
I have problems compiling code with cygwin, which can be compiled with
djgpp without problems. The error messages looks
like:
timers.c: In function `alarmhandler':
timers.c:538: `SIGALRM' undeclared (first use in this function)
timers.c: In function `update_async':
timers.c:546: storage size of `t' isn't known
timers.c:553: `SIGALRM' undeclared (first use in this function)
timers.c:555: `ITIMER_REAL' undeclared (first use in this function)
timers.c:560: storage size of `t' isn't known
It seems that the headers signal.h and time.h aren't included properly.
I could add the following code extracted from signal.h and time.h to my
source:
#define SIGALRM 14
#define ITIMER_REAL 0
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
}t;
But the binary created then doesn't work.
btw. how can I generate binaries which don't use dll's from cygwin?
Thanks a lot
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple