From owner-freebsd-ports Sat Jun 15 20:13: 2 2002 Delivered-To: freebsd-ports@freebsd.org Received: from picknowl.com.au (callisto.picknowl.com.au [203.24.77.2]) by hub.freebsd.org (Postfix) with ESMTP id 3F9F937B415; Sat, 15 Jun 2002 20:12:57 -0700 (PDT) Received: from popadl-15-028.picknowl.com.au (popadl-15-028.picknowl.com.au [210.48.132.28] (may be forged)) by callisto.picknowl.com.au (8.11.6/8.11.6) with ESMTP id g5G3B2W13624; Sun, 16 Jun 2002 12:41:03 +0930 Date: Sun, 16 Jun 2002 12:44:57 +0930 (CST) From: Matt Thyer X-X-Sender: me@new.my-unregistered-domain.com Reply-To: thyerm@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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org /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 #include /* * 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