On Sat, Jan 31, 2004 at 02:23:53PM -0500, Mark Fowle wrote: > I am trying to build a new kernel (RHLE 3) - This was a fresh install, > so I run make oldconfig, made a change to the .config file to include > TUN -- did make dep, clean, bzImage and then make modules. It failed. > I cleared it all (make clean, the make mrproper), make oldconfig and > tried to build the existing kernel without any modifications and it too > fails in the make modules stage. Am I missing something?
I'm not entirely familiar with RH's placement of kernel configs in 2.4,
but if there is a copy in /boot/config-`uname -r` or /proc/config.gz,
I would copy that over to your kernel-source directory before you
begin. Something along the lines of:
$ cd /lib/modules/`uname -r`/build
# make mrproper
# cp /boot/config-`uname -r` .config
# make oldconfig
# make menuconfig -> then modify the option for TUN, save, and exit
# make bzImage && make modules && make modules_install -> then move
the new vmlinuz into place per usual and update your bootloader
as necessary
I believe the problem is that by only modifying .config, you're not
also modifying the rules structure. 2.4's kbuild system is bass
ackwards; 2.6's is much more sane.
--
Daniel T. Chen [EMAIL PROTECTED]
GPG key: www.sh.nu/~crimsun/pubkey.gpg.asc
pgp00000.pgp
Description: PGP signature
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
