| www.delorie.com/archives/browse.cgi | search |
| Message-ID: | <3A8AE5D4.FD160C94@datacomm.ch> |
| Date: | Wed, 14 Feb 2001 21:08:52 +0100 |
| From: | Andreas Madritsch <amadritsch AT datacomm DOT ch> |
| X-Mailer: | Mozilla 4.75 [en] (Win98; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Cygwin |
| NNTP-Posting-Host: | 212.254.10.140 |
| X-Trace: | 14 Feb 2001 21:15:02 +0100, 212.254.10.140 |
| Organization: | Customers of Tiscali DataComm AG - http://www.tiscalinet.ch/ |
| Lines: | 26 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello
<p>Does anybody know where I can post questions to cygwin?
<p>I have problems compiling code with cygwin, which can be compiled with
djgpp without problems. The error messages looks like:
<p>timers.c: In function `alarmhandler':
<br>timers.c:538: `SIGALRM' undeclared (first use in this function)
<br>timers.c: In function `update_async':
<br>timers.c:546: storage size of `t' isn't known
<br>timers.c:553: `SIGALRM' undeclared (first use in this function)
<br>timers.c:555: `ITIMER_REAL' undeclared (first use in this function)
<br>timers.c:560: storage size of `t' isn't known
<p>It seems that the headers signal.h and time.h aren't included properly.
<br>I could add the following code extracted from signal.h and time.h to
my source:
<p>#define SIGALRM 14
<br>#define ITIMER_REAL 0
<br>struct itimerval {
<br> struct timeval it_interval;
<br> struct timeval it_value;
<br>}t;
<p>But the binary created then doesn't work.
<p>btw. how can I generate binaries which don't use dll's from cygwin?
<p>Thanks a lot</html>
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |