SMP compile failuer on Redhat 6.0

Scott Tyson tysons@deepwell.com
Thu Jul 1 17:58:31 1999


When I try to compile any version for the eepro100.c (latest or one that
came with RH 6.0) it fails with this error:

gcc -D__SMP__ -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall \
-Wstrict_prototypes -O6 -c eepro100.c \
`[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
/usr/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 /usr/include/linux/mm.h:4,
from /usr/include/linux/slab.h:14,
from /usr/include/linux/malloc.h:4,
from eepro100.c:63:
/usr/include/asm/smp.h:209: warning: implicit declaration of function 
`GET_APIC_ID`
/usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this 
function)
/usr/include/asm/smp.h:209: (Each undeclared identifier is reported only 
once
/usr/include/asm/smp.h:209: for each function it appears in.)
/usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this 
function)

Any clues