rt73 (usb) Legacy make error

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

jqball2u

06-07-2008 19:28:29

I am using Mandriva 2007 Spring Free, fresh off the DVD with just the updates.

I read the README file and did [uxmggxprk]everything[/uxmggxprk] [ixmggxprk]exactly[/ixmggxprk] as it said (i.e. 'tar -xvzf rt732-cvs-daily.tar.gz,
make, make install'). The tar part did fine, the make not so well (yes, I did the tar and make under "root privileges")...this is the output of the make

make *** /lib/modules/2.6.17-13mdv/build No such file or directory. Stop.
rt73.ko failed to build!
make *** [module] Error 1

There is no 'build' in the '/lib/modules/2.6.17-13mdv' directory, so, I cannot get past the first 'make'! The only thing under the '/lib/modules/2.6.17-13mdv/' directory is '/kernel/', I copied the 'rt73.bin' file to the '/lib/firmware/' directory with the exact same results!

Do I have to alter the 'makefile'? If so, how / where?

Thanks ya'll,
QBall

IvD

06-07-2008 21:25:25

Do you have the kernel sources installed?
If so, the build entry in your modules directory should be a symlink to those kernel sources.

jqball2u

06-07-2008 22:26:20

Do you have the kernel sources installed?
If so, the build entry in your modules directory should be a symlink to those kernel sources.[/quotej2k17ehf]

The only thing in the '/lib/modules' directory is '2.16.17-13mdv'; so far as the sources are concerned, if Mandriva did not install them by default, _I_ did not install them. Can I 'install' them using RPMDrake?

Thanks,
QBall

IvD

07-07-2008 07:38:55

Is is complaining about:
/lib/modules/2.6.17-13mdv/build

so that is the item you must create.

Install the kernel sources of 2.6.17-13mdv and make sure /lib/modules/2.6.17-13mdv/build points to those kernel sources.

Starcrasher

07-07-2008 17:14:05

Yes, of course, you can install the sources with urpmi, rpmdrake and even with smart.
The name of the package is kernel-source-2.6.17.13mdv-1-1mdv2007.1.i586.rpm or kernel-source-2.6.17.13mdv-1-1mdv2007.1.x86_64.rpm depending of your CPU type.
Normally the symlink for build in /lib/modules/2.6.17-13mdv/ should be created automatically.