This is a discussion on Compiling Linux-2.6.7? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I'm trying to create a diskless client using Slack 10 and the 2.6.7 kernel. I installed the following kernel ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm trying to create a diskless client using Slack 10 and the 2.6.7 kernel. I installed the following kernel packages: bash-2.05b# cd /cdrom/testing/packages/linux-2.6.7 bash-2.05b# installpkg alsa-driver-1.0.5a_2.6.7-i486-1 bash-2.05b# installpkg kernel-modules-2.6.7-i486-2 bash-2.05b# installpkg kernel-generic-2.6.7-i486-1 bash-2.05b# installpkg kernel-source-2.6.7-noarch-1 The install scripts created the proper links to the 2.6.7 kernel, so I proceeded with the following set of commands: bash-2.05b# cd /usr/src/linux bash-2.05b# cp /boot/config .config bash-2.05b# make oldconfig scripts/kconfig/conf -o arch/linux/Kconfig can't find file arch/linux/Kconfig make[1]: *** [oldconfig] Error 1 make: *** [oldconfig] Error 2 bash-2.05b# make menuconfig scripts/kconfig/conf -o arch/linux/Kconfig can't find file arch/linux/Kconfig make[1]: *** [oldconfig] Error 1 make: *** [oldconfig] Error 2 Has anyone else run into this problem? thanks in advance, Mike |
| |||
| i would guess that its because your using a 2.4 series .config on a 2.6 series kernel. do make proper and start again also, now to compile the kernel its this: make mrproper (optional) make menuconfig (or xconfig or gconfig or oldconfig or config) make bzImage make modules make modules_install |
| |||
| Matthew Robinson <mattyrobinson69@hotmail.com> wrote: > i would guess that its because your using a 2.4 series .config on a 2.6 > series kernel. do make proper and start again > > also, now to compile the kernel its this: > > make mrproper (optional) Makefile:450: /usr/src/linux-2.6.7/arch/linux/Makefile: No such file or directory make: *** No rule to make target `/usr/src/linux-2.6.7/arch/linux/Makefile'. Stop. > make menuconfig (or xconfig or gconfig or oldconfig or config) > make bzImage > make modules > make modules_install I don't know if this has anything to do with this? bash-2.05b# uname -m i686 and I noticed that there is no i686 under the arch directory. thanks, Mike |
| |||
| * Matthew Robinson <mattyrobinson69@hotmail.com> writes: > also, now to compile the kernel its this: [...] > make bzImage > make modules These 2 can be combined by doing a simple `make'. Do `make help' to see. -- |---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---| | Genius - Is the ability to reduce | | the complicated to the simple | |----------------------------------<steve@youngs.au.com>---| |
| ||||
| Solved! bash-2.05b# export ARCH=i386 bash-2.05b# make oldconfig bash-2.05b# make menuconfig [...] thanks Steve Youngs <steve@youngs.au.com> wrote: > * Matthew Robinson <mattyrobinson69@hotmail.com> writes: > > > also, now to compile the kernel its this: > > [...] > > > make bzImage > > make modules > > These 2 can be combined by doing a simple `make'. Do `make help' to > see. > > |