RE: [newbie] Kernel compilation
Carroll, Thanks, I could get the information in this place and I compiled the 2.4.6 kernel and believe it or not it worked out! Just a little complain about supermount, but it worked anyway. So far, no problem. Unfortunately when I tryed to install the package of the modem's driver I got a warning about that my rpm did not support versions higher than 3. I got a rpm package rpm-4.0.2-5x.i386.rpm (from redhat upgrade ftp site) and tryed to install it. I got a message about db3 dependency. So, I downloaded the package db3-3.1.17-4.5x.i386.rpm and installed it. Then I installed the rpm-4.0.2 and I got a message about a directoy /rpm/libs (but I am not sure about the name) that could not be erased because it was not empty. The bad new is that after that, kdepackage did not work, I tryed to rebuild the databases, but after several minutes the process abort with a core dump or somthing. Could you or anyone else give me some advice about what to do? Thank you in advance for your help. Rafael -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de Carroll Grigsby Enviado el: sábado, 04 de agosto de 2001 19:03 Para: Rafael Lepra CC: [EMAIL PROTECTED] Asunto: Re: [newbie] Kernel compilation Rafael: Look at www.mandrakeuser.org/docs/install/kupgrade.html and www.mandrakeuser.org/docs/install/kupgrade3.html There's also been several discussions on this list -- see the newbies archive on the Mandrake site. Regards, Carroll Rafael Lepra wrote: I have successfully installed 7.1 in my computer, but since I have a Motorola SM56 software modem I need the drivers for it. This drive exist but it only works with kernel 2.4.x. I have never tried to compile a kernel and I am a real newbie to Linux, thus the kernel how-to is a little criptic to me :-) Could anybody give me some advice? Thanks, Rafael Lepra
Re: [newbie] Kernel compilation problems.
Rick Schnicker wrote: I have installed the source and header RPMs so I can recompile the kernel to satisfy the error I get when I try to configure VMWARE. I run xconfig and set everything up (correctly I hope). I do a 'make dep' then 'make clean' then 'make bzImage'. I get this error: In file included from ksyms.c:17: /usr/src/linux/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared (first use in this function) /usr/src/linux/include/linux/kernel_stat.h:44: (Each undeclared identifier is reported only once /usr/src/linux/include/linux/kernel_stat.h:44: for each function it appears in.) make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.13/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.13/kernel' make: *** [_dir_kernel] Error 2 From what I can see it has something to do with SMP settings. I have SMP set to 'no'. So just for giggles I set it to 'yes' and tried again then got this error: init/main.o: In function `check_fpu': init/main.o(.text.init+0x25): undefined reference to `__buggy_fxsr_alignment' make: *** [vmlinux] Error 1 I can't get past this point. I have tried reinstalling the RPMs and starting from scratch with no luck. Anyone have any ideas? Rick Rick, To solve the "buggy" part go back and say "no" to fast_fpu in the cpu section. Larry
RE: [newbie] Kernel compilation problems.
I get that same error and I HAVE SMP. So far I only see it happening with the 2.2.13-22 kernel. I'm going to try to go back to the old kernel and try again.. -Original Message- From: phins13 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 15, 1999 4:47 PM To: [EMAIL PROTECTED] Subject: Re: [newbie] Kernel compilation problems. Rick Schnicker [EMAIL PROTECTED] wrote: I have installed the source and header RPMs so I can recompile the kernel to satisfy the error I get when I try to configure VMWARE. I run xconfig and set everything up (correctly I hope). I do a 'make dep' then 'make clean' then 'make bzImage'. I get this error: In file included from ksyms.c:17: /usr/src/linux/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared (first use in this function) /usr/src/linux/include/linux/kernel_stat.h:44: (Each undeclared identifier is reported only once /usr/src/linux/include/linux/kernel_stat.h:44: for each function it appears in.) make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.13/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.13/kernel' make: *** [_dir_kernel] Error 2 From what I can see it has something to do with SMP settings. I have SMP set to 'no'. So just for giggles I set it to 'yes' and tried again then got this error: init/main.o: In function `check_fpu': init/main.o(.text.init+0x25): undefined reference to `__buggy_fxsr_alignment' make: *** [vmlinux] Error 1 I can't get past this point. I have tried reinstalling the RPMs and starting from scratch with no luck. Anyone have any ideas? Rick I'm not 100% sure, but skip make clean. I do: make xconfig make dep make bzImage make modules make modules_install make install This seems to work for me. I think the "make clean" command is only if you want to recompile your kernel again a different way or from scratch or something like that... Anyways, I hope this helps. Good Luck. SA -- Do you do Linux? :) Get your FREE @linuxstart.com email address at: http://www.linuxstart.com
Re: [newbie] Kernel compilation problems.
- Original Message - Subject: RE: [newbie] Kernel compilation problems. snipped The 2.2.14 kernel is due out soon (kernel.org, not MDK). It might be better to try with that, or the 2.2.13 kernel.org src. -Warren.