From: Nick L. <nd...@ra...> - 2013-06-06 10:31:53
|
I've had this failure on 2 different machines: Win7 with up-to-date Cygwin, and XP with Cygwin a couple of years old. pthreads_win32.h says: #ifndef _SIGSET_T typedef int sigset_t; #endif types.h says: #ifndef _SIGSET_T_ #define _SIGSET_T_ typedef int _sigset_t; Is it supposed to be possible to build on Windows or is magick required? Thanks. - nick //entering make-target-1.sh //building runtime system and symbol table file make: Entering directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime' rm -f *.[do] sbcl.exe sbcl.nm sbcl.h core *.tmp make: Leaving directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime' make: Entering directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime' echo '#include "genesis/config.h"' >sbcl.h echo '#include "genesis/constants.h"' >>sbcl.h make: Leaving directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime' make: Entering directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime' gcc -g -Wall -O3 -fno-omit-frame-pointer -march=i686 -DWINVER=0x0501 -D__W32API_USE_DLLIMPORT__ -mno-cygwin -I. -DSBCL_PREFIX=\"'C:\Program Files (x86)/sbcl'\" -c -o alloc.o alloc.c In file included from runtime.h:19, from alloc.c:21: pthreads_win32.h:9: error: redefinition of typedef 'sigset_t' /usr/i686-pc-mingw32/sys-root/mingw/include/sys/types.h:109: error: previous declaration of 'sigset_t' was here pthreads_win32.h:338: warning: alignment of 'DEAD_MUTEX' is greater than maximum object file alignment. Using 16 <builtin>: recipe for target `alloc.o' failed make: *** [alloc.o] Error 1 make: Leaving directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime' |