I'm trying to compile gcc c/c++ for HP 11.11

configure was executed with the following 

./configure --prefix=/tech/techapp/tools --enable-threads=posix
--enable-languages=c,c++

Running make produces the following error:

/bin/sh ../libtool --tag CXX --mode=compile
/tech/techapp/tmp/gcc-4.1.1/host-hppa2.0w-hp-hpux11.11/gcc/xgcc -shared-libgcc
-B/tech/techapp/tmp/gcc-4.1.1/host-hppa2.0w-hp-hpux11.11/gcc -nostdinc++
-L/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/tech/techapp/tools/hppa2.0w-hp-hpux11.11/bin/
-B/tech/techapp/tools/hppa2.0w-hp-hpux11.11/lib/ -isystem
/tech/techapp/tools/hppa2.0w-hp-hpux11.11/include -isystem
/tech/techapp/tools/hppa2.0w-hp-hpux11.11/sys-include 
-I/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/tech/techapp/tmp/gcc-4.1.1/libstdc++-v3/libsupc++  -g -O2 
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual 
-fdiagnostics-show-location=once    -c -o complex_io.lo
../../.././libstdc++-v3/src/complex_io.cc
/tech/techapp/tmp/gcc-4.1.1/host-hppa2.0w-hp-hpux11.11/gcc/xgcc -shared-libgcc
-B/tech/techapp/tmp/gcc-4.1.1/host-hppa2.0w-hp-hpux11.11/gcc -nostdinc++
-L/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/tech/techapp/tools/hppa2.0w-hp-hpux11.11/bin/
-B/tech/techapp/tools/hppa2.0w-hp-hpux11.11/lib/ -isystem
/tech/techapp/tools/hppa2.0w-hp-hpux11.11/include -isystem
/tech/techapp/tools/hppa2.0w-hp-hpux11.11/sys-include
-I/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/tech/techapp/tmp/gcc-4.1.1/libstdc++-v3/libsupc++ -g -O2
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -c ../../.././libstdc++-v3/src/complex_io.cc 
-fPIC -DPIC -o .libs/complex_io.o
/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:
In function 'double std::pow(double, int)':
/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cmath:353:
error: 'double std::pow(double, int)' conflicts with previous using declaration
'double pow(double, int)'
/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cstdlib:
At global scope:
/tech/techapp/tmp/gcc-4.1.1/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/cstdlib:109:
error: 'abs' is already declared in this scope

Any thoughts?

Let me know what else is needed to resolve issue.


-- 
           Summary: libstdc++-v3 compile error - conflicts with previous
                    using declaration
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brian dot toal at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30264

Reply via email to