HPUX 10.20 HP CC build failure

From: Fred Lin <fredlin(at)szdhd(dot)sz(dot)lucent(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: HPUX 10.20 HP CC build failure
Date: 2000-12-19 02:18:46
Message-ID: 3A3EC586.F8F0A689@szdhd.sz.lucent.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-ports by date

  From Date Subject
Next Message Ryan Kirkpatrick 2000-12-20 04:08:00 PostgreSQL pre-7.1 Linux/Alpha Status...
Previous Message Fred Lin 2000-12-19 01:25:10 HPUX 10.20 HP CC build failure