kernel build problem
Paig Chong Woo
cwpaig at valken.org
Wed May 11 07:38:30 PDT 2005
Le 11 mai 2005 à 16:28, Ananth.G a écrit :
>
> i have attached my config file.
>
> regrds,
> ananth.g
>
>
> Sergey S. Ropchan wrote:
>
>
>> Content of kernel config please ? It's look like wrong option in
>> config.
>>
>>
>>
>>
>>> dear all,
>>> im having trouble compiling kernel on 5.3 , i did a `make
>>> depend` and `make`.
>>> The following is the error that i got, i might have missed a
>>> module .... i guess...
>>>
>>> cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-
>>> externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>>> -Winline -Wcast-qual-fformat-extensions -std=c99 -nostdinc -I- -
>>> I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/
>>> altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../
>>> contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../
>>> contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -
>>> finline-limit=8000 --param inline-unit-growth=100 --param large-
>>> function-growth=1000 -mno-align-long-strings -mpreferred-stack-
>>> boundary=2 -ffreestanding -Werror vers.c
>>> linking kernel
<snip bunch of lines>
>>> fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach':
>>> : undefined reference to `fdc_isa_alloc_resources'
>>> ppc.o(.text+0xff7): In function `ppcintr':
>>> : undefined reference to `isa_dmadone'
>>> ppc.o(.text+0x11b3): In function `ppc_write':
>>> : undefined reference to `isa_dmastart'
>>> ppc.o(.text+0x1214): In function `ppc_write':
>>> : undefined reference to `isa_dmadone'
>>> ppc.o(.text+0x1963): In function `ppc_attach':
>>> : undefined reference to `isa_dma_acquire'
>>> ppc.o(.text+0x1976): In function `ppc_attach':
>>> : undefined reference to `isa_dmainit'
>>> sio.o(.text+0x62a): In function `sioprobe':
>>> : undefined reference to `isa_irq_pending'
>>> sio.o(.text+0x7fa): In function `sioprobe':
>>> : undefined reference to `isa_irq_pending'
>>> sio.o(.text+0x81c): In function `sioprobe':
>>> : undefined reference to `isa_irq_pending'
>>> sio.o(.text+0x856): In function `sioprobe':
>>> : undefined reference to `isa_irq_pending'
>>> *** Error code 1
>>>
>>> Stop in /usr/src/sys/i386/compile/kernel_opt.
>>>
>
> #
> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
> #
>
<snip irrelevant parts>
> # Bus support. Do not remove isa, even if you have no isa slots
> #device isa
> #device eisa
> device pci
>
I'm no expert in FreeBSD kernel, but it seems the compile stops on a
isa-related error, and that you removed "device isa" even if the
config file told you not to. :)
Putting back "device isa" should cure it.
--
See you!!!
PAIG Chong Woo.
E-Mail : cw at paig.net
ICQ : 1305386
Page web : http://www.valken.org
---
"The historian is a prophet in reverse."
Friedrich von Schlegel
More information about the freebsd-stable
mailing list