From owner-freebsd-questions Thu Apr 17 08:37:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA12551 for questions-outgoing; Thu, 17 Apr 1997 08:37:40 -0700 (PDT) Received: from beowulf.utmb.edu (beowulf.utmb.edu [129.109.59.83]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA12540 for ; Thu, 17 Apr 1997 08:37:34 -0700 (PDT) Received: (from bdodson@localhost) by beowulf.utmb.edu (8.8.5/8.8.5) id KAA03473; Thu, 17 Apr 1997 10:34:31 -0500 (CDT) Date: Thu, 17 Apr 1997 10:34:31 -0500 (CDT) From: "M. L. Dodson" Message-Id: <199704171534.KAA03473@beowulf.utmb.edu> To: jdc@denver.net Subject: Re: perl5.003 (pp_sys.c) & FreeBSD 2.1.7 Cc: freebsd-questions@FreeBSD.ORG X-Sun-Charset: US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. 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