Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 21:10:59 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        leafy <leafy@chihiro.leafy.idv.tw>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Is there a header conflict?
Message-ID:  <3EA4C0D3.8F7CF9EE@mindspring.com>
References:  <20030422031429.GA82023@chihiro.leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
leafy wrote:
> 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
[ ... ]
> Is this a header conflict?

No, this is broken source code.

User programs should not reference the "machine" headers directly.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA4C0D3.8F7CF9EE>