> -----Original Message----- > From: Campo Weijerman [mailto:[EMAIL PROTECTED] Behalf Of Campo > Weijerman > Sent: Thursday, September 22, 2005 7:09 AM > To: 'Perl 5 Porters' > Subject: Re: Another AIX problem -- this time 5.3 > > > On Wed, Sep 21, 2005 at 03:47:41PM -0700, Alan Olsen wrote: > > When I try and build with full 64bit support, I get the following linker > > error: > > > > ld -o libperl.a -H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp -b > > noentry -brtl -bdynamic -bmaxdata:0x80000000 -q64 -b64 -lbind > -lnsl -ldl -ll > > d -lm -lcrypt -lpthreads -lc -lbsd perl.o gv.o toke.o perly.o > op.o pad.o > > regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o > > scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o > > universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o > > pp_pack.o pp_sort.o -lbind -lnsl -ldl -lld -lm -lcrypt > -lpthreads -lc -lbsd > > ld: 0706-012 The -q flag is not recognized. > > ld: 0706-012 The -6 flag is not recognized. > > ld: 0706-012 The -4 flag is not recognized. > > make: The error code from the last command is 255. > > This is what happens if you opt to build a shared libperl (-Duseshrplib). > Apparently this doesn't work, at least not with this particular > combination of options. > > Is there any specific reason you can't use the default for this > option, which is 'no'? At least that should give you a successful > build.
I will try it and see. BTW, when i try that set of options on AIX 5.2.0.0, I get the following error messages: cp Base64.pm ../../../lib/MIME/Base64.pm ../../../miniperl "-I../../../lib" "-I../../../lib" -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "MIME::Base64", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' ../../../miniperl "-I../../../lib" "-I../../../lib" ./../../lib/ExtUtils/xsubpp -typemap ../../../lib/ExtUtils/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=- 1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64 -O -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" "-I../../.." Base64.c "Base64.c", line 1.2: 1506-202 (S) #endif can only appear at the end of a #if, #elif, #ifdef or #ifndef block. "Base64.c", line 2.1: 1506-273 (E) Missing type in declaration of XS. "Base64.c", line 2.1: 1506-282 (S) The type of the parameters must be specified in a prototype. "Base64.c", line 5.5: 1506-045 (S) Undeclared identifier dXSARGS. "Base64.c", line 8.5: 1506-045 (S) Undeclared identifier XS_VERSION_BOOTCHECK. "Base64.c", line 10.51: 1506-045 (S) Undeclared identifier XS_MIME__Base64_encode_base64. "Base64.c", line 11.51: 1506-045 (S) Undeclared identifier XS_MIME__Base64_decode_base64. "Base64.c", line 12.52: 1506-045 (S) Undeclared identifier XS_MIME__QuotedPrint_encode_qp. "Base64.c", line 13.52: 1506-045 (S) Undeclared identifier XS_MIME__QuotedPrint_decode_qp. "Base64.c", line 14.5: 1506-045 (S) Undeclared identifier XSRETURN_YES. make: 1254-004 The error code from the last command is 1.