PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : FreeBSD 5.0 Kernel Compilation Error



Dr. Doo
25.07.03, 23:34
Einen wunderschoenen guten Abend' allerseits!

Folgendes Problem beim Kompilieren der FreeBSD 5.0 Source:

Waehrend des 'make depend' gibts die folgende Fehlermeldung. Es spielt dabei keine Rolle, welche Kernel Konfiguration ich verwende. Auch die GENERIC Konfig. scheitert an dieser Stelle:

---------
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../in
clude -I/usr/include /usr/src/sys/modules/aha/../../dev/aha/aha.c /usr/src/sys/modu
les/aha/../../dev/aha/aha_isa.c
===> aic7xxx
===> aic7xxx/aicasm
===> aic7xxx/ahc
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
( cd /usr/src/sys/modules/aic7xxx/ahc/../aicasm; make aicasm; )
cc -O -pipe -mcpu=pentiumpro -nostdinc -I/usr/include -I. -I/usr/src/sys/modules/aic
7xxx/aicasm/../../../dev/aic7xxx/aicasm -c /usr/src/sys/modules/aic7xxx/aicasm/..
/../../dev/aic7xxx/aicasm/aicasm.c
cc -O -pipe -mcpu=pentiumpro -nostdinc -I/usr/include -I. -I/usr/src/sys/modules/aic
7xxx/aicasm/../../../dev/aic7xxx/aicasm -c /usr/src/sys/modules/aic7xxx/aicasm/..
/../../dev/aic7xxx/aicasm/aicasm_symbol.c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:52:19: fcntl.h: No such file or dire
ctory
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function `symtable_open':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: `O_CREAT' undeclared (first use
in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: (Each undeclared identifier is
reported only once
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: for each function it appears in
.)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: `O_NONBLOCK' undeclared (first
use in this function)
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:134: `O_RDWR' undeclared (first use
in this function)
*** Error code 1

Stop in /usr/src/sys/modules/aic7xxx/aicasm.
*** Error code 1

Stop in /usr/src/sys/modules/aic7xxx/ahc.
*** Error code 1

Stop in /usr/src/sys/modules/aic7xxx.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/MYKERNEL.
bsdbox#
---------

Auch das aktivieren/deaktivieren diverser optionen/devices bringt keine Besserung.


Irgendwer ne Idee? Bei Google hab ich nichts passendes gefunden. Ansonsten muss ich mich halt mal an die Mailingliste wenden...

Best Regards,
Alexander

zander
26.07.03, 09:22
fcntl.h wird vermißt (fcntl.h: No such file or directory), vermutlich ist Deine Installation unvollständig.

Berufspenner
26.07.03, 12:34
Hi@all

Hast du die Kernelsourcen von der CD oder aus dem Netz?

Cu
André

Edit: Diese Anleitung kennst du schon, oder?
http://www.de.freebsd.org/doc/de_DE.ISO8859-1/books/handbook/kernelconfig-building.html

Dr. Doo
26.07.03, 13:21
ich weiss zwar net wieso die sourcen im eimer sein sollten, aber ich vermute es auch schon fast. ich hab sie von der cd.

und das bauen des kernels an sich is nicht das problem nur halt dass er nen compile error hat.

werd wohl mal meine kernel sources updaten

Berufspenner
26.07.03, 13:33
Original geschrieben von Dr. Doo
werd wohl mal meine kernel sources updaten Würde ich auch mal empfehlen.

Cu
André