From: | jay(at)projects(dot)cac(dot)psu(dot)edu |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | AIX 4.2 43p compile problem... |
Date: | 1999-06-02 13:12:50 |
Message-ID: | 199906021312.JAA39630@projects.cac.psu.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : D. Jay Newman
Your email address : jay(at)sprucegrove(dot)com
System Configuration
---------------------
Architecture (example: Intel Pentium) : PowerPC
Operating System (example: Linux 2.0.26 ELF) : AIX 4.2 (43p)
PostgreSQL version (example: PostgreSQL-6.5) : PostgreSQL-6.5
Compiler used (example: gcc 2.8.0) : xlc
Please enter a FULL description of your problem:
------------------------------------------------
Because stdio.h, stdlib.h, and unistd.h are all included there are
conflicts (getopt.h is defined slightly differently, as are a few
other functions).
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
cd /usr/local/src/pgsql
gmake all
....
gmake[1]: Entering directory `/usr/local/src/pgsql/src/utils'
xlc -I../include -I../backend -qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -
qcheck=divzero -qlonglong -c version.c -o version.o
"/usr/include/stdlib.h", line 471.33: 1506-343 (S) Redeclaration of getopt diffe
rs from previous declaration on line 378 of "/usr/include/stdio.h".
"/usr/include/stdlib.h", line 471.33: 1506-377 (I) The type "char**" of paramete
r 2 differs from the previous type "char* const*".
"/usr/include/stdlib.h", line 472.33: 1506-343 (S) Redeclaration of getpass diff
ers from previous declaration on line 367 of "/usr/include/unistd.h".
"/usr/include/stdlib.h", line 472.33: 1506-377 (I) The type "char*" of parameter
1 differs from the previous type "const char*".
gmake[1]: *** [version.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/pgsql/src/utils'
gmake: *** [all] Error 2
If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
Limiting the included files?
From | Date | Subject | |
---|---|---|---|
Next Message | Unprivileged user | 1999-06-02 13:14:14 | Port Bug Report: Wrong binding of arithmetic operator ^. |
Previous Message | Herouth Maoz | 1999-06-02 11:53:14 | Backend dies suddenly |