Unix Technical Forum

Compiling Linux-2.6.7?

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 02:40 PM
Michael C Schrick
 
Posts: n/a
Default Compiling Linux-2.6.7?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 02:40 PM
Matthew Robinson
 
Posts: n/a
Default Re: Compiling Linux-2.6.7?

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 02:40 PM
Michael C Schrick
 
Posts: n/a
Default Re: Compiling Linux-2.6.7?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 02:41 PM
Steve Youngs
 
Posts: n/a
Default Re: Compiling Linux-2.6.7?

* 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>---|
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 02:42 PM
Michael C Schrick
 
Posts: n/a
Default Re: Compiling Linux-2.6.7?

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.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com