From owner-freebsd-ports@FreeBSD.ORG Thu May 19 15:48:38 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13CD216A4CE for ; Thu, 19 May 2005 15:48:38 +0000 (GMT) Received: from basement.kutulu.org (211.215.33.65.cfl.res.rr.com [65.33.215.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B91043DA8 for ; Thu, 19 May 2005 15:48:37 +0000 (GMT) (envelope-from kutulu@kutulu.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id 5B8E712 for ; Thu, 19 May 2005 11:48:36 -0400 (EDT) Message-ID: <428CB552.7040804@kutulu.org> Date: Thu, 19 May 2005 11:48:34 -0400 From: Mike Edenfield User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: php-mysql & gcc4.0.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 15:48:38 -0000 I've run into the following issue with compiling the php-mysql extension with gcc4.0.1. This is obviously a gcc4 error (the warning is new) but I can't figure out what it's problem is. The error I'm getting is: /usr/local/lib/gcc/i386-portbld-freebsd6.0/4.0.1/include/sys/types.h:171: error: two or more data types in declaration specifiers /usr/local/lib/gcc/i386-portbld-freebsd6.0/4.0.1/include/sys/types.h:266: error: two or more data types in declaration specifiers The two lines in question are: 171: typedef __gid_t gid_t 266: typedef __uid_t uid_t (wrapped inside suitable #ifdefs). I think understand what the error is complaining about -- it beleives gid_t/uid_t are already defined and thus the typedef is illegal. But I can't find where these types are defined in the first place. Has anyone else built PHP with gcc4 and seen this problem? --Mike