Compilation Error AIX

From: "Hiltibidal, Robert" <Robert(dot)Hiltibidal(at)argushealth(dot)com>
To: "Ezequias Rodrigues da Rocha" <ezequias(dot)rocha(at)gmail(dot)com>, "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
Cc: "Joe" <dev(at)freedomcircle(dot)net>, "Andrew Sullivan" <ajs(at)crankycanuck(dot)ca>, pgsql-sql(at)postgresql(dot)org
Subject: Compilation Error AIX
Date: 2007-02-01 15:33:59
Message-ID: A6C93EF9812C8346A8E8BD6AE573E52D055B9707@ARG-EXVS01.corp.argushealth.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

I am getting this error

make -C port all

make[3]: Entering directory
`/db2/logs/downloads/postgres/postgresql-8.2.1/src/backend/port'

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-I../../../src/include -c -o dynloader.o dynloader.c

In file included from /usr/include/xcoff.h:134,

from /usr/include/a.out.h:42,

from dynloader.c:10:

/usr/local/include/dbug.h:38: error: syntax error before '_VARARGS'

make[3]: *** [dynloader.o] Error 1

make[3]: Leaving directory
`/db2/logs/downloads/postgres/postgresql-8.2.1/src/backend/port'

make[2]: *** [port-recursive] Error 2

make[2]: Leaving directory
`/db2/logs/downloads/postgres/postgresql-8.2.1/src/backend'

make[1]: *** [all] Error 2

make[1]: Leaving directory
`/db2/logs/downloads/postgres/postgresql-8.2.1/src'

make: *** [all] Error 2

I found this reference on the IBM web site. The article says:

"GNU C Compiler (GCC) returns an error message if you try to #include
varargs.h. Use stdarg.h instead."

http://www-128.ibm.com/developerworks/eserver/articles/linux_s390/

Any ideas?

Thanks!

-Rob

PRIVILEGED AND CONFIDENTIAL
This email transmission contains privileged and confidential information intended only for the use of the individual or entity named above. If the reader of the email is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination or copying of this email transmission is strictly prohibited by the sender. If you have received this transmission in error, please delete the email and immediately notify the sender via the email return address or mailto:postmaster(at)argushealth(dot)com(dot) Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-02-01 15:43:20 Re: Time Input with format HH.MM.SS
Previous Message A. Kretschmer 2007-02-01 15:13:28 Re: Time Input with format HH.MM.SS

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2007-02-01 15:48:34 Re: Compilation Error AIX
Previous Message Hiltibidal, Robert 2007-02-01 15:10:55 Compilation errors