Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2003 19:46:47 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        John Angelmo <john@veidit.net>
Cc:        kuriyama@FreeBSD.org
Subject:   Re: FreeBSD Port: net-snmp-5.0.9
Message-ID:  <7mn0c9fjzc.wl@black.imgsrc.co.jp>
In-Reply-To: <3F84681C.6090207@veidit.net>
References:  <3F84681C.6090207@veidit.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 08 Oct 2003 21:40:12 +0200,
John Angelmo wrote:
> I noticed a small problem building net-snmp-5.0.9 on FreeBSD 5.1-RELEASE-p10
> 
> I get the following:
> 
> 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

I checked to compile on 5.1-RELEASE-p10 also, but I could finish
compilation successfully.

I worry your /usr/include has old files.  Could you please doing
installworld again after removing /usr/include completely?


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mn0c9fjzc.wl>