FreeBSD Port: net-snmp-5.0.9

Jun Kuriyama kuriyama at imgsrc.co.jp
Fri Oct 10 03:46:52 PDT 2003


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 at imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama at FreeBSD.org> // FreeBSD Project


More information about the freebsd-ports mailing list