LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-10-2006, 07:39 PM   #1
Loopey
LQ Newbie
 
Registered: Jan 2006
Location: Denver, CO, USA
Distribution: Suse 11 - moving to Fedora
Posts: 7

Rep: Reputation: 0
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.
 
Old 01-11-2006, 07:41 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Did you install the kernel sources?
Check with:
Code:
rpm -q kernel-source
 
Old 01-11-2006, 10:18 AM   #3
Loopey
LQ Newbie
 
Registered: Jan 2006
Location: Denver, CO, USA
Distribution: Suse 11 - moving to Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 01-11-2006, 10:25 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
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.
 
Old 01-15-2006, 01:38 PM   #5
Loopey
LQ Newbie
 
Registered: Jan 2006
Location: Denver, CO, USA
Distribution: Suse 11 - moving to Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
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-
 
Old 01-09-2008, 12:00 PM   #6
jaishanker
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Try installing GCC package and chk it out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No rule to make target `install' satimis Linux From Scratch 4 09-07-2005 07:20 AM
No rule to make target `install' satimis Linux From Scratch 1 08-18-2005 09:57 PM
Unable to install wxX11. No rule to make target njbrain Linux - Software 0 01-08-2005 10:25 AM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM
*** No rule to make target `modules'. Stop. kmack2001 Linux - Newbie 9 02-16-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:07 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