I'm trying to build chicken 2.2 with mingw and am having a small
problem. It looks like it is trying to build posix.c and is having some
difficulty. Should posix.c even be built on windows? Any suggestions
would be appreciated.
Prior to this error there was an error building tcp.c. Swapping the following two lines fixed that one.
// # include <winsock2.h>
It looks like I may have a configuration variable out of wack.
make: Entering directory `/home/brannp01/chicken-2.2'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
BCHICKEN -Os -fno-strict-aliasing -Wall -Wno-unused
-Wno-uninitialized -c -o
bchicken_la-posix.lo `test -f 'posix.c' || echo './'`posix.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1
E_C_DEFAULTS -DC_NO_PIC_NO_DLL -DC_BUILDING_LIBCHICKEN -Os
-Wall -Wno-unused -Wno-uninitialized -c posix.c -DDLL_EXPORT
posix.c:21:22: sys/wait.h: No such file or directory
posix.c:22:25: sys/utsname.h: No such file or directory
posix.c:26:17: pwd.h: No such file or directory
posix.c:36:22: sys/mman.h: No such file or directory
posix.c:90: error: syntax error before "C_fd_sets"
posix.c:90: warning: type defaults to `int' in declaration of `C_fd_sets'
posix.c:90: warning: data definition has no type or storage class
posix.c:273: error: syntax error before '*' token
posix.c:273: warning: type defaults to `int' in declaration of `C_groups'
posix.c:273: warning: data definition has no type or storage class
posix.c: In function `stub975':
posix.c:293: warning: implicit declaration of function `chroot'
posix.c: In function `stub826':
posix.c:302: error: `fd_set' undeclared (first use in this function)
posix.c:302: error: (Each undeclared identifier is reported only once
posix.c:302: error: for each function it appears in.)
posix.c:302: error: syntax error before "in"