X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.aix;h=832d4c8586cbaa95a24f4bfa133c5ccb4c530e76;hb=416c06154f3f0f1dd4b8770baf1fd68ba67c6991;hp=9044bae8b27c895d1df361376d4ac845e32a0979;hpb=c67773d0c9c360a2a93d7e99edf5825f76a431d3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.aix b/README.aix index 9044bae..832d4c8 100644 --- a/README.aix +++ b/README.aix @@ -183,6 +183,32 @@ If you like a more web-like approach, a good start point can be http://www14.software.ibm.com/webapp/download/downloadaz.jsp and click "C for AIX", and follow the instructions. +=head2 The usenm option + +If linking miniperl + + cc -o miniperl ... miniperlmain.o opmini.o perl.o ... -lm -lc ... + +causes error like this + + ld: 0711-317 ERROR: Undefined symbol: .aintl + ld: 0711-317 ERROR: Undefined symbol: .copysignl + ld: 0711-317 ERROR: Undefined symbol: .syscall + ld: 0711-317 ERROR: Undefined symbol: .eaccess + ld: 0711-317 ERROR: Undefined symbol: .setresuid + ld: 0711-317 ERROR: Undefined symbol: .setresgid + ld: 0711-317 ERROR: Undefined symbol: .setproctitle + ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. + +you could retry with + + make realclean + rm config.sh + ./Configure -Dusenm ... + +which makes Configure to use the C tool when scanning for library +symbols, which usually is not done in AIX. + =head2 Using GNU's gcc for building perl Using gcc-3.x (tested with 3.0.4, 3.1, and 3.2) now works out of the box, @@ -200,6 +226,20 @@ Should yield no problems. Threads seem to work OK, though at the moment not all tests pass when threads are used in combination with 64bit configurations. +You may get a warning when doing a threaded build: + + "pp_sys.c", line 4640.39: 1506-280 (W) Function argument assignment between types "unsigned char*" and "const void*" is not allowed. + +The exact line number may vary, but if the warning (W) comes from a line +line this + + hent = PerlSock_gethostbyaddr(addr, (Netdb_hlen_t) addrlen, addrtype); + +in the "pp_ghostent" function, you may ignore it safely. The warning +is caused by the reentrant variant of gethostbyaddr() having a slightly +different prototype than its non-reentrant variant, but the difference +is not really significant here. + =head2 64-bit Perl If your AIX is installed with 64-bit support, you can expect 64bit