From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 6 18:00:27 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6923716A4CE for ; Tue, 6 Jan 2004 18:00:27 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C180743D3F for ; Tue, 6 Jan 2004 18:00:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0720KFR054419 for ; Tue, 6 Jan 2004 18:00:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0720KQh054416; Tue, 6 Jan 2004 18:00:20 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 6 Jan 2004 18:00:20 -0800 (PST) Resent-Message-Id: <200401070200.i0720KQh054416@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Simson L. Garfinkel" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD30116A4CE for ; Tue, 6 Jan 2004 17:58:02 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CFD543D39 for ; Tue, 6 Jan 2004 17:58:01 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i071w1dL032402 for ; Tue, 6 Jan 2004 17:58:01 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i071w1t3032401; Tue, 6 Jan 2004 17:58:01 -0800 (PST) (envelope-from nobody) Message-Id: <200401070158.i071w1t3032401@www.freebsd.org> Date: Tue, 6 Jan 2004 17:58:01 -0800 (PST) From: "Simson L. Garfinkel" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: kern/60997: vm_pindex_t has conflicting definitions in machine/types.h and sys/types.h X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 02:00:27 -0000 >Number: 60997 >Category: kern >Synopsis: vm_pindex_t has conflicting definitions in machine/types.h and sys/types.h >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 06 18:00:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Simson L. Garfinkel >Release: 5.2-RC2 >Organization: MIT >Environment: FreeBSD r2.nitroba.com 5.2-RC FreeBSD 5.2-RC #2: Wed Dec 24 18:23:52 EST 2003 simsong@r2.nitroba.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: building etherreal from ports doesn't work because there are conflicting definitions for vm_pindex_t: /sh ../../libtool --mode=compile cc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -DINET6 -O -pipe -mcpu=pentiumpro -Dfreebsd5 -c -o host/hr_system.lo host/hr_system.c mkdir host/.libs cc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -DINET6 -O -pipe -mcpu=pentiumpro -Dfreebsd5 -c host/hr_system.c -fPIC -DPIC -o host/.libs/hr_system.lo cc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -DINET6 -O -pipe -mcpu=pentiumpro -Dfreebsd5 -c host/hr_system.c -o host/hr_system.o >/dev/null 2>&1 mv -f host/.libs/hr_system.lo host/hr_system.lo /bin/sh ../../libtool --mode=compile cc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -DINET6 -O -pipe -mcpu=pentiumpro -Dfreebsd5 -c -o host/hr_storage.lo host/hr_storage.c rm -f host/.libs/hr_storage.lo cc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -DINET6 -O -pipe -mcpu=pentiumpro -Dfreebsd5 -c host/hr_storage.c -fPIC -DPIC -o host/.libs/hr_storage.lo In file included from host/hr_storage.c:36: /usr/include/machine/types.h:57: error: conflicting types for `vm_pindex_t' /usr/include/sys/types.h:253: error: previous declaration of `vm_pindex_t' *** Error code 1 Stop in /raid4/ports/net/net-snmp/work/net-snmp-5.1/agent/mibgroup. *** Error code 1 Stop in /raid4/ports/net/net-snmp/work/net-snmp-5.1/agent. *** Error code 1 Stop in /raid4/ports/net/net-snmp/work/net-snmp-5.1. *** Error code 1 Stop in /raid4/ports/net/net-snmp. *** Error code 1 Stop in /raid4/ports/net/ethereal. r2# grep vm_pindex_t /usr/include/machine/types.h /usr/include/sys/types.h /usr/include/machine/types.h:typedef unsigned int vm_pindex_t; /usr/include/sys/types.h:typedef __vm_pindex_t vm_pindex_t; r2# >How-To-Repeat: >Fix: decide on a definition and use it. >Release-Note: >Audit-Trail: >Unformatted: