Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2006 13:54:31 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Bakul Shah <bakul@BitBlocks.com>
Cc:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, stefanf@freebsd.org, ru@freebsd.org, sgk@troutmask.apl.washington.edu, Kris Kennaway <kris@obsecurity.org>, stefan@fafoe.narf.at, Warner Losh <imp@bsdimp.com>
Subject:   Re: cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h
Message-ID:  <20060201185431.GA30649@xor.obsecurity.org>
In-Reply-To: <200602011851.k11Ip8VO071628@gate.bitblocks.com>
References:  <20060201183036.GA30206@xor.obsecurity.org> <200602011851.k11Ip8VO071628@gate.bitblocks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
> > >=3D20
> > > The bigger question is *why* does buildworld depend on
> > > /usr/include.
> >=20
> > 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.
>=20
> But look at this error message Steve Kargl posted:
>=20
> =3D=3D=3D> games/fortune/strfile (obj,depend,all,install)
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/obj/usr/src/tmp/legacy/usr/incl=
ude -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"
>=20
> Is /usr/games/fortune is a build tool?

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

Kris

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD4QPmWry0BWjoQKURAmGJAKDsuxqGGqdzklu9OobDk0b+19Y1vACguIqP
wojHnCDQQjZjeY5cy+VBE8I=
=DLq3
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060201185431.GA30649>