Bug #490: Can't compile PostgreSQL 7.1.3 with Solaris 2.6 - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #490: Can't compile PostgreSQL 7.1.3 with Solaris 2.6
Date
Msg-id 200110230847.f9N8lVo53092@postgresql.org
Whole thread Raw
Responses Re: Bug #490: Can't compile PostgreSQL 7.1.3 with Solaris 2.6  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Holger Mittewald (hrmitter@lsd.franken.de) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Can't compile PostgreSQL 7.1.3 with Solaris 2.6

Long Description
Trying to compile postgresql under solaris 2.6 configure stops claiming about an unknown symbol "optreset". I wasn't
ableto fix the problem. 

Sample Code
The last lines of config.log:

[..]
configure:7459: checking for optreset
configure:7471: gcc -o conftest      conftest.c -lposix4 -lz -lresolv -lgen -lns
l -lsocket -ldl -lm -lreadline -ltermcap  1>&5
Undefined                       first referenced
 symbol                             in file
optreset                            /var/tmp/ccSZ2P6u.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7464 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
configure:7497: checking test program
configure:7506: gcc -o conftest      conftest.c -lposix4 -lz -lresolv -lgen -lns
l -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure: failed program was:
#line 7502 "configure"
#include "confdefs.h"
int main() { return 0; }


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #489: pg_dump places GRANT queries before CREATE VIEW
Next
From: "SunMie Won"
Date:
Subject: Re: library path