From owner-freebsd-current@FreeBSD.ORG Mon Apr 21 20:14:33 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE5D437B401 for ; Mon, 21 Apr 2003 20:14:33 -0700 (PDT) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD0F843F3F for ; Mon, 21 Apr 2003 20:14:32 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [211.74.131.184] (port=55035 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 197oEp-000A8L-00 for freebsd-current@freebsd.org; Tue, 22 Apr 2003 11:14:31 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h3M3EUvh082035 for ; Tue, 22 Apr 2003 11:14:31 +0800 (CST) (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h3M3EUcr082034 for freebsd-current@freebsd.org; Tue, 22 Apr 2003 11:14:30 +0800 (CST) (envelope-from leafy) Date: Tue, 22 Apr 2003 11:14:29 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20030422031429.GA82023@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Is there a header conflict? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 03:14:34 -0000 While compiling net-snmp port, I came across this error 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 -f PIC -DPIC -o host/.libs/hr_storage.lo In file included from host/hr_storage.c:36: /usr/include/machine/types.h:50: redefinition of `vm_offset_t' /usr/include/sys/types.h:250: `vm_offset_t' previously declared here /usr/include/machine/types.h:51: redefinition of `vm_ooffset_t' /usr/include/sys/types.h:251: `vm_ooffset_t' previously declared here /usr/include/machine/types.h:52: conflicting types for `vm_pindex_t' /usr/include/sys/types.h:253: previous declaration of `vm_pindex_t' /usr/include/machine/types.h:53: redefinition of `vm_size_t' /usr/include/sys/types.h:254: `vm_size_t' previously declared here /usr/include/machine/types.h:55: redefinition of `register_t' /usr/include/sys/types.h:203: `register_t' previously declared here /usr/include/machine/types.h:56: redefinition of `u_register_t' /usr/include/sys/types.h:237: `u_register_t' previously declared here *** Error code 1 Is this a header conflict? Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming