[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install prism2_usb without compiling

> Solution? Sorry, but I can't see the solution anywhere. Am I turning blind?
> [...]
> /usr/src/linux by default, I can't recall if pre22 changed anything in
> [...]
> drwxr-xr-x   5 root root     4096 2004-11-05 09:38 kernel-build-2.6.8-powerpc
> drwxr-xr-x   3 root root     4096 2004-11-05 09:38 kernel-headers-2.6.8
> drwxr-xr-x  18 root root     4096 2004-10-03 09:34 kernel-source-2.6.8
> -rw-r--r--   1 root root 34864927 2004-10-03 09:35
> kernel-source-2.6.8.tar.bz2
Man, where is the symlink "/usr/src/linux" there??? :-)

I don't know if you have searched in the mailing list archives, but there I
have found this [1]:

"Bah, another broken driver who doesn't know how to build when sources are
not in /usr/src/linux. either you fix it by grepping in the makefile to see
what shows /usr/src/linux and replace it with the stuff from kernel-build,
or you put a symlink from /usr/src/linux to the place that holds your
kernl-build stuff. If you use 2.6.8 debian packages, and this doesn't work
for you, please fill a bug report."

> So, it seems I have 'kernel source and headers', but I get this:
> jsmanrique@Dagobah:~/linux-wlan-ng-0.2.1pre23$ make config
> [...]
> /usr/src/kernel-headers-2.6.8/arch/ppc/Makefile: No existe el fichero o el
> directoriomake[2]: *** No hay ninguna regla para construir el
I think this is clear. There aren't the archives you need.
Do you have a precompiled kernel or you have builded your own kernel?

This is what you have to answer at the questions made by "make config":

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [y]: y
Linux source directory [...]: /lib/modules/2.6.8/build
[2]Alternate target install root directory on host []: 
Module install directory [...]: /lib/modules/2.6.8 
[3]Prefix for build host compiler? (rarely needed) []: 
Build for debugging (see doc/config.debug) (y/n) [n]: n 

After that, if it were successfully: make all (as root)


[1] http://lists.debian.org/debian-powerpc/2004/08/msg00619.html
[2][3] Nothing to response: pulse intro and continue

Keep it soulful and spread love!
"Ask and it will given to you; seek and you will find;
knock and the door will be opened to you." (Mathew 7:7)

Reply to: