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 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I find it quite strange that make stops with the nve module, as the GENERIC compiles, and I've got an nVidia nForce2 ethernet chip onboard. Thx for any help. Regards Nathanael Schweers
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 1If 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 -------------- 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/freebsd-stable/attachments/20061121/3e8139f2/attachment.pgp
Hello All, (Mr. Schweers, this is not directed to you.) I'm not offering any comment or suggestion regarding Mr. Schweers problem . . .but from his previously posted make-output regarding the following, is the "Stop in" message literally as copied by Mr. Schweers? If so, then have the developers sunk to the level that such coded error message reporting resorts to such offensive language? I don't want to start a "flammer" here (I went to college in the sixties) but I've worked as a professional programmer/analyst/software engineer for thirty years. I would never code such language into an error/diagnostic message (regardless of how much I'd like to). Such language is sophmoric, and denigrates the reputation of FreeBSD as a professionally acceptable product . . .or is it possible that the source code has been hacked or corrupted and is reporting with language as would be expected from such irresponsible behavior?> mkdep: compile failed > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/BRAINF*#!. . . .yes, the "F" > word. > *** Error code 1----- Original Message ----- From: "Nathanael Schweers" <nschweers@gmx.de> To: "FreeBSD mailing list" <freebsd-stable@freebsd.org> Sent: Tuesday, November 21, 2006 12:11 PM Subject: kernel compile fails with error 1