Skip site navigation (1) Skip section navigation (2)

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
Cc: scrappy(at)hub(dot)org, lockhart(at)alumni(dot)caltech(dot)edu
Subject: HPUX 10.20 HP CC build failure
Date: 2000-12-19 01:25:10
Message-ID: 3A3EB8F6.2B064F15@szdhd.sz.lucent.com (view raw or flat)
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

pgsql-ports by date

Next:From: Fred LinDate: 2000-12-19 02:18:46
Subject: HPUX 10.20 HP CC build failure
Previous:From: Lamar OwenDate: 2000-12-15 20:57:39
Subject: Re: RPM changes for 7.1.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group