From: | "Reimer, Fred" <Fred(dot)Reimer(at)Eclipsys(dot)com> |
---|---|
To: | "Latha K(dot) Ramaswamy" <latha(at)sscsi(dot)com> |
Cc: | pgsql-ports(at)postgresql(dot)org |
Subject: | RE: Postgresql 7.0.3 - compilation failure. Need help. |
Date: | 2001-02-05 18:44:04 |
Message-ID: | B34839947C5FD2118D9100A0C9D5DE4305448755@atl-nt-ex1.eclipsnet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
va_list is declared in stdarg.h on Solaris 2.7, and is probably on Solaris
2.8 also. For a "quick fix" try #including that at the top of the two files
that fail. The "real" fix would be to fix configure so that it properly
detects where va_list is declared, or put the appropriate #if statements in
the source files...
HTH,
Fred Reimer
Eclipsys Corporation
-----Original Message-----
From: pgsql-ports-owner(at)postgresql(dot)org
[mailto:pgsql-ports-owner(at)postgresql(dot)org]On Behalf Of Latha K. Ramaswamy
Sent: Thursday, February 01, 2001 2:50 PM
To: pgsql-ports(at)postgresql(dot)org
Subject: [PORTS] Postgresql 7.0.3 - compilation failure. Need help.
My name : Latha Ramaswamy
My email address : : latha(at)sscsi(dot)com
<mailto:latha(at)sscsi(dot)com>
System Configuration
---------------------
Architecture (example: Intel Pentium) : Sparc
Operating System (example: Linux 2.0.26 ELF) : SunOS 5.8 (Solaris 8)
PostgreSQL version (example: PostgreSQL-6.5.2): PostgreSQL-7.0.3
Compiler used (example: gcc 2.8.0) : gcc 2.95.2
Postgres failed to compile on my system with or without any configuration
options.
'gmake' died with this error message every time I tried to compile:
gmake[2]: Entering directory
`/home/packages/src/postgresql-7.0.3/src/backend/lib'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I..
-c stringinfo.c -o stringinfo.o
stringinfo.c: In function `appendStringInfo':
stringinfo.c:115: `va_list' undeclared (first use in this function)
stringinfo.c:115: (Each undeclared identifier is reported only once
stringinfo.c:115: for each function it appears in.)
stringinfo.c:115: parse error before `args'
stringinfo.c:121: warning: implicit declaration of function `va_start'
stringinfo.c:121: `args' undeclared (first use in this function)
stringinfo.c:123: warning: implicit declaration of function `va_end'
gmake[2]: *** [stringinfo.o] Error 1
gmake[2]: Leaving directory
`/home/packages/src/postgresql-6.5.2/src/backend/lib'
gmake[1]: *** [lib.dir] Error 2
gmake[1]: Leaving directory
`/home/packages/src/postgresql-6.5.2/src/backend'
gmake: *** [all] Error 2
../backend/nodes/list.c also had the same error with 'va-list' being
undeclared.
Thanks,
Latha.
From | Date | Subject | |
---|---|---|---|
Next Message | JJAR | 2001-02-05 18:49:41 | RE: postgresql-7.0.3 + cygwin won't compile |
Previous Message | Jason Tishler | 2001-02-05 17:53:47 | Re: (Cygwin) postmaster shutdown problem |