LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2003, 07:53 PM   #1
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
Installing network drivers gives error...


I'm building a LFS system for my netserver, and i compiled the kernel and all, and it booted in fine with it etc, but then i accidentally deleted the source...then when i was compiling these network drivers, i was getting the error of "Kernel source not found". So i grabbed the source again, put it in /usr/src/linux-2.4.19 and tried again...then it gave me an error that these sources haven't been configured...so ive configured them to what i _thought_ i had before...no doubt i may have missed a few options...could this be contributing to the following error? maybe i have to compile the kernel completely with the new configs for it to work???

also, after i had selected the new options for the kernel, i did make dep after it...


*insert some funny characters here*/bin/sh: -W: unrecognised option
then theres a listing of --help
and this:

Makefile:180: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop.


But the kernel version is 2.4.19 as this proves!: /usr/src/linux-2.4.19

hopefully i haven't confused you guys...
 
Old 01-14-2003, 02:39 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you should rebuild the kernel if you don't have the config file, everything needs to match

you should put a copy of your config file in /boot/

/boot/config-2.4.19

this way you will have it next time.
 
Old 01-14-2003, 06:04 AM   #3
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
yeah but i was hoping not having to recompile the kernel completely...looks like i might as well with the new 2.4.20...


In LFS, you have to use kernel headers for a compilation of some program, can't remember what it was though...does it matter if i use a newer/different kernel now? or should all be good?
 
Old 01-14-2003, 06:20 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you are supposed to leave the original headers in place, but nobody seems to do it.
 
Old 01-14-2003, 07:17 AM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
what does 'uname -a' return?

Last edited by mcleodnine; 01-14-2003 at 08:29 AM.
 
Old 01-16-2003, 07:19 PM   #6
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
ok well i've recompiled the kernel, but this time as 2.4.20 and ive kept the source, hehe

The make install of the drivers is still giving me the errors. Is there some way that i can copy and paste the output of make install in here (I'm making it all on another machine here..)

I tried make install > output and ill chuck that output file onto a floppy and put into this machine and paste in here, but that didn't work...

any idea's?
 
Old 01-17-2003, 03:30 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you can select the text and paste it in a file
 
Old 01-17-2003, 03:50 PM   #8
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
LOL, but how do you SELECT the text in a console? There is no mouse in there, gpm or what-ever it is, is disabled.
 
Old 01-18-2003, 08:07 AM   #9
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
Anybody?! Please! I need to get this machine up ASAP.
 
Old 01-18-2003, 09:59 AM   #10
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
do you have a /usr/src/linux link to your kernelsource?
 
Old 01-18-2003, 11:32 AM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
gpm -m /dev/mouse -t imps2
 
Old 01-18-2003, 07:07 PM   #12
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
yeah, there's a symlink from /usr/src/linux-2.4.20 to /usr/src/linux

DavidPhillips...I didn't compile any mouse support for the machine, there's no mouse connected, and I didn't install gpm.


Any more idea's on how to get the output to you guys?
Isn't there some way to pipe the output thru a program that'll write it to a file?
 
Old 01-18-2003, 10:10 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
maybe this

2&1> filename
 
Old 01-19-2003, 12:18 AM   #14
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
so you do it like so?:

make install 2&1> output

well, even if i do that, output turns out to be blank..

and if i go:
2&1> output
make install

the output file also comes out blank..
 
Old 01-19-2003, 03:04 AM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
"make install > install.txt" should do the trick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network Card Drivers Support When Installing Debian bitznbytes Debian 1 03-19-2004 11:51 AM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM
Installing drivers for network cards cmack Linux - Networking 2 07-30-2003 07:51 PM
Network cards D-link drivers and installing help sanchez913 Linux - Distributions 1 04-06-2003 12:41 PM
Installing Network card drivers from source. BBlalock Linux - Newbie 4 06-23-2002 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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