From owner-freebsd-stable@FreeBSD.ORG Tue Nov 21 18:40:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F412D16A47C for ; Tue, 21 Nov 2006 18:40:49 +0000 (UTC) (envelope-from nschweers@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0A5CF43DA0 for ; Tue, 21 Nov 2006 18:40:16 +0000 (GMT) (envelope-from nschweers@gmx.de) Received: (qmail invoked by alias); 21 Nov 2006 18:40:35 -0000 Received: from p54B19883.dip0.t-ipconnect.de (EHLO [192.168.1.216]) [84.177.152.131] by mail.gmx.net (mp016) with SMTP; 21 Nov 2006 19:40:35 +0100 X-Authenticated: #20336630 Message-ID: <45634824.1090204@gmx.de> Date: Tue, 21 Nov 2006 19:40:36 +0100 From: Nathanael Schweers User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Kris Kennaway References: <4563414A.60704@gmx.de> <20061121182339.GA88020@xor.obsecurity.org> In-Reply-To: <20061121182339.GA88020@xor.obsecurity.org> X-Y-GMX-Trusted: 0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD mailing list Subject: Re: kernel compile fails with error 1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2006 18:40:50 -0000 Kris Kennaway wrote: > 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 >> giving FreeBSD a try. >> I have switched to stable ( is there a difference between 6.1-STABLE and >> 6.2-PRERELEASE?) and I managed to successfully compile and run a GENERIC >> kernel, but when I try to compile my own kernel make aborts with an >> error 1. Here the last bit of output: >> >> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" >> CC="cc" xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes >> inter-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g >> -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq >> -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 >> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >> -finline-limit=8000 --param inline-u >> ge-function-growth=1000 -mno-align-long-strings >> -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >> -ffreestanding >> /usr/src/sys/dev/nve/if_nve.c:109:23: miibus_if.h: No such file or directory >> mkdep: compile failed >> *** Error code 1 >> >> 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 > > First of all many many thanks. I found out the problem about 5 minutes after I posted this. I still have a few problems about the config, but I'll try to find them out step by step. Nathanael Schweers