Solved: More problems building latest 8.0 kernel

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

 



On Mon, 4 Nov 2002, Steven W. Orr wrote:

=>As of 8.0, running make mrproper is now required. (It didn't used to be.)
=>
=>I downloaded the kernel-sources rpm for 2.4.18-17... to do a new kernel. I 
=>ran into problems. If I do a make mrproper first, it craps out down the 
=>line in the make dep. If I don't do the mrproper, I get unresolved symbols 
=>during the bzImage. So I downloaded the src rpm for the kernel and did an 
=>rpmbuild -ba to see what Red Hat is doing for a kernel build. I haven't 
=>had a chance to do a full analysis yet and I won't have time to get to it 
=>until sometime tomorrow. But I'd like to ask if someone can save me a 
=>couple of hours work by just simply telling me what the right set of steps 
=>are.
=>
=>In addition to the mrproper, clean, dep, bzImage, modules and 
=>modules_install, I'm also seeing a couple of other things happening.
=>
=>make -s oldconfig_nonint
=>make -s include/linux/version.h
=>
=>
=>Anyone know the correct exact sequence for a kernel build these days?
=>
=>TIA
I got a new kernel built last night. I just want to pass on what I 
learned.

I never had a need to do an mrproper before 8.0. Now that 8.0 is out, I 
found that mrproper is required. The problem shifted again when the 
upgrade came out as 2.4.18-17.8.0. It turns out that after the mrproper is 
done and you have created your .config file, you must run make oldconfig. 
The spec file actually does an oldconfig_nonint. After that, the dep, 
bzImage, modules works fine. Note that the clean is not needed after the 
mrproper since mrproper does a clean. 

I really wish that that kernel docs for how to build would be updated. 
They're really quite useless.

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? steveo@syslang.net



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux