From owner-freebsd-current@FreeBSD.ORG Thu Oct 9 14:24:10 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 4925C16A4B3 for ; Thu, 9 Oct 2003 14:24:10 -0700 (PDT) Received: from smtp5.hy.skanova.net (smtp5.hy.skanova.net [195.67.199.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED29E43FE9 for ; Thu, 9 Oct 2003 14:24:08 -0700 (PDT) (envelope-from john@veidit.net) Received: from veidit.net (h230n1fls35o1000.telia.com [217.210.234.230]) by smtp5.hy.skanova.net (8.12.10/8.12.10) with ESMTP id h99LO7uN006571 for ; Thu, 9 Oct 2003 23:24:08 +0200 (CEST) Message-ID: <3F85D1F6.80807@veidit.net> Date: Thu, 09 Oct 2003 23:24:06 +0200 From: John Angelmo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: sv, en, en-us MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem building net-snmp on 5.1-release-p10 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: Thu, 09 Oct 2003 21:24:10 -0000 Hello I'm trying to build net-snmp but I get this build error: 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 -march=pentium3 -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 -march=pentium3 -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: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:55: redefinition of `vm_paddr_t' /usr/include/sys/types.h:252: `vm_paddr_t' previously declared here /usr/include/machine/types.h:57: conflicting types for `vm_pindex_t' /usr/include/sys/types.h:253: previous declaration of `vm_pindex_t' /usr/include/machine/types.h:58: redefinition of `vm_size_t' /usr/include/sys/types.h:254: `vm_size_t' previously declared here /usr/include/machine/types.h:60: redefinition of `register_t' /usr/include/sys/types.h:203: `register_t' previously declared here /usr/include/machine/types.h:61: redefinition of `u_register_t' /usr/include/sys/types.h:237: `u_register_t' previously declared here *** Error code 1 Stop in /usr/ports/net/net-snmp/work/net-snmp-5.0.9/agent/mibgroup. *** Error code 1 Stop in /usr/ports/net/net-snmp/work/net-snmp-5.0.9/agent. *** Error code 1 Stop in /usr/ports/net/net-snmp/work/net-snmp-5.0.9. *** Error code 1 Stop in /usr/ports/net/net-snmp. Does anyone know what I can do about this? /John