Date: Thu, 6 Apr 1995 02:23:33 -0700 (PDT) From: bmk@dtr.com To: taob@gate.sinica.edu.tw (Brian Tao) Cc: ports@FreeBSD.org Subject: Re: Compiling Perl5 w/gcc 2.6.3 SNAP-0322 Message-ID: <199504060923.CAA05513@dtr.com> In-Reply-To: <Pine.BSI.3.91.950406153551.6193H-100000@aries.ibms.sinica.edu.tw> from "Brian Tao" at Apr 6, 95 03:38:44 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 5 Apr 1995 bmk@dtr.com wrote: > > > > Someone please do - I tried compiling it using pretty much all the > > defaults and get: > > > > cc -c -O -I../.. -DLIBC="/usr/lib/libc.so.2.0" DynaLoader.c > > DynaLoader.c: In function `XS_DynaLoader_dl_error': > > DynaLoader.c:20: array subscript is not an integer > DynaLoader and the rest are optional modules to perl, as I > understand it. I tried recompiling perl5001 with gcc 2.6.3 (from the > 950322 snapshot) and something has definitely changed. You'll have to > go into the source files for each extension module (located in the > ext/ directory) and replace all occurrences of (0.) with (0). I'm in > the midst of recompiling, and everything links properly, but I have > yet to test it. This seems to work - I haven't tested it either.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504060923.CAA05513>