RE: Postgresql 7.0.3 - compilation failure. Need help.

Поиск
Список
Период
Сортировка
От Reimer, Fred
Тема RE: Postgresql 7.0.3 - compilation failure. Need help.
Дата
Msg-id B34839947C5FD2118D9100A0C9D5DE4305448755@atl-nt-ex1.eclipsnet.com
обсуждение исходный текст
Ответ на Postgresql 7.0.3 - compilation failure. Need help.  ("Latha K. Ramaswamy" <latha@tmsassociates.com>)
Список 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@postgresql.org [mailto:pgsql-ports-owner@postgresql.org]On Behalf Of Latha K. Ramaswamy
Sent: Thursday, February 01, 2001 2:50 PM
To: pgsql-ports@postgresql.org
Subject: [PORTS] Postgresql 7.0.3 - compilation failure. Need help.

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 по дате отправления:

Предыдущее
От: "Eduardo Stern"
Дата:
Сообщение: Re: IpcMemoryDetach fails under Cygwin on Win98
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: IpcMemoryDetach fails under Cygwin on Win98