cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h

Kris Kennaway kris at obsecurity.org
Wed Feb 1 10:54:32 PST 2006


On Wed, Feb 01, 2006 at 10:51:08AM -0800, Bakul Shah wrote:
> > On Wed, Feb 01, 2006 at 10:25:28AM -0800, Bakul Shah wrote:
> > > > I'm actually surprised that make includes doesn't install the sys
> > > > directory as well, which would pick up the new sys/cdefs.h.  Does
> > > > 'make -f Makefile.inc _includes' also exhibit the same problem?
> > >=20
> > > The bigger question is *why* does buildworld depend on
> > > /usr/include.
> > 
> > You have to compile native bootstrap tools (i.e. against /usr/include)
> > before you can build the rest of the world with "internal" headers.
> > If you don't do this bootstrap step, your buildworld won't work in all
> > upgrade cases.
> 
> But look at this error message Steve Kargl posted:
> 
> ===> games/fortune/strfile (obj,depend,all,install)
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/obj/usr/src/tmp/legacy/usr/include -c
> /usr/src/games/fortune/strfile/strfile.c
> In file included from /usr/src/games/fortune/strfile/strfile.c:53:
> /usr/include/stdio.h:331: error: syntax error before "__format_arg"
> 
> Is /usr/games/fortune is a build tool?

Yes (well, games/fortune/strfile is).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060201/0f296f0b/attachment.bin


More information about the cvs-all mailing list