Compilation error on Solaris for Postgres-8.0.0

From: "Rajan Bhide" <rbhide(at)starentnetworks(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Cc: <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Compilation error on Solaris for Postgres-8.0.0
Date: 2005-01-27 07:59:51
Message-ID: FF851C7EEB75954F9BCFB5CA117AB1EC013FE33C@delta.nulinkinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,
I am getting error while compiling Postgres-8.0.0 from the source files.
I am using following options for compiling it on Solaris 5.8:
./configure --prefix=/export/home/uxapps/postgresql-8.0.0
--enable-thread-safety --without-readline CFLAGS='-D_REENTRANT'
CPPFLAGS='-mt' cc=/export/home/uxapps/workshop/SUNWspro/bin/cc

Error:
gmake[4]: Entering directory
`/home/rbhide/utilities/postgres-8.0.0/postgresql-8.0.0/src/backend/stor
age/lmgr'
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o lmgr.o lmgr.c
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o lock.o lock.c
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o proc.o proc.c
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o deadlock.o deadlock.c
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o lwlock.o lwlock.c
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o spin.o spin.c
/export/home/uxapps/workshop/SUNWspro/bin/cc -Xa -D_REENTRANT
-I../../../../src/include -mt -c -o s_lock.o s_lock.c
/export/home/uxapps/workshop/SUNWspro/bin/../WS6U2/bin/fbe:
"/tmp/yabeAAA42aaxH", line 195: error: can't compute difference between
symbols in different segments
Failure in /export/home/uxapps/workshop/SUNWspro/bin/../WS6U2/bin/fbe,
status = 0x100
Fatal Error exec'ing
/export/home/uxapps/workshop/SUNWspro/bin/../WS6U2/bin/fbe
cc: acomp failed for s_lock.c
gmake[4]: *** [s_lock.o] Error 2
gmake[4]: Leaving directory
`/home/rbhide/utilities/postgres-8.0.0/postgresql-8.0.0/src/backend/stor
age/lmgr'
gmake[3]: *** [lmgr-recursive] Error 2
gmake[3]: Leaving directory
`/home/rbhide/utilities/postgres-8.0.0/postgresql-8.0.0/src/backend/stor
age'
gmake[2]: *** [storage-recursive] Error 2
gmake[2]: Leaving directory
`/home/rbhide/utilities/postgres-8.0.0/postgresql-8.0.0/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/rbhide/utilities/postgres-8.0.0/postgresql-8.0.0/src'
gmake: *** [all] Error 2

Please recommend a suitable fix to overcome this error.

Thanks,
Rajan

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Peter Lavender 2005-01-27 09:30:46 Re: recommended programming language for postgresql
Previous Message Inpreet Singh 2005-01-27 07:24:27 Re: Postgres database access problem