Problem compiling postgresql 7.3b2

From: Pierre <pierre(at)epinetworx(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Problem compiling postgresql 7.3b2
Date: 2002-10-06 20:56:17
Message-ID: 20021006225617.I557@pierre.massena.epinetworx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

I try to compile postgresql-7.3b2 on my GNU/Linux system with gcc-3.2
There was no problem with the configure but for the make i got this :

[...]
gmake[3]: Leaving directory `/tmp/postgresql-7.3b2/src/backend/utils'
gcc -O3 -march=i686 -Wall -Wmissing-prototypes -Wmissing-declarations
-L/usr/local/ssl/lib -Wl,-rpath,/usr/local/pgsql/lib -export-dynamic
access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o
commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o
postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o
tcop/SUBSYS.o utils/SUBSYS.o -lpam -lssl -lcrypto -lkrb5 -lz -lreadline
-ltermcap -lbind -lcrypt -lresolv -lnsl -ldl -lm -o postgres
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbind.a(irs_data.o):
In function `__net_data_init':
irs_data.o(.text+0x1ab): undefined reference to `pthread_getspecific'
irs_data.o(.text+0x1de): undefined reference to `pthread_setspecific'
irs_data.o(.text+0x21c): undefined reference to `pthread_key_create'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbind.a(irs_data.o):
In function `__res_state':
irs_data.o(.text+0x26b): undefined reference to `pthread_getspecific'
irs_data.o(.text+0x2af): undefined reference to `pthread_setspecific'
irs_data.o(.text+0x2ed): undefined reference to `pthread_key_create'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libbind.a(irs_data.o):
In function `__h_errno':
irs_data.o(.text+0x31b): undefined reference to `pthread_getspecific'
irs_data.o(.text+0x368): undefined reference to `pthread_setspecific'
irs_data.o(.text+0x3ab): undefined reference to `pthread_key_create'
collect2: ld returned 1 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/tmp/postgresql-7.3b2/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/postgresql-7.3b2/src'
gmake: *** [all] Error 2

It would be great if you could help me with this !

Best regards,

Pierre.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Szymon Juraszczyk 2002-10-07 03:40:18 Query optimizer bug
Previous Message Rudolf Potucek 2002-10-04 20:21:20 postmaster will not start with stale lockfile but not report why