Ok, I figured something out. The second problem (not being able to build vmmon) is caused by fixing the first problem (the uniprocessor, multiprocessor problem). To fix the first problem, I had to add #define CONFIG_SMP 1 and comment out #undef CONFIG_SMP to my autoconf.h. So I did that and then I added a pause in the vmware-config.pl so that I could change it back to #define CONFIG_SMP right before it tries to build the modules. It got past the previous error, but now I get a new build error. Does anyone have any suggestions as to why I even have to edit my autoconf.h in the first place? I think there are some features missing in my kernel.
/usr/src/linux/include/linux/modules/ksyms.ver:682:1: warning: this is the location of the previous definition ../linux/hostif.c: In function `HostIF_APICBase': ../linux/hostif.c:1513: `FIX_APIC_BASE' undeclared (first use in this function) ../linux/hostif.c:1513: (Each undeclared identifier is reported only once ../linux/hostif.c:1513: for each function it appears in.) ../linux/hostif.c: In function `HostIF_IOAPICBase': ../linux/hostif.c:1770: `FIX_IO_APIC_BASE_0' undeclared (first use in this function) make[2]: *** [hostif.o] Error 1 make[2]: Leaving directory `/tmp/vmware-config7/vmmon-only/driver-2.4.20-gentoo-r3' make[1]: *** [driver] Error 2 make[1]: Leaving directory `/tmp/vmware-config7/vmmon-only' make: *** [auto-build] Error 2 make: Leaving directory `/tmp/vmware-config7/vmmon-only' Unable to build the vmmon module --- Jeff Greene <[EMAIL PROTECTED]> wrote: > vmware-workstation-4.0.4460 > > is the version I installed from Portage. I used > vmware-config.pl and I first ran into a problem with > something about my kernel headers being uniprocessor > but my kernel being multiprocessor. I found the > workaround to that problem on the vmware web site. I > had to edit my autoconf.h. So after I got past that > point, vmware-config.pl tried to compile the vmmon > module and it stopped with the error below. > > --- Simon Mushi <[EMAIL PROTECTED]> wrote: > > Dear Jeff, > > > > What versionof vmware-workstation are you trying > to > > install? I am curring > > running the 2.4.20-gentoo-r5 kernel and I had no > > problems installing both > > the 3.2 > > and later upgrading to 4.0 vmware versions. Are > you > > running the > > ./vmware-config.pl script or trying to compile > > everything by hand? > > > > Best > > > > Simon > > > > > > On Sun, 13 Jul 2003, Jeff Greene wrote: > > > > > I'm trying to install VMware Workstation and I'm > > using > > > gentoo-sources-2.4.20-r3 as my kernel. I'm > having > > > some problems building the vmmon module. I > looked > > at > > > the VMware troubleshooting web page and it says > > that > > > they do not support certain kernels yet. I was > > > wondering if any Gentoo users have installed > > VMware > > > successfully and with what kernels. Here's the > > build > > > errors I get when trying to build vmmon. > > > > > > make: Entering directory > > > `/tmp/vmware-config1/vmmon-only' > > > make[1]: Entering directory > > > `/tmp/vmware-config1/vmmon-only' > > > make[2]: Entering directory > > > > > > `/tmp/vmware-config1/vmmon-only/driver-2.4.20-gentoo-r3' > > > make[2]: Leaving directory > > > > > > `/tmp/vmware-config1/vmmon-only/driver-2.4.20-gentoo-r3' > > > make[2]: Entering directory > > > > > > `/tmp/vmware-config1/vmmon-only/driver-2.4.20-gentoo-r3' > > > In file included from > > > /usr/src/linux/include/linux/smp.h:14, > > > from > > > /usr/src/linux/include/linux/sched.h:23, > > > from ../linux/driver.c:17: > > > /usr/src/linux/include/asm/smp.h: In function > > > `hard_smp_processor_id': > > > /usr/src/linux/include/asm/smp.h:90: warning: > > implicit > > > declaration of function `GET_APIC_ID' > > > /usr/src/linux/include/asm/smp.h:90: `APIC_BASE' > > > undeclared (first use in this function) > > > /usr/src/linux/include/asm/smp.h:90: (Each > > undeclared > > > identifier is reported only once > > > /usr/src/linux/include/asm/smp.h:90: for each > > function > > > it appears in.) > > > /usr/src/linux/include/asm/smp.h:90: `APIC_ID' > > > undeclared (first use in this function) > > > /usr/src/linux/include/asm/smp.h: In function > > > `logical_smp_processor_id': > > > /usr/src/linux/include/asm/smp.h:96: warning: > > implicit > > > declaration of function `GET_APIC_LOGICAL_ID' > > > /usr/src/linux/include/asm/smp.h:96: `APIC_BASE' > > > undeclared (first use in this function) > > > /usr/src/linux/include/asm/smp.h:96: `APIC_LDR' > > > undeclared (first use in this function) > > > make[2]: *** [driver.o] Error 1 > > > make[2]: Leaving directory > > > > > > `/tmp/vmware-config1/vmmon-only/driver-2.4.20-gentoo-r3' > > > make[1]: *** [driver] Error 2 > > > make[1]: Leaving directory > > > `/tmp/vmware-config1/vmmon-only' > > > make: *** [auto-build] Error 2 > > > make: Leaving directory > > > `/tmp/vmware-config1/vmmon-only' > > > Unable to build the vmmon module > > > > > > __________________________________ > > > Do you Yahoo!? > > > The New Yahoo! Search - Faster. Easier. Bingo. > > > http://search.yahoo.com > > > > > > -- > > > [EMAIL PROTECTED] mailing list > > > > > > > > > > > > -- > > [EMAIL PROTECTED] mailing list > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > -- > [EMAIL PROTECTED] mailing list > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com -- [EMAIL PROTECTED] mailing list