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 08-09-2003, 09:22 AM   #1
garlam
LQ Newbie
 
Registered: Aug 2003
Location: Pavia, Italy
Distribution: Slackware 9.0
Posts: 20

Rep: Reputation: 0
Kernel 2.4.21


I have a Slackware 9.0 whit kernel version 2.4.20
I tryed to compile the 2.4.21 version but this error occours:

make[3]: Entering directory `/usr/src/linux-2.4.21/net/core'
...
...
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=dev -c -o dev.o dev.c
dev.c:605: redefinition of `dev_get_by_flags'
dev.c:561: `dev_get_by_flags' previously defined here
dev.c:627: redefinition of `__dev_get_by_flags'
dev.c:583: `__dev_get_by_flags' previously defined here
make[3]: *** [dev.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21/net/core'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21/net/core'
make[1]: *** [_subdir_core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21/net'
make: *** [_dir_net] Error 2

I don't have any LAN cards, but only a 56k modem.

Who can help me ???
 
Old 08-09-2003, 03:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'd recommend running a
make mrproper
and then start the kernel config all
over, or copy the config of the old
kernel ... be aware that even if you
only have a modem you'll still need
to compile network support into the
kernel if you want to be able to use
the internet (as opposed to to using
your modem for BBS or Faxing solely)

Cheers,
Tink
 
  


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
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
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 07:22 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