LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-29-2002, 11:39 PM   #1
Chypmunk
Member
 
Registered: Mar 2001
Distribution: redhat 7.0
Posts: 75

Rep: Reputation: 15
Mandrake 7.2 gcc problems


hey everybody. I recentally figured out everything and finally got around to trying to compile my drivers for my ehternet card. When I got everything ready, Typed in the nice little gcc ..... compile command, The beautiful console sent back a handsome "bash: gcc: command not found" error! I have gcc installed (package is installed). Is there something that I have to do to get the package working? did mandrake forget to install the package but copy it on to my system? It did work before when I tried mandrake, But I had different installation options.

Any help would be greatly appreciated! I am almost there.. Linux is great, But is a little hard to get working properly.

Thanx!
Jude

 
Old 01-30-2002, 03:23 AM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
I'd hate to state the obvious, but you are doing this as root, yes?

Also- are you sure that you need to compile?
In other words, are you sure that your distro's kernel doesn't natively support your NIC's module?
 
Old 01-30-2002, 11:01 AM   #3
Chypmunk
Member
 
Registered: Mar 2001
Distribution: redhat 7.0
Posts: 75

Original Poster
Rep: Reputation: 15
yes I am logged in as root.. and yes the drivers have to be compiled.... GCC is just messed up.. I will try re-installing the development packages.. maby this will help?

Jude
 
Old 01-31-2002, 05:46 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
The thing is if you updated gcc to a most recent version one possibility what might happen is that kernel itself was compiled using different version of gcc, also kernel might use kgcc for modules compilation, I read it in this book
 
  


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
gcc-cpp problems (Mandrake 10.1) fatenabu Linux - Software 0 07-27-2005 02:42 PM
Mandrake 10.1 with gcc but without g++ borgnasse Mandriva 7 10-12-2004 04:15 AM
Mandrake and GCC UltimatePower Linux - Newbie 3 08-14-2004 05:53 PM
I cannot use gcc 3.2-1 in mandrake 9.0!!!! pradeepmenon777 Mandriva 2 02-18-2004 09:23 AM
problems with mandrake and gcc/g++ compiler sbrattt Linux - General 7 02-01-2003 11:50 PM


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