dbTalk Databases Forums  

Re: [BUGS] BUG #1999: contrib/spi doesn't receive the configured

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #1999: contrib/spi doesn't receive the configured in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Seneca Cunningham
 
Posts: n/a

Default Re: [BUGS] BUG #1999: contrib/spi doesn't receive the configured - 10-26-2005 , 10:18 AM






Tom Lane wrote:
Quote:
"Seneca Cunningham" <scunning (AT) ca (DOT) afilias.info> writes:

$ cd postgresql-8.1beta4
$ export OBJECT_MODE=64
$ CFLAGS="-maix64 -Wl,-bbigtoc" ./configure
--prefix=/opt/dbs/pgsql81b4-afilias-AIX53-2005-10-25
--with-includes=/opt/freeware/include --enable-debug --enable-thread-safety
--with-libraries=/opt/freeware/lib --enable-casert


This is your error. -Wl,-bbigtoc is not a compiler flag, it's a linker
flag, and hence should be specified in LDFLAGS or related variables.
I redid the build changing CFLAGS to "-maix64" and LDFLAGS to
"-Wl,-bbigtoc", and gmake check still doesn't run without first
modifying src/makefiles/Makefile.aix to add CFLAGS. The -maix64 from
CFLAGS is required to get contrib/spi to build since IBM's tools are
expecting objects using the 64-bit API to operate on, and if I were to
unset OBJECT_MODE, the linking would fail as ld cannot link against
XCOFF64 files in 32-bit mode.

--
Seneca Cunningham
scunning (AT) ca (DOT) afilias.info

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.