|
Installation trouble Realtek RTL-8185 Wireless PCI card
Hi,
I am new to Linux , have recently installed RHEL,
and am trying to install a Realtek wireless card.
Have downloaded the drivers below, but am getting
a 'gcc: command not found' error when trying to
install. My question, what is gcc and how can I
install it.
Thanks for any assistance
Eoin
Driver found :rtl8185_linux_26[1].1027.0823.2007.tar.gz
# ./makedrv
.....
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /root/Desktop/rtl8185_linux/ieee80211/tmp
make -C /lib/modules/2.6.18-8.el5/build M=/root/Desktop/rtl8185_linux/ieee80211 CC=gcc modules
/usr/src/kernels/2.6.18-8.el5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.18-8.el5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: gcc: Command not found
make[1]:
Entering directory `/usr/src/kernels/2.6.18-8.el5-i686'
CC [M] /root/Desktop/rtl8185_linux/ieee80211/ieee80211_softmac.o
/bin/sh: gcc: command not found
make[2]: *** [/root/Desktop/rtl8185_linux/ieee80211/ieee80211_softmac.o] Error 127
make[1]: ***
[_module_/root/Desktop/rtl8185_linux/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686'
make: ***
[modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /root/Desktop/rtl8185_linux/rtl8185/tmp
make -C
/lib/modules/2.6.18-8.el5/build M=/root/Desktop/rtl8185_linux/rtl8185 CC=gcc modules
/usr/src/kernels/2.6.18-8.el5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.18-8.el5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: gcc: Command not found
make[1]:
Entering directory `/usr/src/kernels/2.6.18-8.el5-i686'
CC [M] /root/Desktop/rtl8185_linux/rtl8185/r8180_core.o
/bin/sh: gcc: command
not found
make[2]: *** [/root/Desktop/rtl8185_linux/rtl8185/r8180_core.o] Error 127
make[1]: ***
[_module_/root/Desktop/rtl8185_linux/rtl8185] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686'
make: *** [modules]
Error 2
# lspci
02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller (rev 20)
# lspci -nv
02:0d.0 0200: 10ec:8185 (rev 20)
Subsystem: 10ec:8185
Flags: bus master, medium devsel, latency 64, IRQ 3
I/O ports at d800 [size=256]
Memory at feae7c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
|