Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 13:23:39 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Nathanael Schweers <nschweers@gmx.de>
Cc:        FreeBSD mailing list <freebsd-stable@freebsd.org>
Subject:   Re: kernel compile fails with error 1
Message-ID:  <20061121182339.GA88020@xor.obsecurity.org>
In-Reply-To: <4563414A.60704@gmx.de>
References:  <4563414A.60704@gmx.de>

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

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

On Tue, Nov 21, 2006 at 07:11:22PM +0100, Nathanael Schweers wrote:
> Hi folks,
> I'm quite new to FreeBSD and mailing lists, so I hope not to be inpolite.
> I've been using Gentoo Linux for a while and really like it, and now I'm=
=20
> giving FreeBSD a try.
> I have switched to stable ( is there a difference between 6.1-STABLE and=
=20
> 6.2-PRERELEASE?) and I managed to successfully compile and run a GENERIC=
=20
> kernel, but when I try to compile my own kernel make aborts with an=20
> error 1. Here the last bit of output:
>=20
> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=3D"cc -E"=20
> CC=3D"cc" xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls=20
> -Wnested-externs -Wstrict-prototypes
> inter-arith -Winline -Wcast-qual  -fformat-extensions -std=3Dc99 -g=20
> -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq=20
> -I/usr/src/sys/contrib/ipfilter -I/usr/src/s
> ys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL=
=20
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20
> -finline-limit=3D8000 --param inline-u
> ge-function-growth=3D1000  -mno-align-long-strings=20
> -mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2=20
> -ffreestanding
> /usr/src/sys/dev/nve/if_nve.c:109:23: miibus_if.h: No such file or direct=
ory
> mkdep: compile failed
> *** Error code 1
>=20
> Stop in /usr/obj/usr/src/sys/BRAINFUCK.
> *** Error code 1

If you change something and then things break, the most likely cause
is something that you changed.  In particular, an error regarding
miibus support should suggest that you should check your kernel
configuration for miibus support.  You'll probably find that you
removed it from your kernel config even though you left in a driver
that requires it.

Kris


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

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

iD8DBQFFY0QrWry0BWjoQKURAvHcAKDC08Wcy/mvCM5ZTJlC2cvbvgBcvACg0iJy
JmBnPv2n/JMFs4AnuGKix+k=
=Eq9s
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



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