Re: T-DSL und -CURRENT

From: Kirill Ponomarew <kirill.ponomarew(at)t-online.de>
Date: Thu, 11 Apr 2002 13:12:48 +0200

On Wed, Apr 10, 2002 at 03:54:07PM +0200, Oliver Fromme wrote:
| Ach ja, noch etwas (falls Du es noch nicht weist):
| Du mochtest >options WITNESS< aus dem Kernel rauswerfen
| (ist bei -current per Default drin), sonst ist der Router
| etwa so schnell wie eine Schildkrote im Ruckwartsgang. Die
| >options INVARIANTS< konntest Du auch rauswerfen, das macht
| aber keinen so extremen Unterschied. Durch das Weglassen
| dieser Optionen machst Du es allerdings evtl. schwerer,
| Bugs in -current aufzuspuren ...

jetzt hab ich -CURRENT, aber kann keinen eigenen Kernel kompilieren was
sehr komisch ist. Wenn ich GENERIC kompiliere kriege ich keine Fehler
Meldungen und er wird in /boot/kernel/kernel installiert aber mit meinem
eigenem Kernel ist was interessates:

su-2.05a# config KRION
Kernel build directory is ../compile/KRION
Don't forget to do a ``make depend''
You may need to use the make -DNO_WERROR flag if you hit unfixed
warnings.
su-2.05a# cd ../compile/KRION/
su-2.05a# make depend
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
make _kernel-depend
if [ -f .olddep ]; then mv .olddep .depend; fi
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs env MKDEP_CPP="cc
-E" CC="cc" mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g
-nostdinc -I- -I. -I../../.. -I../../../dev
-I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-I../../../../include -D_KERNEL -ffreestanding -include opt_global.h
-fno-common -mpreferred-stack-boundary=2
In file included from ../../../dev/fxp/if_fxp.c:70:
../../../dev/pci/pcivar.h:156: pci_if.h: No such file or directory
In file included from ../../../isa/atkbd_isa.c:46:
../../../isa/isavar.h:36: isa_if.h: No such file or directory
In file included from ../../../isa/atkbdc_isa.c:44:
../../../isa/isavar.h:36: isa_if.h: No such file or directory
In file included from ../../../isa/fd.c:84:
../../../isa/isavar.h:36: isa_if.h: No such file or directory
In file included from ../../../isa/psm.c:84:
../../../isa/isavar.h:36: isa_if.h: No such file or directory
In file included from ../../../isa/syscons_isa.c:62:
../../../isa/isavar.h:36: isa_if.h: No such file or directory
In file included from ../../../isa/vga_isa.c:55:
../../../isa/isavar.h:36: isa_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Zuerts wollte GENERIC auch kein "make depend" tun, irgendwelche .h
Header wurde nicht gefunden, dann hab ich CFLAGS= -pipe -O und
COPTFLAGS= -pipe -O2 in /etc/make.conf auskommentiert und dann lief's.
Aber mein Kernel laesst sich immer noch nicht kompilieren.

Kirill


To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 11 Apr 2002 - 13:13:08 CEST

search this site