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
My name : Latha Ramaswamy
My email address : : latha@sscsi.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.