LinuxQuestions.org
Help answer threads with 0 replies.
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-12-2003, 04:20 PM   #1
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
Kernel 2.4.3 compiling errors ;(


Well at first I compiled a 2.4.21 kernel but forgot to back it up and formatted and lost it. I heard there was better support features in the 2.4.3 for my wifi card so I figured I'd give it a go. d/led and un-tared it to my /usr/src and then started. I followed the compiling for newbies thing on this forum and got error 1 and error 2 messages on make dep and everything after it. I don't know what's wrong and yes I have searched the forum for answers but could not find a thread about kernel compiling and these errors. I'm hoping I don't have to start all over again but I probably will ;(

As always big TY in advance to all help recieved. Anyone have some ideas?
 
Old 08-12-2003, 05:25 PM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Posting the error messages would help. This is the script file i made to do all the compilation steps after make xconfig :

Code:
#!/bin/bash
set -e
cp .config ../dot.config
make distclean
cp ../dot.config .config
make oldconfig
make dep
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/bzImage
the 2 cp's are to save a copy of .config in an upper folder, because distclean gets rid of everything unnecessary. You should try at least the first three steps before make dep (cp; make distclean; cp)

Good luck
 
Old 08-13-2003, 02:53 AM   #3
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Original Poster
Rep: Reputation: 30
Where are the config's normally placed? I'm still a bit of a newb ;(

Also the errors are when I do a "make clean":

timer.c:35: conflicting types of 'xtime'
/usr/src/linux/sched.h:540: previous declaration of 'xtime'
make[2]: ***[timer.o] Error 1
make[2]: Leaving directory '/usr/src/linux/kernel'
make[1]: ***[first_rule] Error 2
make[1]: Leaving directory '/usr/src/linux/kernel'
make: *** [_dir_kernel] Error 2


So I'm kinda floating dead in the water for right now. I'll try looking for that dot.config.

Ty again and please follow up =)
 
Old 08-13-2003, 11:11 AM   #4
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
I'm not sure what that error means.... Meanwhile, the .config file is the file that make xconfig creates (or make menuconfig or make config). It's located in /usr/src/linux* folder, so I just make a backup of it into the /usr/src folder, make distclean, and then copy it back. see if that helps your make dep

EDIT

i'm thinking that the problem is because you never cleaned out your folder, and previous source files are conflicting with current ones, so yah, do a make distclean, that should help

Last edited by jqcaducifer; 08-13-2003 at 11:12 AM.
 
Old 08-13-2003, 04:30 PM   #5
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Original Poster
Rep: Reputation: 30
I formatted which is why I lost the old kernel I made. I had just d/led it ;(. I also didn't see the config file in usr/src/linux but I'll check again. Hopefully I'll be able to back it up because I spent quite a while making sure I had just the right settings ;x.

Ty again guys
 
Old 08-13-2003, 04:50 PM   #6
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
I don't really have something to suggest, I'm just curious...how could a lower patchlevel of a specific kernel version have better hardware support than a higher patchlevel? I can understand changes between version numbers, but...this concerns the same version (that is, 2.4). AFAIK earlier 2.4 versions had some instability issues, so having to downgrade in order to get better hardware support seems really strange...?
 
  


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
Errors Compiling the 2.6.12.4 kernel zeroslack Linux - General 2 08-10-2005 09:02 AM
Errors when compiling kernel bornhj Slackware 18 04-14-2005 12:50 AM
Errors Compiling 2.6.10 Kernel! Please Help! Jonescity Slackware 12 02-26-2005 06:01 PM
Errors compiling kernel linuxgamer09483 Linux - Software 9 02-16-2004 09:58 AM
Kernel compiling errors krackerroot Slackware 4 10-27-2003 12:33 AM

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

All times are GMT -5. The time now is 03:05 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