LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2011, 12:12 PM   #1
Dark Page
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
Exclamation [Problem] Compiling/Installing ALFA Network driver


Hi,

I've just installed CentOS in my PC - removed win 7.
and i have a problem in driver installing
these are the commands :
Code:
make
make install
when i type :
Code:
make
it keeps giving me :
Code:
make: *** /lib/modules/2.6.18-238.el5PAE/build: No such file or directory. Stop.
make: *** [all] Error 2
Please i need help!
 
Old 06-22-2011, 01:08 PM   #2
Dark Page
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
PLEASE I NEED HELP !!!!!!!
it could be from kernel-devel but since i DON'T have internet i can't use
Code:
yum install kernel-devel
again PLEASE HELP ME

Last edited by Dark Page; 06-22-2011 at 01:53 PM.
 
Old 06-22-2011, 01:38 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Im not going to ask how you are accessing LQ if you don't have internet...

http://pkgs.org/centos-5-rhel-5/cent....i686.rpm.html

Here is a link to the kernel-devel of that version...
 
1 members found this post helpful.
Old 06-22-2011, 02:37 PM   #4
Dark Page
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
Im not going to ask how you are accessing LQ if you don't have internet...

http://pkgs.org/centos-5-rhel-5/cent....i686.rpm.html

Here is a link to the kernel-devel of that version...
From iBook

i got another problem :

Code:
[CardScape@cardscape ~]$ dir
Desktop
rtl8187L_linux_26.1039.0104.2010.release
rtl8187L_linux_26.1039.0104.2010.release.tar.gz

[CardScape@cardscape ~]$ cd rtl8187L_linux_26.1039.0104.2010.release

[CardScape@cardscape rtl8187L_linux_26.1039.0104.2010.release]$ sudo make
/usr/src/kernels/2.6.18-238.el5-PAE-i686/scripts/gcc-version.sh: line 11: gcc: command not found

/usr/src/kernels/2.6.18-238.el5-PAE-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-238.el5-PAE-i686'

  CC [M]  /home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187/r8187_core.o

/bin/sh: gcc: command not found

make[2]: *** [/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187/r8187_core.o] Error 127

make[1]: *** [_module_/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.18-238.el5-PAE-i686'

make: *** [all] Error 2

[CardScape@cardscape rtl8187L_linux_26.1039.0104.2010.release]$ sudo make install

/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/wireless/rtl818x/rtl8187.ko: /lib/modules/2.6.18-238.el5PAE/kernel/net/mac80211/mac80211.ko /lib/modules/2.6.18-238.el5PAE/kernel/net/wireless/cfg80211.ko /lib/modules/2.6.18-238.el5PAE/kernel/net/rfkill/rfkill.ko /lib/modules/2.6.18-238.el5PAE/kernel/net/wireless/wireless_compat.ko /lib/modules/2.6.18-238.el5PAE/kernel/drivers/misc/eeprom_93cx6.ko

/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/wireless/rtl818x/rtl8187.ko: /lib/modules/2.6.18-238.el5PAE/kernel/net/mac80211/mac80211.ko /lib/modules/2.6.18-238.el5PAE/kernel/net/wireless/cfg80211.ko /lib/modules/2.6.18-238.el5PAE/kernel/net/rfkill/rfkill.ko /lib/modules/2.6.18-238.el5PAE/kernel/net/wireless/wireless_compat.ko /lib/modules/2.6.18-238.el5PAE/kernel/drivers/misc/eeprom_93cx6.ko

make[1]: Entering directory `/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187'

make -C /lib/modules/2.6.18-238.el5PAE/build M=/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187 CC=gcc modules

/usr/src/kernels/2.6.18-238.el5-PAE-i686/scripts/gcc-version.sh: line 11: gcc: command not found

/usr/src/kernels/2.6.18-238.el5-PAE-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.18-238.el5-PAE-i686'

  CC [M]  /home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187/r8187_core.o

/bin/sh: gcc: command not found

make[3]: *** [/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187/r8187_core.o] Error 127

make[2]: *** [_module_/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187] Error 2

make[2]: Leaving directory `/usr/src/kernels/2.6.18-238.el5-PAE-i686'

make[1]: *** [modules] Error 2

make[1]: Leaving directory `/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187'

make: *** [install] Error 2

[CardScape@cardscape rtl8187L_linux_26.1039.0104.2010.release]$
 
Old 06-22-2011, 04:24 PM   #5
Dark Page
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
guess i need gcc thing

could anyone give me the link ? CENTOS VERSION
 
Old 06-22-2011, 11:40 PM   #6
Dark Page
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Bump.
 
  


Reply



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
Alfa network adapter and BT4 Daveit Linux - Newbie 2 04-22-2011 06:15 AM
problem with define the alfa network usb adapter @M.Salah@ Linux - Newbie 1 11-30-2009 08:42 PM
Problem on installing network driver zulfahmi Linux - Newbie 2 03-13-2007 03:58 PM
Problem Installing Network Card Driver databox Linux - Networking 6 05-31-2006 10:42 PM
problem compiling kernel for installing alcatel driver fawkes.phoenix Linux - Software 2 07-01-2004 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration