HPUX 10.20 HP CC build failure - Mailing list pgsql-ports

From Fred Lin
Subject HPUX 10.20 HP CC build failure
Date
Msg-id 3A3EB8F6.2B064F15@szdhd.sz.lucent.com
Whole thread Raw
List pgsql-ports
This question may have been asked. But sorry I didn't find the fix in the
mail list. Can anyone help me again? Thanks.

I'm trying to port postgresql-7.0.3 to HP-UX 10.20, but failed in
compiling the first module.


The error is as below:

gmake -C utils all
gmake[1]: Entering directory
`/tmp_mnt/home/fredlin/sim/postgresql-7.0.3/src/utils'
cc -I../include -I../backend   -Wl,-E -Ae   hpux -c -o version.o
version.c
cc: "/usr/include/stdio.h", line 132: error 1711: Inconsistent parameter
list declaration for "rename".
cc: "/usr/include/stdio.h", line 379: error 1711: Inconsistent parameter
list declaration for "getopt".
cc: "/usr/include/stdlib.h", line 203: error 1711: Inconsistent parameter
list declaration for "getopt".
cc: "/usr/include/stdlib.h", line 204: error 1711: Inconsistent parameter
list declaration for "getpass".
gmake[1]: *** [version.o] Error 1
gmake[1]: Leaving directory
`/tmp_mnt/home/fredlin/sim/postgresql-7.0.3/src/utils'
gmake: *** [all] Error 2


The environment is:

szdhd:/home/fredlin/sim/postgresql-7.0.3/src/include/utils> uname -a
HP-UX szdhd B.10.20 U 9000/800 867347401 unlimited-user license
szdhd:/home/fredlin/sim/postgresql-7.0.3/src/include/utils> type cc
cc is a tracked alias for /opt/ansic/bin/cc


Best regards,

Fred Lin

pgsql-ports by date:

Previous
From: Fred Lin
Date:
Subject: HPUX 10.20 HP CC build failure
Next
From: Ryan Kirkpatrick
Date:
Subject: PostgreSQL pre-7.1 Linux/Alpha Status...