Bug #490: Can't compile PostgreSQL 7.1.3 with Solaris 2.6

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #490: Can't compile PostgreSQL 7.1.3 with Solaris 2.6
Date: 2001-10-23 08:47:31
Message-ID: 200110230847.f9N8lVo53092@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Holger Mittewald (hrmitter(at)lsd(dot)franken(dot)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 able to 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Chidambaranathan Alagar 2001-10-23 11:33:33 Pls send the details.
Previous Message Wiktor Rzeczkowski 2001-10-23 01:43:32 intersect bug