Compilation error on Solaris for Postgres-8.0.0

Поиск
Список
Период
Сортировка
От Rajan Bhide
Тема Compilation error on Solaris for Postgres-8.0.0
Дата
Msg-id FF851C7EEB75954F9BCFB5CA117AB1EC013FE33C@delta.nulinkinc.com
обсуждение исходный текст
Ответы Re: Compilation error on Solaris for Postgres-8.0.0
Список 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

В списке pgsql-novice по дате отправления:

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: Two copies of every mail!
Следующее
От: Peter Lavender
Дата:
Сообщение: Re: recommended programming language for postgresql