rt73 Suse 10.3 no rule to make target

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4503

garthkh

16-12-2007 13:44:35

Can someone help me install the rt73-cvs-007121509 driver for my USB wireless device?
I have followed the instructions in the install file below and get the results following

1. Unpack the driver sources and go to the Module directory
$ tar -xvzf rt73-cvs-daily.tar.gz
$ cd ./rt73-cvs-YYYYMMDDHH/Module

2. Compile the driver sources
$ make

3. Install the driver (as root)
# make install


garth@garthlinuxlaptop~/Desktop/ralink/rt73-cvs-2007121509/Module> make
make[1] Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make[1] *** No rule to make target `modules'. Stop.
make[1] Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
rt73.ko failed to build!
make *** [module] Error 1

I am not an expert at Linux so please give me a simple outline of what to do.
Thanks cry

Spy84464

17-12-2007 19:28:01

Hello,
I'm not familiar with Suse, but it could be that your kernel sources are not properly installed or configured.
What if you go in "/usr/src/linux-2.6.22.5-31-obj/i386/default", run "make prepare" (as root), and then try to compile the driver again?

Regards,
Romain

garthkh

18-12-2007 12:03:29

Hello,
I'm not familiar with Suse, but it could be that your kernel sources are not properly installed or configured.
What if you go in "/usr/src/linux-2.6.22.5-31-obj/i386/default", run "make prepare" (as root), and then try to compile the driver again?

Regards,
Romain[/quote3s1wp1eg]

Thanks Romain,
I have do as you suggested and I still get a similar error

No rule to make target 'prepare'. Stop.

Do you know what sources should be loaded up to be able to run a make command? eg must all C+ compiling sources be added etc.
Regards
Garth

Spy84464

22-12-2007 11:45:18

I forgot one step I think, run "make clone", then "make prepare" etc...

garthkh

24-12-2007 08:43:45

I forgot one step I think, run "make clone", then "make prepare" etc...[/quote22i9m2ae]

Still no joy!!

Ive run 'make -d' this time and this is what the debug displays. Maybe this will help.
I have only copied the last page or so of the display as it is very long.

Trying pattern rule with stem `modules.s'.
Trying implicit prerequisite `SCCS/s.modules.s'.
Trying pattern rule with stem `modules'.
Trying implicit prerequisite `modules.S'.
Looking for a rule with intermediate file `modules.S'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem `modules.S'.
Trying implicit prerequisite `modules.S,v'.
Trying pattern rule with stem `modules.S'.
Trying implicit prerequisite `RCS/modules.S,v'.
Trying pattern rule with stem `modules.S'.
Trying implicit prerequisite `RCS/modules.S'.
Trying pattern rule with stem `modules.S'.
Trying implicit prerequisite `s.modules.S'.
Trying pattern rule with stem `modules.S'.
Trying implicit prerequisite `SCCS/s.modules.S'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.S'.
Trying pattern rule with stem `modules'.
Trying implicit prerequisite `modules.mod'.
Looking for a rule with intermediate file `modules.mod'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem `modules.mod'.
Trying implicit prerequisite `modules.mod,v'.
Trying pattern rule with stem `modules.mod'.
Trying implicit prerequisite `RCS/modules.mod,v'.
Trying pattern rule with stem `modules.mod'.
Trying implicit prerequisite `RCS/modules.mod'.
Trying pattern rule with stem `modules.mod'.
Trying implicit prerequisite `s.modules.mod'.
Trying pattern rule with stem `modules.mod'.
Trying implicit prerequisite `SCCS/s.modules.mod'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.c'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.cc'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.C'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.cpp'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.p'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.f'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.F'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.r'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.s'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.S'.
Trying pattern rule with stem `modules'.
Rejecting impossible implicit prerequisite `modules.mod'.
Trying pattern rule with stem `modules'.
Trying implicit prerequisite `modules.sh'.
Looking for a rule with intermediate file `modules.sh'.
Avoiding implicit rule recursion.
Trying pattern rule with stem `modules.sh'.
Trying implicit prerequisite `modules.sh,v'.
Trying pattern rule with stem `modules.sh'.
Trying implicit prerequisite `RCS/modules.sh,v'.
Trying pattern rule with stem `modules.sh'.
Trying implicit prerequisite `RCS/modules.sh'.
Trying pattern rule with stem `modules.sh'.
Trying implicit prerequisite `s.modules.sh'.
Trying pattern rule with stem `modules.sh'.
Trying implicit prerequisite `SCCS/s.modules.sh'.
No implicit rule found for `modules'.
Finished prerequisites of target file `modules'.
Must remake target `modules'.
make[1] Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make[1] *** No rule to make target `modules'. Stop.
make[1] Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
rt73.ko failed to build!
Reaping losing child 0x08080740 PID 6130
make *** [module] Error 1
Removing child 0x08080740 PID 6130 from chain.
garthoffice/home/garth/Desktop/ralink/rt73-cvs-2007122401/Module #

Spy84464

24-12-2007 11:54:03

We must be missing an obvious thing, but as I said, I have no experience with Suse. Are you sure the correct package is installed (kernel sources package)? It may be worthwhile to ask some Suse guru too.

garthkh

24-12-2007 15:01:01

We must be missing an obvious thing, but as I said, I have no experience with Suse. Are you sure the correct package is installed (kernel sources package)? It may be worthwhile to ask some Suse guru too.[/quote2j59l0ig]

Yes I have checked that the GCC and GCC-C++ sources are included which I believe are the obvious requirements. So I don't know.
I have the same problem listed on the Network section of Suse Forum and haven't had a single reply yet ? The Suse Gurus must be on leave or looking for toys for Christmas.
Regards
Garth

salvage

26-03-2008 07:30:41

I am using suse 10.3.
Kernel module2.6.22.5-31-default.
I enter the module path of the cvs file,and then open a shell window,and then
run/rt73/modlule/$make
/rt73/modlule/$make install
'
done.
Then the card can work after "ifconfig wlan0 up" being run.
But I met other problems.
It does work.You may try again.Good luck.

IvD

26-03-2008 15:41:32

Do you have the kernel _sources_ installed?
As far as I know /usr/src/linux-2.6.22.5-31-obj/i386/default is not the location of the kernel sources itself.

Make sure you install something called kernel-2.6.22.5-31-devel or some package which looks like that.