Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2005 23:44:21 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        "L.Edgeworth" <primereflex@yahoo.co.uk>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: custom kernel + if_xl + error
Message-ID:  <20050904034420.GA57025@xor.obsecurity.org>
In-Reply-To: <20050904011556.25064.qmail@web25407.mail.ukl.yahoo.com>
References:  <20050904011556.25064.qmail@web25407.mail.ukl.yahoo.com>

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

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

On Sun, Sep 04, 2005 at 02:15:56AM +0100, L.Edgeworth wrote:
> Hello!
>=20
> Not sure what I am missing but for some perculiar reason my kernel
> config doesn't compile, it bails out with:
>=20
> =3D=3D=3D> xl (depend)
> ln -s /usr/obj/usr/src/sys/VORPOL/opt_bdg.h opt_bdg.h
> @ -> /usr/src/sys
> machine -> /usr/src/sys/i386/include
> awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h
> awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
> awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
> awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
> rm -f .depend
> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
> -I@/contrib/altq -I@/../include -I/usr/include
> -I/usr/obj/usr/src/sys/CUSTOM /usr/src/sys/modules/xl/../../pci/if_xl.c
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error

Looks like you're running make -j.  Don't do this when you encounter
errors, because they're probably hidden far back in the output.

Also, when you cause an error when you modify your kernel config, the
logical thing to do is to back out your change, or carefully read the
comments in GENERIC and NOTES that will usually tell you why what you
did was wrong.

Kris

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDGm2UWry0BWjoQKURAmDDAKCD+hxBeQseO7Gwe2mU5dKRe5Jh3wCgoUWm
FtT1vmXdFTfg1Huj/CLirwY=
=QLP+
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--



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