You are not logged in.

#1 2008-05-20 19:06:26

Xherziu
Member
Registered: 2008-04-16
Posts: 58

make rt2570

Trying to get my wireless working.  Gonna try to use rt2570 driver but having problems installing it.  The instructions that came with the driver says,

Installation instructions for the rt2570 Module

=======================================================================
Build Instructions:
====================
    For 2.4 or 2.6 series kernel:

    a. $tar -xvzf rt2570-x.x.x.tar.gz
    go to "./rt2570-x.x.x/Module" directory.

    b. $make # compile driver source code

    c. $make install # installs kernel module driver

    d. $modprobe rt2570

=======================================================================

I typed the commands in exactly as is shown and this is what I got.

bash-3.2# make # compile driver source code
make[1]: Entering directory `/usr/src/linux-2.6.24-ARCH'
  CC [M]  /home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.o
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c: In function 'usb_rtusb_probe':
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1859: error: implicit declaration of function 'SET_MODULE_OWNER'
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1883: error: 'struct net_device' has no member named 'weight'
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: 'dev_base' undeclared (first use in this function)
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: (Each undeclared identifier is reported only once
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: for each function it appears in.)
/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.c:1905: error: 'struct net_device' has no member named 'next'
make[2]: *** [/home/xherziu/Desktop/rt2570-1.1.0-b2/Module/rtusb_main.o] Error 1
make[1]: *** [_module_/home/xherziu/Desktop/rt2570-1.1.0-b2/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
rt2570.ko failed to build!
make: *** [module] Error 1

Maybe I do not have privileges to install C programs?

Offline

Board footer

Powered by FluxBB