ndiswrapper make can't find gcc

I get the following error when I run make to install ndiswrapper. I know it can't find the gcc. But how do I correct this problem:

make install with KSRC=/usr/src/kernels/2.6.16-1.2080_FC5-i686

[root@localhost ndiswrapper-1.11]# make install KSRC=/usr/src/kernels/2.6.16-1.2080_FC5-i686
make -C driver install
make[1]: Entering directory `/root/ndiswrapper-1.11/driver'
make -C /lib/modules/2.6.16-1.2080_FC5/build SUBDIRS=/root/ndiswrapper-1.11/driver \
        DRIVER_VERSION=1.11
/usr/src/kernels/2.6.16-1.2080_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.16-1.2080_FC5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
  LD      /root/ndiswrapper-1.11/driver/built-in.o
/bin/sh: ar: command not found
make[3]: *** [/root/ndiswrapper-1.11/driver/built-in.o] Error 127
make[2]: *** [_module_/root/ndiswrapper-1.11/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ndiswrapper-1.11/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.11]#
dlennonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leisnerCommented:
you need to get a development environment on your machine...since you found make,
you should be able to find gcc.  Seems like its not there....

One way to solve the problem is just say "install everything" when presented witn the
options of what to install -- then you don't have to figure out what's missing...(most of the time).

Disk space got really cheap in the last 5 years, a full distribution is about 5 gig -- it saves
lots of headaches

You can get the rpm package here:
http://rpmfind.net/linux/rpm2html/search.php?query=gcc

(there's an fc5 package)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ravenplCommented:
If You connected to the internet, simply issue
yum install gcc-c++
will install everything You need.
0
Dushan De SilvaTechnology ArchitectCommented:
Insert youe Linux OS Installation CD. Then select all the items under "development" . Finish it and try to compile it again.

BR Dushan
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

dlennonAuthor Commented:
When I installed the package I had to use a text installation, I guess,  because of my video card, there was no option in text to install everything, unless I missed it.
I can't use yum because the reason I am installing ndiswrappper is to get my wireless card working.

On my Distro package I fould these three gcc rpm's:
gcc-java-4.0.3.i386.rpm
gcc-c++4.1.0.3.i386.rpm
gcc-4.1.0.3.i386

does it matter which one I install????
0
leisnerCommented:
install gcc and g++ -- but I've had mixed experiences with old code and gcc 4.x.
0
dlennonAuthor Commented:
I solved the problem by reinstalling the whole installation and I installed everything. At that point ndiswrapper fianlly worked and I didn't get the gcc problem
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.