Cygwin gcc 3.0.4 build errors

Pete Barrie peter@cis.strath.ac.uk
Fri Mar 8 16:41:00 GMT 2002


I'm trying to compile 3.0.4 native
on latest Cygwin, which is apparently possible.

I get errors below. Any ideas appreciated.
I couldn't find any resolution to the problem on
any of the groups/web search.
Thanks
Pete

/src/gcc/gcc-3.0.4/configure --prefix=/usr    ***this is OK
make bootstrap                                        *** eventually FAILS 
as below...
8<...............


/src/gcc/gcc-3.0.4/libobjc/thr.c -o thr.o
./libtool --mode=compile /tmp/build/gcc3.0.4/gcc/xgcc 
-B/tmp/build/gcc3.0.4/gcc/
  -B/usr/i686-pc-cygwin/bin/ -B/usr/i686-pc-cygwin/lib/ -isystem 
/usr/i686-pc-cyg
win/include -c -I. -I/src/gcc/gcc-3.0.4/libobjc   -g -O2 
-DHAVE_GTHR_DEFAULT -DI
N_GCC -DIN_TARGET_LIBS 
-I/src/gcc/gcc-3.0.4/libobjc/objc  -I/src/gcc/gcc-3.0.4/l
ibobjc/../gcc -I/src/gcc/gcc-3.0.4/libobjc/../gcc/config -I../../gcc 
-I/src/gcc/
gcc-3.0.4/libobjc/../include /src/gcc/gcc-3.0.4/libobjc/thr-objc.c
/tmp/build/gcc3.0.4/gcc/xgcc -B/tmp/build/gcc3.0.4/gcc/ 
-B/usr/i686-pc-cygwin/bi
n/ -B/usr/i686-pc-cygwin/lib/ -isystem /usr/i686-pc-cygwin/include -c -I. 
-I/src
/gcc/gcc-3.0.4/libobjc -g -O2 -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS 
-I/s
rc/gcc/gcc-3.0.4/libobjc/objc -I/src/gcc/gcc-3.0.4/libobjc/../gcc 
-I/src/gcc/gcc
-3.0.4/libobjc/../gcc/config -I../../gcc 
-I/src/gcc/gcc-3.0.4/libobjc/../include
  /src/gcc/gcc-3.0.4/libobjc/thr-objc.c -o thr-objc.o
In file included from /usr/include/w32api/windows.h:101,
                  from /src/gcc/gcc-3.0.4/gcc/gthr-win32.h:67,
                  from ../../gcc/gthr-default.h:1,
                  from /src/gcc/gcc-3.0.4/gcc/gthr.h:98,
                  from /src/gcc/gcc-3.0.4/libobjc/thr-objc.c:31:
/usr/include/w32api/windef.h:131: conflicting types for `BOOL'
/src/gcc/gcc-3.0.4/libobjc/objc/objc.h:42: previous declaration of `BOOL'
make[2]: *** [thr-objc.lo] Error 1
make[2]: Leaving directory `/tmp/build/gcc3.0.4/i686-pc-cygwin/libobjc'
make[1]: *** [all-target-libobjc] Error 2
make[1]: Leaving directory `/tmp/build/gcc3.0.4'
make: *** [bootstrap] Error 2
bash.exe-2.05a$



More information about the Gcc-help mailing list