From: Avram Dorfman (firstname.lastname@example.org)
Date: Thu Dec 05 2002 - 13:27:44 PST
Hello, I'm running into a few problems trying to build on solaris 2.6 w/ gcc 3.03...
1) The first I've seen in the list archives, with a fix - but the fix isn't working for me:
checking whether byte ordering is bigendian... configure: error: can not run test program while cross compiling
Someone posted a patch for configure which is supposed to fix this; it adds "#include <arpa/nameser_compat.h>" in two places. I still get the same error message.
In desperation, I hacked configure so that particular condition pretends it's not a cross-compiler. As a result...
3) configure succeeds, however along the way, it mentions that endian type is "unknown", and..
4) make gets hunderds of errors which look suspiciously like the compiler is simply being run wrong:
c++ -c -g -O2 -I../include Arts.cc -o Arts.o
In file included from ../include/ArtsAttributeVector.hh:48,
../include/ArtsAttribute.hh:294: ISO C++ forbids declaration of `string' with
../include/ArtsAttribute.hh:294: parse error before `(' token
../include/ArtsAttribute.hh:368: ISO C++ forbids declaration of `string' with
../include/ArtsAttribute.hh:368: declaration of `const int
Can anyone help me out?
Cflowd mailing list
This archive was generated by hypermail 2.1.4 : Thu Dec 05 2002 - 13:41:07 PST