LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 09-11-2009, 09:49 AM   #1
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
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

Last edited by piratesmack; 09-16-2009 at 08:54 AM.
 
Old 09-15-2009, 01:02 AM   #2
8-bit
Member
 
Registered: Jan 2009
Location: Southern Oregon under a rock.
Distribution: Puppy 431 SCSI, Lucid 520, Slacko, Win 7
Posts: 131

Rep: Reputation: 49
Does the source have a configure file?
I usually just do a ./configure followed on completion of that by make.
 
Old 09-15-2009, 02:15 AM   #3
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Original Poster
Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by 8-bit View Post
Does the source have a configure file?
I usually just do a ./configure followed on completion of that by make.
Nah, no configure script.
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.
 
Old 09-16-2009, 08:52 AM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Original Poster
Rep: Reputation: 142Reputation: 142
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?
 
Old 09-16-2009, 11:28 AM   #5
8-bit
Member
 
Registered: Jan 2009
Location: Southern Oregon under a rock.
Distribution: Puppy 431 SCSI, Lucid 520, Slacko, Win 7
Posts: 131

Rep: Reputation: 49
Quote:
Originally Posted by piratesmack View Post
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?
It just might be a compiling kernel mismatch.
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.
 
Old 09-16-2009, 01:39 PM   #6
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Original Poster
Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by 8-bit View Post
It just might be a compiling kernel mismatch.
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.
2.6.29.3?
Thanks, I'll check that out.

Could've sworn it used 2.6.29.4, but maybe I made a mistake.

EDIT:

Quote:
'upup-476.iso' is the standard Jaunty Puppy build, kernel 2.6.29.4.
http://puppylinux.com/blog/?viewDetailed=00768

Last edited by piratesmack; 09-16-2009 at 01:45 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling driver modules linlax Linux - Embedded & Single-board computer 1 07-13-2008 04:47 AM
driver not compiling prasadlinuxguy Linux - Networking 2 05-04-2006 03:56 AM
Compiling Joystick Driver barry2811 Linux - Software 3 06-04-2005 12:00 PM
Compiling Driver for installation bluewall21 Linux - Hardware 4 10-01-2004 09:58 PM
compiling berilios driver.... col.kowalski Linux - General 1 09-30-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration