Subject: Re: Autoconf warning building tools
To: Todd Vierling <tv@netbsd.org>
From: Nick Hudson <skrll@netbsd.org>
List: tech-toolchain
Date: 05/12/2005 11:12:09
On Monday 02 May 2005 19:14, Todd Vierling wrote:
> On Sat, 30 Apr 2005, Jason Thorpe wrote:
> > checking util.h usability... no
> > checking util.h presence... yes
> > configure: WARNING: util.h: present but cannot be compiled
> > configure: WARNING: util.h:     check for missing prerequisite headers?
> > configure: WARNING: util.h: see the Autoconf documentation
> > configure: WARNING: util.h:     section "Present But Cannot Be Compiled"
> > configure: WARNING: util.h: proceeding with the preprocessor's result
> > configure: WARNING: util.h: in the future, the compiler will take
> > precedence configure: WARNING:     ##
> > ---------------------------------------- ## configure: WARNING:     ##
> > Report this to lib-bug-people@NetBSD.org ## configure: WARNING:     ##
> > ---------------------------------------- ## checking for util.h... yes
> >
> > What gives?
>
> A config.log excerpt would be helpful.  Usually this indicates that
> including the header bare does not work, causing a compiler error.

It's barfing on the u_short in

 u_short         disklabel_dkcksum(struct disklabel *);

Nick