RE: HP-UX 11 + GCC + --with-CXX = pain

From: "Louis Bertrand" <louis(dot)bertrand(at)datawire(dot)net>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: RE: HP-UX 11 + GCC + --with-CXX = pain
Date: 2001-05-12 21:40:28
Message-ID: IHEHJDMEFKBJOCNNCPPLMEOFCAAA.louis.bertrand@datawire.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)bertrand(at)datawire(dot)net

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

"Louis Bertrand" <louis(dot)bertrand(at)datawire(dot)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(at)postgresql(dot)org)

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Louis Bertrand 2001-05-12 22:27:42 Re: HP-UX 11 + GCC + --with-CXX = pain
Previous Message Tom Lane 2001-05-11 15:40:11 Re: HP-UX 11 + GCC + --with-CXX = pain