Suse 9.3: Cant install Linksys EG1032- No rule to make target 'modules.'
Someone help me out here. I've searched and searched, and can't seem to find an answer anywhere, either on this forum, or on goole. Just got a Linksys EG1032 (v3) Gigabyte NIC. I Specifically bought this because they provide Linux drivers. When I follow the directions to install the included drivers, this is what I get: ------------------------------------------------------------- linux:~ # cd .. linux:/ # cd ldriver linux:/ldriver # tar vzxf eg1032v3.tgz eg1032v3/ eg1032v3/README eg1032v3/Makefile eg1032v3/src/ eg1032v3/src/Makefile_linux26x eg1032v3/src/tags eg1032v3/src/.tmp_versions/ eg1032v3/src/.tmp_versions/eg1032v3.mod eg1032v3/src/eg1032v3_n.c eg1032v3/src/Makefile eg1032v3/src/Makefile_linux24x linux:/ldriver # cd eg1032v3 linux:/ldriver/eg1032v3 # make clean modules. make -C src/ clean make[1]: Entering directory `/ldriver/eg1032v3/src' rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags make[1]: Leaving directory `/ldriver/eg1032v3/src' make: *** No rule to make target `modules.'. Stop. linux:/ldriver/eg1032v3 # ----------------------------------------------------------------- Thinking that maby the period after the word 'modules' in the directions was the problem, I tried it again without it... ----------------------------------------------------------------- inux:/ldriver/eg1032v3 # make clean modules make -C src/ clean make[1]: Entering directory `/ldriver/eg1032v3/src' rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags make[1]: Leaving directory `/ldriver/eg1032v3/src' make -C src/ modules make[1]: Entering directory `/ldriver/eg1032v3/src' make -C /lib/modules/2.6.11.4-21.10-default/build SUBDIRS=/ldriver/eg1032v3/src modules make[2]: Entering directory `/usr/src/linux-2.6.11.4-21.10-obj/i386/default' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/usr/src/linux-2.6.11.4-21.10-obj/i386/default' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/ldriver/eg1032v3/src' make: *** [modules] Error 2 linux:/ldriver/eg1032v3 # ------------------------------------------------------------------ Basically, the same error, 'no rule to make target 'modules', only this time with more stuff before it... I have installed every development pack that I could find, also binutils. I'm still pretty new to linux here, so I'm thinking that there is a simple, stupid mistake being made somewhere in what I'm doing. But for the life of me, I can't figure it out. Here are the directions that come with the driver: ------------------------------------------------------------------ <Requirements> - kernel source tree (supported versions 2.4.x or 2.6.x) - compiler/binutils for kernel compilation <Quick install with proper kernel settings> Unpack the tarball : tar vzxf eg1032v3.tgz Change to the directory: cd eg1032v3 If you are running the target kernel, then you should be able to do : make clean modules (as root or with sudo) make install depmod -a ------------------------------------------------------------------- Thanks in advance for any advice anyone has. |
Did you install the kernel sources?
Check with: Code:
rpm -q kernel-source |
No, I hadn't installed kernel-source. But I just did install it right now, rebooted, and I'm still getting the same errors- any other ideas (thanks again)
command above now comes back with: kernel-source-2.6.11.4-21.7 |
You need to run online update to get kernel-source-2.6.11.4-21.10 (which is your kernel binary). This happens if the kernel was updated with YOU and the sources are installed from the original medium.
|
After much playing with YOU to get it to work, I finally have the kernel-source updated to 2.6.11.4-21.10. However, I'm still getting errors:
Code:
linux:/ldriver # tar vzxf eg1032v3.tgz Any more ideas? I really appreciate your help- |
Try installing GCC package and chk it out
|
All times are GMT -5. The time now is 01:42 AM. |