Date: Sun, 16 Jun 2002 12:44:57 +0930 (CST) From: Matt Thyer <me@picknowl.com.au> To: tobez@FreeBSD.org Cc: ports@FreeBSD.org Subject: Cant build ports/lang/perl5 on v.recent -CURRENT Message-ID: <20020616123723.R28482-100000@new.my-unregistered-domain.com>
next in thread | raw e-mail | index | archive | help
/bin/ln -s perl.c sperl.c `sh cflags libperl.a sperl.o` -DIAMSUID sperl.c CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -O -pipe In file included from perl.h:3407, from sperl.c:16: /usr/include/sys/statvfs.h:47: syntax error before "typedef" /usr/include/sys/statvfs.h:59: syntax error before "struct" /usr/include/sys/statvfs.h:60: syntax error before "fsblkcnt_t" *** Error code 1 Stop in /usr/ports/lang/perl5/work/perl-5.6.1. My $FreeBSD: src/sys/sys/statvfs.h,v 1.1 2002/06/14 19:37:06 wollman Exp $ extract has the following... (I have highlighted line ** 47 **): #include <sys/cdefs.h> #include <sys/_types.h> /* * POSIX says we must define the fsblkcnt_t and fsfilcnt_t types here. * Note that these must be unsigned integer types, so we have to be * careful in converting the signed statfs members to the unsigned * statvfs members. (Well, actually, we don't -- see below -- but * a quality implementation should.) */ #ifndef _FSBLKCNT_T_DECLARED /* always declared together */ typedef _BSD_FSBLKCNT_T_ fsblkcnt_t ** 47 ** typedef _BSD_FSFILCNT_T_ fsfilcnt_t ** 47 ** #define _FSBLKCNT_T_DECLARED #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020616123723.R28482-100000>