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

Need help compiling VMWare modules.



I am having trouble compiling the VMWare loadable modules.  Every time I try to compile, I get the following error:

In file included from /usr/src/kernel-headers-2.2.9/include/linux/smp.h:11,
                 from /usr/src/kernel-headers-2.2.9/include/linux/sched.h:20,
                 from .././linux/driver.c:21:
/usr/src/kernel-headers-2.2.9/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/src/kernel-headers-2.2.9/include/asm/smp.h:209: warning: implicit declaration of function `GET_APIC_ID'
/usr/src/kernel-headers-2.2.9/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this function)
/usr/src/kernel-headers-2.2.9/include/asm/smp.h:209: (Each undeclared identifier is reported only once
/usr/src/kernel-headers-2.2.9/include/asm/smp.h:209: for each function it appears in.)
/usr/src/kernel-headers-2.2.9/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this function)

I am using an SMP system.  I can get the Uniprocessor modules to compile, but I can't for the life of me get the SMP modules to compile.  I have jacked with my /usr/include directory so much
trying to figure this out, I've probably destroyed it beyond all repair.  I have read the articles about how the kernel headers "should", "did", and "now" work (That was MOST confusing by the
way) and I still can't figure out how to get the damn things to compile!  

Any help would be most appreciated!

Jon
jmarler@planetsites.com


Reply to: