LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-11-2006, 05:22 PM   #1
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Rep: Reputation: 15
Kernel 2.4.19 doesn't compile + more .....


Dear guys,

I recently bought a couple of cisco aironet wlan pcmcia cards from a second hand shop, it was a bargain so i got them two.

Now today I installed kismet on a laptop and noticed in the readme that the driver in kernel 2.4.19+ are quite unstable. I then downloaded a 2.4.19 kernel so I could use the card properly. Now I just have realised that if they say 2.4.19+ then that might mean that 2.4.19 might have a bad driver too hmmmm.....

Anyway I configured the kernel, did make dep, all went ok. Then I ran make bzImage amd the whole thing came with some errors, I will post them later on since the laptop is busy downloading something at the moment.

Then I downloaded a 2.4.10 to see if that was gonna work. Did tar -xjvf linux-2.4.10..... I could see a lot of text scrolling on the screen and at the end .... well the extracted kernel sources couldn't be found anywhere!? Now I thought that I might not have any space left on the hard drive so tried downloading other things to see and they all came down ok... Oh by the way if someone knows a good command to check how much space is left on a hard drive, that would be warmly welcome, I tried with fdisk and other stuff but in vain.

Ok sorry if this is confusing but all that mess came up just right now and i'm gonna make some research on google, I posted this in the meantime just in case I can't find some helpful answers.

Oh by the way, I'm running slackware 11 with custom 2.6.18 kernel

Thanks

Last edited by Chikne; 10-11-2006 at 05:24 PM.
 
Old 10-11-2006, 05:43 PM   #2
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Quote:
Oh by the way if someone knows a good command to check how much space is left on a hard drive, that would be warmly welcome
df will show the free space on the disk, use the -h option to make the readout more human friendly. If your are running KDE there is a GUI tool as well.

Dennisk
 
Old 10-11-2006, 05:45 PM   #3
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Ok I've solved the tar thing, the problem was that it's been quite a long day =)

however here's what I get when typing make bzImage for kernel 2.4.12:

bash-3.1# make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.12/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux-2.4.12/include/asm/unistd.h:347: warning: conflicting types for built-in function '_exit'
. scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 " -C kernel
make[1]: Entering directory `/usr/src/linux-2.4.12/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.12/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c:212: error: conflicting types for 'reschedule_idle'
sched.c:209: error: previous declaration of 'reschedule_idle' was here
sched.c:212: error: conflicting types for 'reschedule_idle'
sched.c:209: error: previous declaration of 'reschedule_idle' was here
sched.c:357: error: conflicting types for 'wake_up_process'
/usr/src/linux-2.4.12/include/linux/sched.h:565: error: previous declaration of 'wake_up_process' was here
sched.c:357: error: conflicting types for 'wake_up_process'
/usr/src/linux-2.4.12/include/linux/sched.h:565: error: previous declaration of 'wake_up_process' was here
sched.c:395: error: conflicting types for 'schedule_timeout'
/usr/src/linux-2.4.12/include/linux/sched.h:155: error: previous declaration of 'schedule_timeout' was here
sched.c:395: error: conflicting types for 'schedule_timeout'
/usr/src/linux-2.4.12/include/linux/sched.h:155: error: previous declaration of 'schedule_timeout' was here
sched.c:750: error: conflicting types for '__wake_up'
/usr/src/linux-2.4.12/include/linux/sched.h:557: error: previous declaration of '__wake_up' was here
sched.c:750: error: conflicting types for '__wake_up'
/usr/src/linux-2.4.12/include/linux/sched.h:557: error: previous declaration of '__wake_up' was here
sched.c:760: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.12/include/linux/sched.h:558: error: previous declaration of '__wake_up_sync' was here
sched.c:760: error: conflicting types for '__wake_up_sync'
/usr/src/linux-2.4.12/include/linux/sched.h:558: error: previous declaration of '__wake_up_sync' was here
sched.c:770: error: conflicting types for 'complete'
/usr/src/linux-2.4.12/include/linux/completion.h:31: error: previous declaration of 'complete' was here
sched.c:770: error: conflicting types for 'complete'
/usr/src/linux-2.4.12/include/linux/completion.h:31: error: previous declaration of 'complete' was here
sched.c:780: error: conflicting types for 'wait_for_completion'
/usr/src/linux-2.4.12/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
sched.c:780: error: conflicting types for 'wait_for_completion'
/usr/src/linux-2.4.12/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
sched.c:815: error: conflicting types for 'interruptible_sleep_on'
/usr/src/linux-2.4.12/include/linux/sched.h:562: error: previous declaration of 'interruptible_sleep_on' was here
sched.c:815: error: conflicting types for 'interruptible_sleep_on'
/usr/src/linux-2.4.12/include/linux/sched.h:562: error: previous declaration of 'interruptible_sleep_on' was here
sched.c:826: error: conflicting types for 'interruptible_sleep_on_timeout'
/usr/src/linux-2.4.12/include/linux/sched.h:563: error: previous declaration of 'interruptible_sleep_on_timeout' was here
sched.c:826: error: conflicting types for 'interruptible_sleep_on_timeout'
/usr/src/linux-2.4.12/include/linux/sched.h:563: error: previous declaration of 'interruptible_sleep_on_timeout' was here
sched.c:839: error: conflicting types for 'sleep_on'
/usr/src/linux-2.4.12/include/linux/sched.h:559: error: previous declaration of 'sleep_on' was here
sched.c:839: error: conflicting types for 'sleep_on'
/usr/src/linux-2.4.12/include/linux/sched.h:559: error: previous declaration of 'sleep_on' was here
sched.c:850: error: conflicting types for 'sleep_on_timeout'
/usr/src/linux-2.4.12/include/linux/sched.h:560: error: previous declaration of 'sleep_on_timeout' was here
sched.c:850: error: conflicting types for 'sleep_on_timeout'
/usr/src/linux-2.4.12/include/linux/sched.h:560: error: previous declaration of 'sleep_on_timeout' was here
sched.c: In function `reparent_to_init':
sched.c:1255: error: syntax error before "__FUNCTION__"
sched.c: At top level:
sched.c:209: warning: 'reschedule_idle' declared `static' but never defined
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.12/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.12/kernel'
make: *** [_dir_kernel] Error 2
 
Old 10-11-2006, 05:46 PM   #4
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dennisk
df will show the free space on the disk, use the -h option to make the readout more human friendly. If your are running KDE there is a GUI tool as well.

Dennisk
Thanks for that =)
 
Old 10-11-2006, 07:10 PM   #5
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Tried a 2.4.16 kernel since it seems to be the more stable one of the 2.4.10/18 range, got the same error message as above when trying to do a custom compile.

However this comes up when trying a default compile:

bash-3.1# make bzImage
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.16/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.16/include/linux/sched.h:23,
from /usr/src/linux-2.4.16/include/linux/mm.h:4,
from /usr/src/linux-2.4.16/include/linux/slab.h:14,
from /usr/src/linux-2.4.16/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.16/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux-2.4.16/include/asm/smp.h:62: error: previous declaration of 'smp_send_reschedule' was here
/usr/src/linux-2.4.16/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/usr/src/linux-2.4.16/include/asm/smp.h:62: error: previous declaration of 'smp_send_reschedule' was here
In file included from /usr/src/linux-2.4.16/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux-2.4.16/include/asm/unistd.h:348: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1
 
Old 10-11-2006, 08:17 PM   #6
Chikne
Member
 
Registered: Jul 2006
Distribution: Slackware 11
Posts: 140

Original Poster
Rep: Reputation: 15
Anyone who's been reading this post should ignore it, the driver on the old kernel is actually just as buggy on those as it is on the new ones. I should have spent more time on RTFM....

My apologies guys
 
  


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
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 06:51 AM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

All times are GMT -5. The time now is 12:44 AM.

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