Results 1 to 10 of 11
Code:
[manu@fedacrylic Module]$ cp Makefile.6 ./Makefile
[manu@fedacrylic Module]$ make install
make -C /lib/modules/2.6.27.24-170.2.68.fc10.i686/build
INSTALL_MOD_DIR=extra SUBDIRS=/media/disk/dwl-g122/2009_0206_RT73_Linux_STA_Drv1.1.0.2/Module \
modules_install
make: *** /lib/modules/2.6.27.24-170.2.68.fc10.i686/build: No such file or directory. Stop.
make: *** [install] Error ...
- 05-29-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 55
error 2 on compiling driver for wireless adaptor
i get the above error when trying to compile driver for my USB adaptor, can anyone help me...Code:[manu@fedacrylic Module]$ cp Makefile.6 ./Makefile [manu@fedacrylic Module]$ make install make -C /lib/modules/2.6.27.24-170.2.68.fc10.i686/build INSTALL_MOD_DIR=extra SUBDIRS=/media/disk/dwl-g122/2009_0206_RT73_Linux_STA_Drv1.1.0.2/Module \ modules_install make: *** /lib/modules/2.6.27.24-170.2.68.fc10.i686/build: No such file or directory. Stop. make: *** [install] Error 2 [manu@fedacrylic Module]$
by the way i'm trying to compile driver for a D-Link DWL-G122 Version C
- 05-29-2009 #2
You should install the kernel headers and the kernel source before compiling kernel drivers.
That driver can be installed from the RPMFusion repository. Enable it for YUM, and then you can install using YUM.Code:yum install kernel-devel kernel-headers-`uname -r`
RPM Fusion - RPM Fusion
It is in the non-free section, called "kmod-wl".
EDIT: Are you using the latest version of that driver? The latest can always be found at the Broadcom web site.
Broadcom Corporation - Broadcom 802.11 Linux STA driver
Also, it appears that you are trying to compile the driver on an external drive. You may get a failure because of this. It is always better to do driver compiling on a local disk.Last edited by waterhead; 05-29-2009 at 01:26 PM.
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 05-29-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 55
thats the problem, i don't have internet... is there a way of downloading this on another machine?
i'll try copying the files into the local drive and have another go...
- 05-29-2009 #4
It's probably easier then to compile the driver. You can get the kernel source and kernel headers from the installation DVD. I would still get the latest source from Broadcom.
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 05-30-2009 #5Just Joined!
- Join Date
- Feb 2009
- Posts
- 55
Index of /ftp/fedora10-i386.updates
RPM resource kernel-devel-uname-r
RPM resource kernel-headers
from the above links i manage to get
1) kernel-devel-2.6.27.24-170.2.68.fc10.i686
but can only find
2) kernel-headers-2.6.27.24-170.2.68.fc10.i386
is there a difference between installing a i386 and i686?
cheers
- 05-30-2009 #6
That should be fine. Don't you have the installation DVD for this?
The YUM command that I gave had the `uname -r` surrounded by backticks. You can have a command within a command, by enclosing it in backticks. You can run this command separately.
It will give you your kernel version. When I included in the YUM command, it was to automatically determine your kernel version.Code:uname -r
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 05-30-2009 #7Just Joined!
- Join Date
- Feb 2009
- Posts
- 55
i installed both rpms above which went well but encountered another issue

correct me if i'm wrong but it looks like i need gcc compiler? yea?Code:[manu@fedacrylic dwl-g122]$ cd ./rt73-k2wrlz-3.0.2/Module/ [manu@fedacrylic Module]$ make && make install /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686/scripts/gcc-version.sh: line 25: gcc: command not found /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686/scripts/gcc-version.sh: line 26: gcc: command not found make[1]: gcc: Command not found make[1]: Entering directory `/usr/src/kernels/2.6.27.24-170.2.68.fc10.i686' CC [M] /home/manu/Download/aps/rpm/dwl-g122/rt73-k2wrlz-3.0.2/Module/rtmp_main.o /bin/sh: gcc: command not found make[2]: *** [/home/manu/Download/aps/rpm/dwl-g122/rt73-k2wrlz-3.0.2/Module/rtmp_main.o] Error 127 make[1]: *** [_module_/home/manu/Download/aps/rpm/dwl-g122/rt73-k2wrlz-3.0.2/Module] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.27.24-170.2.68.fc10.i686' rt73.ko failed to build! make: *** [module] Error 1 [manu@fedacrylic Module]$ sudo make && make install [sudo] password for manu: /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686/scripts/gcc-version.sh: line 25: gcc: command not found /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686/scripts/gcc-version.sh: line 26: gcc: command not found make[1]: gcc: Command not found make[1]: Entering directory `/usr/src/kernels/2.6.27.24-170.2.68.fc10.i686' CC [M] /home/manu/Download/aps/rpm/dwl-g122/rt73-k2wrlz-3.0.2/Module/rtmp_main.o /bin/sh: gcc: command not found make[2]: *** [/home/manu/Download/aps/rpm/dwl-g122/rt73-k2wrlz-3.0.2/Module/rtmp_main.o] Error 127 make[1]: *** [_module_/home/manu/Download/aps/rpm/dwl-g122/rt73-k2wrlz-3.0.2/Module] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.27.24-170.2.68.fc10.i686' rt73.ko failed to build! make: *** [module] Error 1 [manu@fedacrylic Module]$
- 05-30-2009 #8Just Joined!
- Join Date
- Feb 2009
- Posts
- 55
- 05-30-2009 #9
That is correct, install gcc.
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 05-30-2009 #10Just Joined!
- Join Date
- Feb 2009
- Posts
- 55
i'm gonna try and install gcc offline (since i can't get internet through fedora) how do i know which dependencies to include?
or do i just install gcc and see what other errors would come up?


Reply With Quote
