LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Compiling linux-2.6.18.1 (https://www.linuxquestions.org/questions/linux-general-1/compiling-linux-2-6-18-1-a-500955/)

mhelal 11-12-2006 04:09 PM

Compiling linux-2.6.18.1
 
Hi

I have linux version 2.6.18-1.2200.fc5 #1 Sat Oct 14 16:59:26 and was trying to install VMware-player-1.0.2-29634, and it said :

None of the pre-built vmmon modules for VMware Player is suitable for your
running kernel

it requested to rebuild the module after rebuilding the kernel for my machine, So I downloaded the kernel linux-2.6.18.1 (I think this is the closest match to what I have), and started compiling it, the configuration step was done by loading the old configuration, while making the kernel I received these errors:

ld: kernel/built-in.o: No such file: No such file or directory
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2

I have a /usr/src/redhat/ that include folders: BUILD, RPMS, SOURCES, SPECS, SPRMS, where the SOURCES folder is empty, because I didn't download the source or compiled before

So, I extracted the the new Kernel source to /usr/src/linux-2.6.18.1, and started building from there, I am just worried about using wrong paths as well,

any help is very much appreciated, thank you in advance,

Regards,

Manal

tangle 11-13-2006 09:45 AM

You can try this, no garranties here. To configure a new kernel with against an old one.
1. Extract the kernel in /usr/src (I think that is the where RH keeps the source), run make oldconfig. Answer all the questions.
2. Then compile and build the kernel.

The make oldconfig should pull the .config file from the /usr/src/linux directory. So do not change the link until after to build the kernel. I have have done it once this way and messed it up a couple time. I am not kernel expert though.

Brian1 11-20-2006 04:45 PM

Check this post out. Do the vmware-any-any-tools thing. Then if still complains look down further and the reference to version.h. Let me what happens. The loaction is /usr/src/kernel-version/include/linux/version.h

Brian


All times are GMT -5. The time now is 08:44 AM.