LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-02-2003, 11:35 AM   #1
davess4
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
A few questions from a new user. Driver related


Hi guys,
I just installed Mandrake 9.1 from CDs I made with iso images I downloaded off the web. Everything is up and running fine except I can't get drivers installed for my NIC.
I have an onboard NIC, 3com 3c2000 gigabit LOM. I had it working under redhat but had other problems with redhat so I ditched it. The error I get is when I try and run the make command to build the driver.
-------
[root @localhost 3c2000]# make load
/bin/sh: line 1: gcc: command not found
/bin/sh: line 1: gcc: command not found
gcc -D_KERNEL__ -Wall -Wstrict-prototypes -02 -DMODULE -I. -DSK_USE_CSUM -I /usr/src/linux-2.4/include -c -o skge.o skge.c
make: gcc: Command not found
make: *** [skge.o] Error 127
-------

I do not understand the error at all except that it seems on my installation there is no /usr/src/ folder. there is only /usr/RPMs/

Did I get bad images? or what I'm lost here. any advice would be great I really want to get the computer online.

-Dave
 
Old 09-02-2003, 03:38 PM   #2
iainagray
Member
 
Registered: Sep 2003
Location: Aberdeenshire, Scotland
Distribution: Ubuntu Hardy
Posts: 64

Rep: Reputation: 15
Hi,

I've never seen the "make load" command you speak about, is the driver one off of the CD's or one you downloaded from the net? Is this command one that was specified in the INSTALL or README file that came with the driver?

With regards to the /usr/src dir on my install the RPMS dir is a sub of src, ie /usr/src/RPMS
 
Old 09-02-2003, 03:41 PM   #3
davess4
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
the make load command was specified on the readme that came with the driver. and I got the driver from the CD that came with the Motherboard I bought. The one on the net is exactly the same. The make load command worked for me before when I was using Redhat, but it seems that it is looking for something in the directory usr/src/linux-2.4/include
which doesn't even exist with my install, I'm not sure why. I was wondering if I could have gotten bad CDs or something.
 
Old 09-02-2003, 05:01 PM   #4
jcksrobbins
Member
 
Registered: Oct 2002
Location: Idaho
Posts: 55

Rep: Reputation: 15
Someone correct me if I'm wrong, but it sounds like you don't have a compiler installed.

Try going to Configuration>Packaging>Install Software. Type "gcc" (without quotes) in the search box.

Install what it finds and then try to install your drivers again.
 
Old 09-02-2003, 06:41 PM   #5
iainagray
Member
 
Registered: Sep 2003
Location: Aberdeenshire, Scotland
Distribution: Ubuntu Hardy
Posts: 64

Rep: Reputation: 15
Check to see if the following files are in /usr/bin
gcc, gcc-3.2.2, gcc3.2-version
by changing to /usr/bin and typing
ls gcc*

as jcksrobbins said, it looks as of bash can't find gcc rather than gcc getting confused with the "load" extension
 
Old 09-02-2003, 10:01 PM   #6
davess4
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I did that, now I don't get GCC errors, but I get errors with version.h saying I need to install the kernel source... Any idea's?

-Dave
 
Old 09-03-2003, 03:00 PM   #7
davess4
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I figured it out, thanks guys, I didn't have the kernel source installed... nor did I know I had to. I'm all set for the moment.

-Dave
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
3 non-related questions Rognon Slackware 5 02-06-2004 04:45 PM
A couple of driver related questions defubar Slackware 4 02-03-2004 11:31 PM
some daemon-related questions Vincent Slackware 3 09-21-2003 02:15 PM
Internet-related questions loner Linux - Newbie 4 07-07-2003 09:00 AM

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

All times are GMT -5. The time now is 06:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration