RE: HP-UX 11 + GCC + --with-CXX = pain - Mailing list pgsql-ports

From Louis Bertrand
Subject RE: HP-UX 11 + GCC + --with-CXX = pain
Date
Msg-id IHEHJDMEFKBJOCNNCPPLMEOFCAAA.louis.bertrand@datawire.net
Whole thread Raw
In response to Re: HP-UX 11 + GCC + --with-CXX = pain  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-ports
Tom,

Easier said than done. Building GCC from the GNU distribution
on HP-UX 11.00 errors out with a weird message. I suspect GCC
on HP-UX 11.00 isn't quite stable yet.
I will try again with the official HP ANSI C++ compiler, as
soon as I can get a hold of my HP rep.

cc -c  -DIN_GCC   -g     -I. -I.. -I/usr/ports/gcc-2.95.3/gcc/ch -I/usr/port
s/gcc-2.95.3/gcc/ch/.. -I/usr/ports/gcc-2.95.3/gcc/ch/../config -I/usr/ports
/gcc-2.95.3/gcc/ch/../../include /usr/ports/gcc-2.95.3/gcc/ch/decl.c
cc: "/usr/ports/gcc-2.95.3/gcc/ch/decl.c", line 1808: warning 604: Pointers
are not assignment-compatible.
cc: "/usr/ports/gcc-2.95.3/gcc/ch/decl.c", line 1808: warning 563: Argument
#4 is not the correct type.
cc: "/usr/ports/gcc-2.95.3/gcc/ch/decl.c", line 4447: error 1711:
Inconsistent parameter list declaration for "start_struct".
gmake[2]: *** [decl.o] Error 1
gmake[2]: Leaving directory `/usr/ports/gcc-2.95.3/obj/gcc/ch'
gmake[1]: *** [cc1chill] Error 2
gmake[1]: Leaving directory `/usr/ports/gcc-2.95.3/obj/gcc'
gmake: *** [all-gcc] Error 2

Thanks
 --Louis
--
Louis Bertrand
Datawire Communication Networks Inc. http://www.datawire.net/

(416) 989-7250 Cell
(416) 798-2226 x 165 (Office)
louis.bertrand@datawire.net


-----Original Message-----
From: pgsql-ports-owner@postgresql.org
[mailto:pgsql-ports-owner@postgresql.org]On Behalf Of Tom Lane
Sent: Friday, May 11, 2001 11:40 AM
To: Louis Bertrand
Cc: pgsql-ports@postgresql.org
Subject: Re: [PORTS] HP-UX 11 + GCC + --with-CXX = pain


"Louis Bertrand" <louis.bertrand@datawire.net> writes:
> For some reason, I can't seem to find the STL header for the
> string class. I'm not sure it's installed correctly so I will
> check with HP in the morning...

Looks to me like gcc can't find it either.

On my HPUX 10.20 installation of gcc 2.95.3, <string> is installed as
    /usr/local/include/g++-3/string
and this directory is searched automatically by g++.  However, I built
and installed gcc from source.  My guess is that something is bollixed
up in your gcc installation.  The Porting Archive folks tend to like to
rearrange the directory setup of packages they port (they want
everything under /opt instead of /usr/local), and I suspect they missed
a needed change somewhere in the gcc 2.95.3 distribution.

            regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



pgsql-ports by date:

Previous
From: "Louis Bertrand"
Date:
Subject: Re: HP-UX 11 + GCC + --with-CXX = pain
Next
From: s0lao@netscape.net (S. L.)
Date:
Subject: Re: cygwin + postgres 7.1 + tcl support