Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!uunet!panews.awdpa.ibm.com!ibmpa.awdpa.ibm.com!marc From: marc@ibmpa.awdpa.ibm.com (Marc Pawliger) Newsgroups: comp.unix.aix Subject: Re: Mods to make perl under AIX 3.01 - and possible compiler bug Message-ID: <1991Feb5.133313@ibmpa.awdpa.ibm.com> Date: 5 Feb 91 21:33:13 GMT References: <406@ariel.ucs.unimelb.edu.au> Sender: news@ibmpa.awdpa.ibm.com (news id) Reply-To: marc@ibmpa.awdpa.ibm.com (Marc Pawliger) Organization: IBM Advanced Workstations Division, Palo Alto Lines: 25 In article <406@ariel.ucs.unimelb.edu.au>, rab@tauon.ph.unimelb.edu.au (Richard Alan Brown) writes: |> The following modifications needed to be made to the perl (Release 3 |> patchlevel 28) source to compile on an IBM RS/6000 running AIX 3.01: [fixes deleted] Perl release 3 is currently at patchlevel 44. The patches are available from uunet.uu.net, prep.ai.mit.edu and jpl-devvax.jpl.nasa.gov via anonymous ftp. _Many_ fixes have been made since pl28. Anyway, perl3@44 compiles quite nicely on the '6000 with just one fix in malloc.c. If you answered 'no' the the question 'Do you wish to use the malloc that comes with perl?', then perl compiles clean right out of the box and passes all the tests. If you answered 'yes', then all you need do is change the declaration of free in malloc.c to be 'void free(cp) void * cp;' instead of the supplied 'free(cp) char * cp;' This is because the stdlib.h supplied with the '6000 uses the POSIX/ANSI definition of free and would not allow it to be redeclared with a different signature. +--Marc Pawliger----IBM Advanced Workstations Division----Palo Alto, CA---+ | Internet: marc@ibminet.awdpa.ibm.com VNET: MARCP at AUSVM6 | | UUCP: uunet!ibminet.awdpa.ibm.com!marc Phone: (415) 855-3493 | +-----IBMinet: marc@ibmpa.awdpa.ibm.com----------IBM T/L: 465-3493------+ As always, these are my opinions and not IBM's etc etc etc