Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 11-15-2005, 02:17 PM   #1
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


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.

Old 11-16-2005, 04:44 PM   #2
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, 08:55 PM   #3
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:
apt-get update
apt-cache search ndiswrapper
Is it there?
apt-get install ndiswrapper-name-returned-from-cache
Old 11-27-2005, 02:45 AM   #4
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"


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

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration