Compiling with SMP

root kilroy@ksni.net
Tue Nov 23 17:51:10 1999


HELP! I need some help compiling tulip.c with a SMP system!

After trying the normal SMP Compile command (gcc -D__SMP__ -DMODULE
-D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f
/usr/include/linux/modversions.h ] && echo -DMODVERSIONS`)
i get the following errors
----------------------------------------------
/include/asm/smp.h: In function 'hard_smp_processor_id':
In file included from /usr/include/linux/smp.h:11
                         from /usr/include/linux/sched.h:20
                         from tulip.c:118:
/usr/include/asm/smp.h:209: (this was for the next few lines while after
it , it said:
'APIC_BASE' undeclared (first use in this function
(Each undeclared identifier is reported only once
for each function it apears in.)
'APIC_ID' undeclared (first use in this function)
-----------------------------------------------

i have compiled using the Normal compile command and it does produce the
module tulip.o but this does me no good due to my kernel is 2.2.5-15smp

FYI: Network card was a Linksys Ethernet 10/100 LAN Card
Box used was a Duel Celeron 366, Abit BP6 MB, 64 PC100 SDRAM, 3dfx 3000
16meg AGP