Is there a header conflict?

leafy leafy at chihiro.leafy.idv.tw
Mon Apr 21 20:14:34 PDT 2003


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


More information about the freebsd-current mailing list