Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 16:37:25 +0200
From:      Paig Chong Woo <cwpaig@valken.org>
To:        ananth_g@sifycorp.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel build problem
Message-ID:  <F950A680-3116-4233-A30F-3331FFAF2F44@valken.org>
In-Reply-To: <42821695.5060405@sifycorp.com>
References:  <42820E33.5000205@sifycorp.com> <1115821224.47297.3.camel@sirius> <42821695.5060405@sifycorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Le 11 mai 2005 =E0 16:28, Ananth.G a =E9crit :
>
> 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 =20
>> config.
>>
>>
>>
>>
>>> dear all,
>>>   im having trouble compiling kernel on 5.3 , i did a `make =20
>>> depend` and `make`.
>>> The following is the error that i got, i might have missed a =20
>>> module .... i guess...
>>>
>>> cc -c -O -pipe -march=3Dpentiumpro -Wall -Wredundant-decls -Wnested-=20=

>>> externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith =20=

>>> -Winline -Wcast-qual-fformat-extensions -std=3Dc99  -nostdinc -I-  -=20=

>>> I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/=20
>>> altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../=20=

>>> contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../=20
>>> contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -=20
>>> finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-=20=

>>> function-growth=3D1000  -mno-align-long-strings -mpreferred-stack-=20=

>>> boundary=3D2 -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 =20
isa-related error, and that you removed "device isa" even if the =20
config file told you not to. :)

Putting back "device isa" should cure it.


--=20

See you!!!

PAIG Chong Woo.

E-Mail : cw@paig.net
ICQ : 1305386
Page web : http://www.valken.org

---

"The historian is a prophet in reverse."

Friedrich von Schlegel





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F950A680-3116-4233-A30F-3331FFAF2F44>