Compile/Link Error for Postgres 8.1.0 on Solaris 8

From: "Bhide, Rajan" <rbhide(at)starentnetworks(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Compile/Link Error for Postgres 8.1.0 on Solaris 8
Date: 2005-12-08 14:48:29
Message-ID: 069D834B7DEFB742A1781854356005E0070CE5@EXCHINDIA2.starentnetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

I tried to compile Postgres 8.1.0 from the source tar file with
following options:

./configure --without-readline --enable-thread-safety CFLAGS=-xO4
-D_REENTRANT -xipo -mt -lpthread
CC=/export/home/uxapps/workshop/SUNWspro/bin/cc

I am getting following error:

gmake -C ../../src/timezone all
gmake[3]: Entering directory
`/home/rbhide/utilities/postgres-8.1/postgresql-8.1.0/src/timezone'
/usr/ccs/bin/ld -r -o SUBSYS.o localtime.o strftime.o pgtz.o
gmake -C ../../src/port all
gmake[4]: Entering directory
`/home/rbhide/utilities/postgres-8.1/postgresql-8.1.0/src/port'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/home/rbhide/utilities/postgres-8.1/postgresql-8.1.0/src/port'
gmake[3]: Leaving directory
`/home/rbhide/utilities/postgres-8.1/postgresql-8.1.0/src/timezone'
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -xO4 -D_REENTRANT -xipo
-mt -lpthread -L../../src/port -Wl,-R/usr/local/pgsql/lib
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 ../../src/timezone/SUBSYS.o
../../src/port/libpgport_srv.a -lz -lrt -lresolv -lgen -lsocket -lnsl
-ldl -lm -o postgres

Undefined first referenced
symbol in file
__ipo_error_recompile_file(4_1) ../../src/timezone/SUBSYS.o
ld: fatal: Symbol referencing errors. No output written to postgres

gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory
`/home/rbhide/utilities/postgres-8.1/postgresql-8.1.0/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/rbhide/utilities/postgres-8.1/postgresql-8.1.0/src'
gmake: *** [all] Error 2



Could someone help on this?

Thanks,
-Rajan

"This email message and any attachments are confidential information of Starent Networks, Corp. The information transmitted may not be used to create or change any contractual obligations of Starent Networks, Corp. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately -- by replying to this message or by sending an email to postmaster(at)starentnetworks(dot)com -- and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you."

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jaime Casanova 2005-12-08 16:44:05 Re: Location of index information
Previous Message Tom Lane 2005-12-08 04:41:08 Re: Location of index information