Re: Fehler beim kernel compilieren

From: Bernd Walter <ticso(at)cicely9.cicely.de>
Date: Tue, 6 May 2003 23:29:35 +0200

On Tue, May 06, 2003 at 07:48:45PM +0200, Stefan Herrmann wrote:
> Hallo,
>
> ich habe Probleme mit dem kompilieren das FreeBSD 5.0 kernel.
> Nach einem "make depend all" bricht der Vorgang beim Linken
> ab. Anbei die Ausgabe des Kompiliervorgangs. Hat da jemand einen tip
> woran das liegen könnte ?
>
> Ciao
> Stefan
> --
> --- Communications powered by FreeBSD ---
> The Power to Serve
>
> [...]
> ===> vesa
> rm -f .depend
> mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
> -I@/dev -I@/../include /usr/src/sys/modules/vesa/../../i386/isa/vesa.c
> /usr/src/sys/modules/vesa/../../dev/syscons/scvesactl.c
> root(at)asterix[0]/sys/i386/compile/ASTERIX$ make
> cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
> -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
> -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
> -mpreferred-stack-boundary=2 -ffreestanding -Werror config.c
> touch hack.c
> cc -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh ../../../conf/newvers.sh ASTERIX
> cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
> -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
> -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
> -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c
> linking kernel
> locore.o: In function `got_common_bi_size':
> locore.o(.text+0x164): undefined reference to `nfs_diskless'
> locore.o(.text+0x171): undefined reference to `nfs_diskless_valid'

Du scheinst ein halbes NFS drin zu haben.

> procfs.o: In function `procfs_init':
> procfs.o(.text+0x249): undefined reference to `pfs_create_link'
> procfs.o(.text+0x271): undefined reference to `pfs_create_dir'
> procfs.o(.text+0x2a3): undefined reference to `pfs_create_file'
> procfs.o(.text+0x2d3): undefined reference to `pfs_create_file'
> procfs.o(.text+0x303): undefined reference to `pfs_create_file'
> procfs.o(.text+0x333): undefined reference to `pfs_create_file'
> procfs.o(.text+0x363): undefined reference to `pfs_create_file'
> procfs.o(.text+0x393): more undefined references to `pfs_create_file' follow
> procfs.o: In function `procfs_init':
> procfs.o(.text+0x4f1): undefined reference to `pfs_create_link'
> procfs.o: In function `_procfs_mount':
> procfs.o(.text+0x533): undefined reference to `pfs_mount'
> procfs.o: In function `_procfs_init':
> procfs.o(.text+0x555): undefined reference to `pfs_init'
> procfs.o: In function `_procfs_uninit':
> procfs.o(.text+0x575): undefined reference to `pfs_uninit'
> procfs.o(.data+0x68): undefined reference to `pfs_unmount'
> procfs.o(.data+0x6c): undefined reference to `pfs_root'
> procfs.o(.data+0x74): undefined reference to `pfs_statfs'

Kann ich jetzt nciht direkt zuordnen, aber du scheinst irgendwas drin
zu haben, was procfs will.

> atkbd.o: In function `atkbd_configure':
> atkbd.o(.text+0x1cb): undefined reference to `atkbdc_configure'
> atkbd.o: In function `atkbd_probe':
> atkbd.o(.text+0x2f4): undefined reference to `atkbdc_open'
> atkbd.o: In function `atkbd_init':
> atkbd.o(.text+0x528): undefined reference to `atkbdc_open'
> atkbd.o: In function `atkbd_test_if':
[...]

Keyboard - ohne keryboard controller ist natürlich nicht.

Kurz gesagt - deine Kernelconfiguration ist Fehlerhaft.
Du solltest ein wenig sorgfälltiger beim editieren sein.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso(at)bwct.de                                  info(at)bwct.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 06 May 2003 - 23:29:53 CEST

search this site