[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: weird build problem on hppa



> Bdale told me to try to build it with gcc-3.2 but unfortunately it did
> not fix the problem. If you want to give it a try, all build
> dependencies are installed on paer.
> Could any hppa gurus help me with this ?

I don't see any "field out of range errors" rather I see:

gcc-3.2 -c  -I. -IHandler -I"/usr/include/xercesc" -D_REENTRANT -DDEBIAN
-O2 -g   -DVERSION=\"1.5.2_0\" -DXS_VERSION=\"1.5.2_0\" -fPIC
"-I/usr/lib/perl/5.8.0/CORE"   Xerces.C
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                 from Handler/PerlEntityResolverHandler.i:1,
                 from Xerces.C:513:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/include/c++/3.2/bits/basic_ios.h:41,
                 from /usr/include/c++/3.2/ios:51,
                 from /usr/include/c++/3.2/ostream:45,
                 from /usr/include/c++/3.2/iostream:45,
                 from /usr/include/c++/3.2/backward/iostream.h:32,
                 from Handler/PerlEntityResolverHandler.i:1,
                 from Xerces.C:513:
...

or 

cc -c  -I. -IHandler -I"/usr/include/xercesc" -D_REENTRANT -DDEBIAN -O2
-g   -DVERSION=\"1.5.2_0\" -DXS_VERSION=\"1.5.2_0\" -fPIC
"-I/usr/lib/perl/5.8.0/CORE"   Xerces.C
In file included from /usr/include/g++-v3/bits/basic_ios.h:36,
                 from /usr/include/g++-v3/bits/std_ios.h:46,
                 from /usr/include/g++-v3/bits/std_ostream.h:39,
                 from /usr/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/include/g++-v3/backward/iostream.h:32,
                 from Handler/PerlEntityResolverHandler.i:1,
                 from Xerces.C:513:
/usr/include/g++-v3/bits/locale_facets.h:1478:34: macro "do_open"
requires 7 arguments, but only 2 given
/usr/include/g++-v3/bits/locale_facets.h:1486:28: macro "do_close"
requires 2 arguments, but only 1 given
/usr/include/g++-v3/bits/locale_facets.h:1495:55: macro "do_open"
requires 7 arguments, but only 2 given
In file included from /usr/include/g++-v3/bits/basic_ios.h:36,
                 from /usr/include/g++-v3/bits/std_ios.h:46,
                 from /usr/include/g++-v3/bits/std_ostream.h:39,
                 from /usr/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/include/g++-v3/backward/iostream.h:32,
                 from Handler/PerlEntityResolverHandler.i:1,
                 from Xerces.C:513:
/usr/include/g++-v3/bits/locale_facets.h:1495: `do_open' declared as a
   `virtual' field
/usr/include/g++-v3/bits/locale_facets.h:1495: parse error before
`const'
/usr/include/g++-v3/bits/locale_facets.h:1499: ISO C++ forbids defining
types
   within return type
/usr/include/g++-v3/bits/locale_facets.h:1499: syntax error before `('
token
/usr/include/g++-v3/bits/locale_facets.h:1499: `catalog' was not
declared in
   this scope
...

Using:

Reading specs from /usr/lib/gcc-lib/hppa-linux/3.2.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-objc-gc hppa-linux
Thread model: posix
gcc version 3.2.2 20021202 (Debian prerelease)

Reading specs from /usr/lib/gcc-lib/hppa-linux/3.0.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,objc
--prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared
--with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long
--enable-nls --without-included-gettext --disable-checking
--enable-threads=posix --with-cpp-install-dir=bin --enable-objc-gc
hppa-linux
Thread model: posix
gcc version 3.0.4

Respectively.

===
gcc-3.0        3.0.4-13       The GNU C compiler.
gcc-3.2        3.2.2-0pre0    The GNU C compiler.
binutils       2.13.90.0.14-1 The GNU assembler, linker and binary utilities.
libxerces1     1.5.2-5        Validating XML parser library for C++
libxerces1-dev 1.5.2-5        Validating XML parser library for C++ (development files)
===

Quick glance looks like C++ problems :}

c.



Reply to: