LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Suse 9.3: Cant install Linksys EG1032- No rule to make target 'modules.' (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-9-3-cant-install-linksys-eg1032-no-rule-to-make-target-modules-401794/)

Loopey 01-10-2006 07:39 PM

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.

abisko00 01-11-2006 07:41 AM

Did you install the kernel sources?
Check with:
Code:

rpm -q kernel-source

Loopey 01-11-2006 10:18 AM

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

abisko00 01-11-2006 10:25 AM

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.

Loopey 01-15-2006 01:38 PM

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
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 #
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 -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 -C ../../../linux-2.6.11.4-21.10 O=../linux-2.6.11.4-21.10-obj/i386/default modules
/ldriver/eg1032v3/src/Makefile:28: /usr/src/linux-2.6.11.4-21.10/src/Makefile_linux26x: No such file or directory
make[5]: *** No rule to make target `/usr/src/linux-2.6.11.4-21.10/src/Makefile_linux26x'.  Stop.
make[4]: *** [_module_/ldriver/eg1032v3/src] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
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 #
linux:/ldriver/eg1032v3 #
linux:/ldriver/eg1032v3 # make install
make -C src/ install
make[1]: Entering directory `/ldriver/eg1032v3/src'
install -m 644 -c eg1032v3.ko /lib/modules/2.6.11.4-21.10-default/kernel/drivers/net/
install: cannot stat `eg1032v3.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/ldriver/eg1032v3/src'
make: *** [install] Error 2
linux:/ldriver/eg1032v3 #


Any more ideas? I really appreciate your help-

jaishanker 01-09-2008 12:00 PM

Try installing GCC package and chk it out


All times are GMT -5. The time now is 01:42 AM.