Date: Sat, 12 Jul 2003 12:08:50 -0400 From: Jake Burkholder <jake@locore.ca> To: Kris Kennaway <kris@obsecurity.org> Cc: sparc64@freebsd.org Subject: Re: cache.h breaks whowatch port Message-ID: <20030712160849.GF63369@locore.ca> In-Reply-To: <20030712053921.GA57890@rot13.obsecurity.org> References: <200307112119.14473.dh@askdh.com> <20030712053921.GA57890@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Fri, Jul 11, 2003 at 10:39:21PM -0700, Kris Kennaway said words to the effect of; > On Fri, Jul 11, 2003 at 09:19:14PM -0400, Daniel Harris wrote: > > Hello, > > > > I maintain the whowatch port, which is currently failing on bento with the > > following (on sparc64): > > > > proctree.c:107: conflicting types for `cache' > > /usr/include/machine/cache.h:111: previous declaration of `cache' > > > > which is from src/sys/sparc64/include/cache.h,v 1.8: > > > > extern struct cacheinfo cache; > > > > Is the namespace collision a fault of the software or of the sparc64 header? > > If it's the software (whowatch)'s fault, please advise me on how to fix this. > > It's probably just a variable name collision, which would be fixed by > renaming it in whowatch. Its a bug in cache.h, namespace polution, the kernel variables should be protected by #ifdef _KERNEL. Jake
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030712160849.GF63369>