pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Compilation Error AIX
3+ messages / 3 participants
[nested] [flat]

* Compilation Error AIX
@ 2007-02-01 15:33 Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>
  2007-02-01 15:48 ` Re: Compilation Error AIX Andrew Sullivan <ajs@crankycanuck.ca>
  2007-02-06 14:07 ` Re: Compilation Error AIX Alvaro Herrera <alvherre@commandprompt.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Hiltibidal, Robert @ 2007-02-01 15:33 UTC (permalink / raw)
  To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>; Shoaib Mir <shoaibmir@gmail.com>; +Cc: Joe <dev@freedomcircle.net>; Andrew Sullivan <ajs@crankycanuck.ca>; 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@argushealth.com.  Thank you.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Compilation Error AIX
  2007-02-01 15:33 Compilation Error AIX Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>
@ 2007-02-01 15:48 ` Andrew Sullivan <ajs@crankycanuck.ca>
  1 sibling, 0 replies; 3+ messages in thread

From: Andrew Sullivan @ 2007-02-01 15:48 UTC (permalink / raw)
  To: Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>; pgsql-sql; +Cc: pgsql-general@postgresql.org

On Thu, Feb 01, 2007 at 09:33:59AM -0600, Hiltibidal, Robert wrote:
> 
> I am getting this error

You really need to take questions about compiling to the -general
list.  I've put a Reply-To to that list, and have moved this
discussion there.  Also, it's really not a good idea to send emails
to individuals whose addresses you've pulled from the lists.

To begin with, what gcc version are you using?

Also, I see you're using the IBM "make".  Don't do that.  You need to
use gmake.  This instruction is in the documentation.  I think you
really need to read the docs.

Regards,
A

> 
> 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@argushealth.com.  Thank you.
> 
> 
> 

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what 
you told them to.  That actually seems sort of quaint now.
		--J.D. Baldwin



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Compilation Error AIX
  2007-02-01 15:33 Compilation Error AIX Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>
@ 2007-02-06 14:07 ` Alvaro Herrera <alvherre@commandprompt.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2007-02-06 14:07 UTC (permalink / raw)
  To: Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>; +Cc: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>; Shoaib Mir <shoaibmir@gmail.com>; Joe <dev@freedomcircle.net>; Andrew Sullivan <ajs@crankycanuck.ca>; pgsql-sql

Hiltibidal, Robert wrote:

> I am getting this error

I thought you were supposed to post in pgsql-general ...

> 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

Where does the src/backend/port/dynloader.c symlink point to?
What AIX version is this?  GCC version?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-02-06 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 15:33 Compilation Error AIX Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>
2007-02-01 15:48 ` Andrew Sullivan <ajs@crankycanuck.ca>
2007-02-06 14:07 ` Alvaro Herrera <alvherre@commandprompt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox