[Pgpool-general] AIX make problem

Tatsuo Ishii ishii at sraoss.co.jp
Wed Jul 13 09:38:02 UTC 2011


Oops. Sorry for false alarm. It looks like it's a bug with
pcp/Makefile. Can you please try attached patches?
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

> It looks like getopt_long.c and getopt_long.h are included in the pgpool distribution. Do you know how I can get them included in the make ?
> 
> -----Original Message-----
> From: Tatsuo Ishii [mailto:ishii at sraoss.co.jp] 
> Sent: 13 July 2011 07:39
> To: Carrington, Matthew (Produban)
> Cc: pgpool-general at pgfoundry.org
> Subject: Re: [Pgpool-general] AIX make problem
> 
> I don't have AIX here but I guess AIX does not have getopt_log() or
> requires additional libraries?
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese: http://www.sraoss.co.jp
> 
>> Hi,
>> 
>> I've just tried to build pgpool 3.0.4 on AIX and I get the following error ...
>> 
>> libtool: link: ar cru .libs/libpcp.a  pcp.o pcp_stream.o pcp_error.o md5.o
>> libtool: link: ranlib .libs/libpcp.a
>> libtool: link: ( cd ".libs" && rm -f "libpcp.la" && ln -s "../libpcp.la"
>> "libpcp.la" )
>> gcc -maix64 -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE -I .. -I
>> /home/collect/postgres/include   -g -O2 -Wall
>> -Wmissing-prototypes -Wmissing-declarations -MT pcp_stop_pgpool.o -MD -MP -MF
>> .deps/pcp_stop_pgpool.Tpo -c -o pcp_stop_pgpool.o pcp_stop_pgpool.c
>> mv -f .deps/pcp_stop_pgpool.Tpo .deps/pcp_stop_pgpool.Po
>> /bin/sh ../libtool --tag=CC   --mode=link gcc -maix64  -g -O2 -Wall
>> -Wmissing-prototypes -Wmissing-declarations   -o pcp_stop_pgpool
>> pcp_stop_pgpool.o libpcp.la -lcrypt -lPW -lnsl -lm 
>> libtool: link: gcc -maix64 -g -O2 -Wall -Wmissing-prototypes
>> -Wmissing-declarations -o pcp_stop_pgpool pcp_stop_pgpool.o  ./.libs/libpcp.a
>> -lcrypt -lPW -lnsl -lm
>> ld: 0711-317 ERROR: Undefined symbol: .getopt_long
>> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
>> collect2: ld returned 8 exit status
>> make[2]: *** [pcp_stop_pgpool] Error 1
>> make[2]: Leaving directory `/home/collect/build/pgpool-II-3.0.4/pcp'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/collect/build/pgpool-II-3.0.4'
>> make: *** [all] Error 2
>> 
>> ... has anyone else come across this problem ?
>> 
>> Matthew
> Emails aren't always secure, and they may be intercepted or changed
> after they've been sent. Produban doesn't accept liability if this
> happens. If you think someone may have interfered with this email,
> please get in touch with the sender another way. This message and any
> documents attached to it do not create or change any contract unless
> otherwise specifically stated. Any views or opinions contained in this
> message are solely those of the author, and do not necessarily represent
> those of Produban, unless otherwise specifically stated and the sender
> is authorised to do so. Produban doesn't accept responsibility for
> damage caused by any viruses contained in this email or its attachments.
> Emails may be monitored. If you've received this email by mistake,
> please let the sender know at once that it's gone to the wrong person
> and then destroy it without copying, using, or telling anyone about its
> contents. Produban Servicios Informaticos Generales, S.L. (UK Branch).
> Registered office: Shenley Wood House, Chalkdell Drive, Shenley Wood,
> Milton Keynes MK5 6LA. Branch registration number BR 008486.
> Ref:[PDB#014]
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool.patch
Type: text/x-patch
Size: 13085 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-general/attachments/20110713/0a4294cb/attachment-0001.bin>


More information about the Pgpool-general mailing list