From owner-freebsd-questions Thu Apr 17 09:38:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA19486 for questions-outgoing; Thu, 17 Apr 1997 09:38:48 -0700 (PDT) Received: from milehigh.denver.net (jdc@milehigh.denver.net [204.144.180.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA19481 for ; Thu, 17 Apr 1997 09:38:43 -0700 (PDT) Received: (from jdc@localhost) by milehigh.denver.net (8.6.12/8.6.12) id KAA20290; Thu, 17 Apr 1997 10:43:27 -0600 Date: Thu, 17 Apr 1997 10:43:26 -0600 (MDT) From: John-David Childs To: "M. L. Dodson" cc: freebsd-questions@FreeBSD.ORG Subject: Re: perl5.003 (pp_sys.c) & FreeBSD 2.1.7 In-Reply-To: <199704171534.KAA03473@beowulf.utmb.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 17 Apr 1997, M. L. Dodson wrote: > > Don't worry about it. It is just a warning, not a compile error. > 5.003 works fine on FreeBSD and builds directly from the port. It completely stopped compiling on my system. Should I then use the compile option to ignore such warnings (make -k I think?)? > > Bud Dodson > > PS, > If you have a machine where sizeof(void *) != sizeof(int), then things > may get interesting, perhaps, depending on the exact code being > compiled. > > > > > I cannot for the life of me get perl5.003 (pp_sys.c) to compile on > > FreeBSD 2.1.7 > > > > `sh cflags libperl.a pp_sys.o` pp_sys.c > > CCCMD = cc -c -I/usr/local/include -DHAS_TELLDIR_PROTOTYPE -O > > pp_sys.c: In function `Perl_pp_gmtime': > > pp_sys.c:3044: warning: assignment makes pointer from integer without a cast > > pp_sys.c:3046: warning: assignment makes pointer from integer without a cast > > [SNIP a whole bunch more of the above line] > > > > > > I have tried pulling perl5.003 directly off CPAN, I've tried the 2.2 port, > > I've tried modifying config.sh to explicitly tell make depend which > > version of time.h I want, etc. No luck. Obviously, other folks have > > managed to get this working...what am I doing wrong???? > > -- > M. L. Dodson bdodson@scms.utmb.edu > 409-772-2178 FAX: 409-772-1790 > John-David Childs (JC612) http://www.denver.net System Administrator jdc@denver.net & Network Engineer Think, Listen, Look, then ACT! "A verbal contract isn't worth the paper it's written on" - Louis B Mayer