Error in Compiling driver on a Dual Processor Machine (smp)

Fred Wong 6fpw@qlink.queensu.ca
Sat Oct 2 14:36:28 1999


I have two Celeron 366 using a Tyan Tiger 100 (S1832DL) Dual Processor
Motherboard.  When I compile using gcc I received the error msgs as
stipulated in the attached files and at the bottom.  I'm using RedHat's
distribution of Linux (RedHat 6.0) and a Macronix MX98715 Ethernet Adapter.

TIA,
Fred

Error Msg:

/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 tulip.c:118:
/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)