LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-15-2005, 01:17 PM   #1
andy101
LQ Newbie
 
Registered: Nov 2005
Location: England, UK
Distribution: Ubuntu, 6.06 Daper Drake
Posts: 10

Rep: Reputation: 0
make fail with: gcc-3.4 command not found


Hi

When I try to use make on ndiswrapper and rt2570 I get an error about the command gcc-3.4, and of course there is no such command. GCC reports its version as 4.0.2 and there is a gcc-4.0 command. I have debhelper and the Linux headers installed. Unfortunately they may be outdated because I can't connect to the Internet to update anything (my wireless card won't work which is why I am trying to compile ndiswrapper). I originally suspect something in ndsiwrappers makefile but when it happened with another source I downloaded it leads me to suspect something on my system.

thanks
 
Old 11-16-2005, 03:44 PM   #2
andy101
LQ Newbie
 
Registered: Nov 2005
Location: England, UK
Distribution: Ubuntu, 6.06 Daper Drake
Posts: 10

Original Poster
Rep: Reputation: 0
Fixed it, downloaded gcc-3.4 package aswell, and cpp-3.4
 
Old 11-23-2005, 07:55 PM   #3
number9
Member
 
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85

Rep: Reputation: 15
Can ndiswrapper be found in Universe? Edit /etc/apt/sources.list and uncomment the Universe line. Then:
Code:
apt-get update
apt-cache search ndiswrapper
Is it there?
Code:
apt-get install ndiswrapper-name-returned-from-cache
 
Old 11-27-2005, 01:45 AM   #4
jomofrodo
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
the gcc-3.4: command not found thing is nasty. I got this when trying to install drivers for AC'97 sound card. Instead of downloading gcc 3.4 (and having two versions of gcc on your system, ack), it appears you can do the following:

cd /usr/bin
sudo ln -s <gcc-4.0> gcc-3.4

substitute whatever version of gcc you have for gcc-4.0 if required. Note, this will most likely only work with installed versions of gcc > 3.4. Otherwise, all you need to do is "sudo apt-get update gcc"
 
  


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
makefile gcc command cannot be found Mogul83 Programming 7 05-31-2005 03:11 AM
bash: gcc: command not found sandbag Linux - Software 8 05-05-2005 12:17 PM
VSFTPD make: gcc: Command not found Exutable Linux - Software 4 04-06-2005 02:15 PM
Error Message gcc: Command not found Schmurff Fedora 2 09-27-2004 12:23 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM


All times are GMT -5. The time now is 06:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration