NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MP NOACPI kernel



Hi,

On Wed, 2 Jul 2008, Brian A. Seklecki (Mobile) wrote:
> > On Wed, 2 Jul 2008, Brian A. Seklecki (Mobile) wrote:
>
> Unless something changed, the default kernels on i386t shouldn't have
> SMP.
>
> Either way, there are a dozen kernels included in the latest release of
> varying permutations of ACPI, MP, etc.
>
> ftp://ftp.nl.netbsd.org/pub/NetBSD/NetBSD-4.0/i386/binary/sets/
>
> If not, just build your own kernel (google info on build.sh)

When I try to compile a kernel with both NOACPI and MP. It fails to build.
Here is the error message:

cc -ffreestanding -fno-zero-initialized-in-bss -march=i486
-mtune=pentiumpro -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign
-Wno-attributes -Wextra -Wno-unused-parameter -fno-strict-aliasing -Di386
-I. -I../../../../contrib/dev/ath/netbsd -I../../../../../common/include
-I../../../../arch -I../../../.. -nostdinc -DALTIVEC -DMAXFILES=16384
-DDFLDSIZ=402653184 -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT
-I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string
-I../../../../dist/ipf -c ../../../../arch/i386/i386/cpu.c
cc1: warnings being treated as errors
../../../../arch/i386/i386/cpu.c: In function 'cpu_init_first':
../../../../arch/i386/i386/cpu.c:187: warning: implicit declaration of
function 'lapic_cpu_number'
../../../../arch/i386/i386/cpu.c: In function 'cpu_hatch':
../../../../arch/i386/i386/cpu.c:602: warning: implicit declaration of
function 'lapic_enable'
../../../../arch/i386/i386/cpu.c:603: warning: implicit declaration of
function 'lapic_initclocks'
../../../../arch/i386/i386/cpu.c:614: warning: implicit declaration of
function 'lapic_set_lvt'
../../../../arch/i386/i386/cpu.c:623: error: 'lapic_tpr' undeclared (first
use in this function)
../../../../arch/i386/i386/cpu.c:623: error: (Each undeclared identifier
is reported only once
../../../../arch/i386/i386/cpu.c:623: error: for each function it appears
in.)
*** Error code 1

Any ideas?

Thanks,
Al





Home | Main Index | Thread Index | Old Index