Here's what i've done:

1. downloaded & installed cygwin
2. extracted files (with tar)
3. built plib
4. built metakit-2.4.3 --without-tcl

   compiled after changes in src/string.cpp:39 
   -#if !q4_MSVC && !q4_WATC
   +#if !q4_MSVC && !q4_WATC && !__CYGWIN__

5. tried to compile SimGear-0.2.0 (website version)
   ./configure worked fine

make returned:

make[3]: Entering directory `/cygdrive/f/Dev/Projects/fg/SimGear-0.2.0/simgear/bucket'
source='newbucket.cxx' object='newbucket.o' libtool=no \
depfile='.deps/newbucket.Po' tmpdepfile='.deps/newbucket.TPo' \
depmode=gcc3 /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..  -I/usr/local/include  -g -O2 
-D_REENTRANT -c -o
 newbucket.o `test -f newbucket.cxx || echo './'`newbucket.cxx
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory
In file included from /usr/include/c++/3.2/bits/locale_facets.tcc:43,
                 from /usr/include/c++/3.2/locale:46,
                 from /usr/include/c++/3.2/bits/ostream.tcc:37,
                 from /usr/include/c++/3.2/ostream:275,
                 from /usr/include/c++/3.2/iostream:45,
                 from newbucket.hxx:44,
                 from newbucket.cxx:31:
/usr/include/c++/3.2/limits:942:22: macro "min" requires 2 arguments, but only 1 given
In file included from /usr/include/c++/3.2/bits/locale_facets.tcc:43,
                 from /usr/include/c++/3.2/locale:46,
                 from /usr/include/c++/3.2/bits/ostream.tcc:37,
                 from /usr/include/c++/3.2/ostream:275,
                 from /usr/include/c++/3.2/iostream:45,
                 from newbucket.hxx:44,
                 from newbucket.cxx:31:
/usr/include/c++/3.2/limits:942: parse error before `throw'
/usr/include/c++/3.2/limits:943:22: macro "max" requires 2 arguments, but only 1 given
/usr/include/c++/3.2/limits:943: ISO C++ forbids defining types within return
   type
/usr/include/c++/3.2/limits:943: syntax error before `throw'
/usr/include/c++/3.2/limits:943: syntax error before `throw'
/usr/include/c++/3.2/limits:944: syntax error before `(' token
/usr/include/c++/3.2/limits:945: syntax error before `(' token
/usr/include/c++/3.2/limits:946: syntax error before `(' token
/usr/include/c++/3.2/limits:947: syntax error before `(' token
/usr/include/c++/3.2/limits:948: syntax error before `(' token
/usr/include/c++/3.2/limits:949: syntax error before `(' token
/usr/include/c++/3.2/limits:956: `numeric_limits' is not a template
/usr/include/c++/3.2/limits:957: confused by earlier errors, bailing out
make[3]: *** [newbucket.o] Error 1
make[3]: Leaving directory `/cygdrive/f/Dev/Projects/fg/SimGear-0.2.0/simgear/bucket'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/f/Dev/Projects/fg/SimGear-0.2.0/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/f/Dev/Projects/fg/SimGear-0.2.0/simgear'
make: *** [all-recursive] Error 1


Versions:

bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-2/configure --enable-languages=c,c++,f77,java 
--enable-libgcj -
-enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext 
--enable-interprete
r --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared 
--build=i686-pc-
linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr 
--exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include 
--libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)

bash-2.05b$ perl -v
This is perl, v5.6.1 built for cygwin-multi


I've also tried the cvs version (stable) of SimGear which gave me the
same error(s). Looks to me like a broken gcc/library.

Has anyone managed to compile 0.2.0 on cygwin/gcc3.2-2?

TIA
Patrick Staehlin

-- 
Patrick Staehlin <[EMAIL PROTECTED]>


_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users

Reply via email to