[Cook] Compiling under Cygwin?

Delstrother, Jonathan jonathan.delstrother at amsjv.com
Sat Oct 30 00:01:01 EST 2004


I'm hoping to use Cook in Cygwin for distributed compiles, but I'm having
trouble getting Cook compiled in the first place...
./configure seemed to complete fine, but I'm missing a bunch of file lock
constants.  Here's the make output:

gcc -Ic_incl -Icommon  -g -O2 -c c_incl/cache.c
c_incl/cache.c: In function `flock_shared':
c_incl/cache.c:294: storage size of `p' isn't known
c_incl/cache.c:297: `F_RDLCK' undeclared (first use in this function)
c_incl/cache.c:297: (Each undeclared identifier is reported only once
c_incl/cache.c:297: for each function it appears in.)
c_incl/cache.c:301: `F_SETLKW' undeclared (first use in this function)
c_incl/cache.c: In function `flock_exclusive':
c_incl/cache.c:321: storage size of `p' isn't known
c_incl/cache.c:324: `F_WRLCK' undeclared (first use in this function)
c_incl/cache.c:328: `F_SETLKW' undeclared (first use in this function)
c_incl/cache.c: In function `flock_release':
c_incl/cache.c:348: storage size of `p' isn't known
c_incl/cache.c:351: `F_UNLCK' undeclared (first use in this function)
c_incl/cache.c:355: `F_SETLKW' undeclared (first use in this function)
make: *** [c_incl/cache.o] Error 1


Any advice would be appreciated.  Has anyone got the distributed compiling
working in Cygwin?

Cheers,
Jon

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************



More information about the Cook-users mailing list