View Single Post
Staro 10.01.2009., 18:00   #1
PSP User
Premium
Moj komp
 
PSP User's Avatar
 
Datum registracije: Aug 2007
Lokacija: Vukovar
Postovi: 74
Pomoc pri instalaciji wlan kartice Linux

Dobio sam drivere za wlan karticu no imam poteskoca pri instalaciji, zastanem ovdje:

Ovo su upute:
Code:
BUILD AND INSTALLATION INSTRUCTIONS
-----------------------------------

hybrid-portsrc.tar.gz
hybrid-portsrc-x86_64.tar.gz

On the target machine, setup the source/hybrid/build directory

1.  Create a new directory:                 mkdir hybrid_wl
2.  Go to that directory:                   cd hybrid_wl
3.  Untar the appropriate 32/64 bit file
      to that directory
        32 bit:                             tar -xzf <path>/hybrid-portsrc.tar.gz
        64 bit:                             tar -xzf <path>/hybrid-portsrc-x86_64.tar.gz

After untar'ing you should have a src and lib sub directory plus a Linux
2.6 "kbuild" external makefile (Makefile).   The lib sub directory has the pre-built
binary, wlc_hybrid.o_shipped.  

You use the standard Linux 2.6 kernel build system as follows to make a Linux loadable
kernel module (LKM):

On the target machine, and cd'ed to the directory that contains the Makefile (fragment)

4.  Cleanup (optional):                  make -C /lib/modules/<2.6.xx.xx>/build M=`pwd` clean
5.  Build the LKM, i.e. wl.ko:           make -C /lib/modules/<2.6.xx.xx>/build M=`pwd`

You should now have a LKM, wl.ko inside this directory.
Sve je ok, dodjem do:

make -C /lib/modules/2.6.21.5/build M=`pwd`

i tu mi javi:

make: Entering directory '/usr/src/linux.2.6.21.5
scripts/Makefile.build:17 /usr/src/linux-2.6.21.5/pwd/Makefile: No such file or directory
make[1]: *** No rule to make target '/usr/src/linux-2.6.21.5/pwd/Makefile'. Stop.
make: *** [_module_pwd] Error 2
make: Leaving directory '/usr/src/linux-2.6.21.5'


HELP!!!!
PSP User je offline   Reply With Quote