FAQ
I (finally) got the same error, after a number
of good PERL compiles.

I think it has to do with library inclusion order.

Rat's nest.


In other news of interest to AIX'ers: Optimization
levels at/above 04 involve IPA by default. I haven't
figured out exactly WHY it breaks the ld step, but it
does.

Use the CPFLAG " -qnoipa " as part of workaround.




-----Original Message-----
From: pgsql-ports-owner@postgresql.org On Behalf Of Vincenzo Volpe
Sent: Tuesday, May 24, 2005 7:27 AM
To: pgsql-ports@postgresql.org
Subject: [PORTS] 8.0.3 on AIX 5.3 and PERL



I had different problems (I will write on this) to compile on AIX 5.3 ML1 and eventually done.

The only option I cannot use was the --with-perl.

Here the kind of problem:



./configure CC=/usr/vac/bin/cc --enable-aix64 --with-includes=/opt/freeware/include --with-libraries=/opt/freeware/lib --with-perl

...

gmake[3]: Entering directory `/Inst/postgresql-8.0.3/src/pl/plperl'

/usr/vac/bin/cc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I. -I../../../src/include -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -c -o plperl.o plperl.c

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 619.16: 1506-007 (S) "struct drand48_data" is undefined.

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 727.16: 1506-007 (S) "struct random_data" is undefined.

"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.h", line 775.16: 1506-007 (S) "struct random_data" is undefined.

gmake[3]: *** [plperl.o] Error 1

gmake[3]: Leaving directory `/Inst/postgresql-8.0.3/src/pl/plperl'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory `/Inst/postgresql-8.0.3/src/pl'

gmake[1]: *** [all] Error 2

gmake[1]: Leaving directory `/Inst/postgresql-8.0.3/src'

gmake: *** [all] Error 2









Vincenzo Volpe

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedJun 2, '05 at 6:39p
activeJun 2, '05 at 6:39p
posts1
users1
websitepostgresql.org
irc#postgresql

1 user in discussion

Mohan, Ross: 1 post

People

Translate

site design / logo © 2022 Grokbase