LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2004, 07:26 PM   #1
ezust
LQ Newbie
 
Registered: Aug 2004
Location: Budapest, Europe
Distribution: SuSE, Debian, ZipSlack
Posts: 7

Rep: Reputation: 0
Compiling kernel 2.4 on ZipSlack


Hi all,
i have an old sony vaio notebook with a p150 mmx cpu and a small - 2 GB - hdd with zipslack from the slackware 10 cd.
when i started to compile a new kernel, i got a strange error message. At first i downloaded the 2.4.27, later i patched to 2.4.28-pre1, but the message still remains.
My gcc version is 3.4.0.
There is no .config from older kernel.
make[2]: *** No rule to make target `/usr/src/linux-2.4.28-pre1/include/linux/modversions.h', needed by `sched.o'. Stop.
I don't know how to fix it. Any idea?
 
Old 08-22-2004, 09:22 PM   #2
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Remove the 2.4.28-pre1 you have, then install the kernel-headers and kernel-source packages. That'll give you the correct 2.4.26 kernel, which should work. (You can patch it up later)
 
Old 08-22-2004, 11:54 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
This is the one thing that you can't do under ZipSlack -compile kernels. It has to do with the link in /usr/src.
You'll have to 'migrate' your installation to linux partition. See faq.txt for details.
 
Old 08-23-2004, 12:42 PM   #4
ezust
LQ Newbie
 
Registered: Aug 2004
Location: Budapest, Europe
Distribution: SuSE, Debian, ZipSlack
Posts: 7

Original Poster
Rep: Reputation: 0
Hello!

gnashley: on this machine i have not enough space to create a new partition. if i haven't enough free space on the windows partition, i can zip the Linux directory. this UMSDOS trick is the best for me.

WMD: i replaced the kernel source as you suggested, but i got the error again.

Thank you for helping. Today morning i had a little time for playing with the kernel. I tested the compiling with different kernel versions. Later i replaced/downgraded the 3.4 GCC to 3.3. TADAA! At last, with the older GCC i created a 100% working kernel from 2.4.26 and 2.4.27 with ZipSlack.
Conclusion: It is possible to compile a 2.4.x kernel with GCC 3.3.4
And now i'm very happy with my little Linux
 
Old 08-23-2004, 02:16 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Oh, that is good to know. I saw that somewhere in the official umsdos docs but glad to know it is no longer valid or whatever.
 
Old 08-31-2004, 02:10 PM   #6
ezust
LQ Newbie
 
Registered: Aug 2004
Location: Budapest, Europe
Distribution: SuSE, Debian, ZipSlack
Posts: 7

Original Poster
Rep: Reputation: 0
Now i know, the ZipSlack works well with the 2.4 kernel tree. But here is the 2.6 series There is no UMSDOS support
 
Old 08-31-2004, 11:33 PM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
No umsdos support is planned for the 2.6 kernel series.
 
Old 09-01-2004, 04:59 AM   #8
ezust
LQ Newbie
 
Registered: Aug 2004
Location: Budapest, Europe
Distribution: SuSE, Debian, ZipSlack
Posts: 7

Original Poster
Rep: Reputation: 0
On this page i found the following sentence:
"I've begun work on 2.6 UMSDOS support". I trust to hear good news soon
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Slack 8.1 Zipslack 9.1 compiling 2.6.0 o0sketchdude0o Slackware 4 01-07-2004 03:32 PM
Kernel compiling - zipslack tangoman Slackware 1 12-09-2003 05:37 PM
compiling programs on zipslack gumariner Slackware 4 11-06-2003 02:39 PM
Upgrading Kernel on Zipslack 8 Cypher69 Slackware 0 10-13-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration