[gambit-list] Compiling Gambit 40b14 on Cygwin

Jens Axel Søgaard jensaxel at soegaard.net
Mon Jul 18 19:00:46 EDT 2005


I ran into problems compiling Gambit40b14 on Cygwin.
The problem is similar the Lucier's on MacOS.

./configure --enable-single-host
[omitted]

js at js-dell ~/gambit/gambc40b14
$ make
making all in include
make[1]: Entering directory `/home/js/gambit/gambc40b14/include'
make[1]: Leaving directory `/home/js/gambit/gambc40b14/include'
making all in lib
make[1]: Entering directory `/home/js/gambit/gambc40b14/lib'
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c main.c
main.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c setup.c
setup.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c mem.c
mem.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c c_intf.c
c_intf.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os.c
os.c:1: warning: -fPIC ignored for target (all code is position independent)
os.c: In function `___os_host_info':
os.c:317: warning: passing arg 1 of `___CHARSTRING_to_SCMOBJ' discards 
qualifiers from pointer target type
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_base.c
os_base.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_time.c
os_time.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_shell.c
os_shell.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_files.c
os_files.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_dyn.c
os_dyn.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_tty.c
os_tty.c:1: warning: -fPIC ignored for target (all code is position 
independent)
gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno 
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H 
-D___PRIMAL -D___LIBRARY -D___GAMBCDIR=\"/usr/l
ocal/Gambit-C\" -c os_io.c
os_io.c:1: warning: -fPIC ignored for target (all code is position 
independent)
os_io.c:2944:1: warning: "TCP_NODELAY" redefined
In file included from /usr/include/sys/socket.h:15,
                  from os.h:137,
                  from os_base.h:8,
                  from os_io.c:14:
/usr/include/cygwin/socket.h:166:1: warning: this is the location of the 
previous definition
os_io.c: In function `open_full_duplex_pipe2':
os_io.c:4765: error: `TIOCSCTTY' undeclared (first use in this function)
os_io.c:4765: error: (Each undeclared identifier is reported only once
os_io.c:4765: error: for each function it appears in.)
make[1]: *** [os_io.o] Error 1
make[1]: Leaving directory `/home/js/gambit/gambc40b14/lib'
make: *** [all-recursive] Error 1


-- 
Jens Axel Søgaard




More information about the Gambit-list mailing list