Postgresql 7.0.3 - compilation failure. Need help. - Mailing list pgsql-ports

From Latha K. Ramaswamy
Subject Postgresql 7.0.3 - compilation failure. Need help.
Date
Msg-id 001401c08c88$1bb595e0$6501a8c0@wb18580s
Whole thread Raw
Responses Re: Postgresql 7.0.3 - compilation failure. Need help.
List pgsql-ports
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.

pgsql-ports by date:

Previous
From: Jamie Walker
Date:
Subject: IpcMemoryDetach fails under Cygwin on Win98
Next
From: Yaroslav Ozhybko
Date:
Subject: FAQ_SCO