Re: [NEWBIE][CYGWIN] compile error

From: Brandon Brown (BBrown@uasoft.com)
Date: 08/27/00


The WTFaq covers this problem, I believe. :)

http://developer.circlemud.org/docs/wtfaq/


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  B. Brown                                                     TimeTraveller
  Senior Programmer                                      'Lost in Time,
  U&A Software InterActive                            'and Loving it!'
  http://www.uasoft.com/staff/bbrown/         http://www.uasoft.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
----- Original Message -----
From: "Danny Owen" <azder_72@yahoo.com>
To: <CIRCLE@post.queensu.ca>
Sent: Sunday, August 27, 2000 1:51 PM
Subject: [CIRCLE] [NEWBIE][CYGWIN] compile error


> CYGWIN (latest version)
> Circle 3.0 bpl14
>
> Hey peoples
>
>    I've been having a problem compiling under CYGWIN
> and I'm confused as how this is.. When I run configure
> it shows everything is fine but I get this one error..
>
> make ../bin/circle
> make[1]: Entering directory `/lot/src'
> gcc -c -g -O2 -Wall  comm.c
> In file included from comm.c:15:
> sysdep.h:138: Invalid token in expression
> make[1]: *** [comm.o] Error 1
> make: *** [all] Error 2
>
> this is the offending code
>
>
> /* Ultrix's unistd.h always defines _POSIX_VERSION,
> but you only get POSIX.1 behavior with `cc -YPOSIX',
> which predefines POSIX itself!  */
> #if defined (_POSIX_VERSION) && !defined (ultrix)
> #define POSIX
> #endif
>
> /* Some systems define _POSIX_VERSION but are not
> really POSIX.1.  */
> #if  (defined (butterfly) || defined (__arm) ||
> \<<<138
>      (defined (__mips) && defined (_SYSTYPE_SVR3)) ||
> \
>      (defined (sequent) && defined (i386)))
> #undef POSIX
> #endif
> #endif  HAVE_UNISTD_H
>
> #if !defined (POSIX) && defined (_AIX) && defined
> (_POSIX_SOURCE)
> #define POSIX
> #endif
>
> #if defined(_AIX)
> #define POSIX_NONBLOCK_BROKEN
> #endif
>
>
> I did search the archives for hours and I couldn't
> find anything to do with this error..
>
> any help will be appreciated
>
>
> Trewe (Legends of Toril)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT