summaryrefslogtreecommitdiff
path: root/README.aix
diff options
context:
space:
mode:
authorJose Auguste-Etienne <Jose.auguste-etienne@cgss-guyane.fr>2003-08-25 11:35:45 -0300
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-25 18:14:33 +0000
commite083a1cdbdb4752e36ca425c61292e4c2107c0d2 (patch)
tree6becffc5ece31278f85f01b46eeeb46cb401ee3a /README.aix
parent8f212d40d10d4cabb2de7ab4f49a2592866a29d5 (diff)
downloadperl-e083a1cdbdb4752e36ca425c61292e4c2107c0d2.tar.gz
[5.8.1] maint @ 20845 OK on aix 4.2
Message-ID: <OF1EF867E8.4A2A43A1-ON03256D8D.005DFE9A@Cgss-Guyane.fr> AIX Configure advice. p4raw-id: //depot/perl@20890
Diffstat (limited to 'README.aix')
-rw-r--r--README.aix26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.aix b/README.aix
index b8c192ba08..832d4c8586 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<nm> 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,