Compiling wl driver on upup 476?
I'm trying to compile this driver on upup 476.
I tried following the readme, but I get a "No targets" error when I run: make -C /lib/modules/2.6.29.4/build M=`pwd` I have the kernel source and devx sfs modules. Any ideas? Thanks |
Does the source have a configure file?
I usually just do a ./configure followed on completion of that by make. |
Quote:
I tried compiling it on puppy again and this time it actually started to compile, but failed. (sorry, didn't bother to write down the error) Then I applied the 2.6.29 patch from broadcoms site and tried compiling again, but it still failed. I know you can't help much without the errors, so I'll post them later. But if anybody has been able to compile this on on upup, please let me know how you did it. |
OK, the error was caused by a missing /usr/src/linux-2.6.29.4/include/linux/bounds.h
I noticed that there was a bounds.h in /usr/src/linux-2.6.29.1/include/linux, so I copied it over to 2.6.29.4. After that, the driver successfully compiles. The only problem now is I get a kernel panic every time I "modprobe wl" Any ideas? |
Quote:
I clicked on my upup-476.iso, to mount it and then clicked on upup-476.sfs to mount it. then I navigated to lib/modules. It showed a folder for the kernel that was 2.6.29.3. So that would mean the wrong kernel source was used to compile the driver. You can verify the kernel version used in upup 476 by navigating to /lib/modules and see what kernel version was used by the name of the folder. If it does not match your kernel source sfs file you have a kernel incompatibility. |
Quote:
Thanks, I'll check that out. Could've sworn it used 2.6.29.4, but maybe I made a mistake. EDIT: Quote:
|
All times are GMT -5. The time now is 12:30 AM. |