LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2010, 05:32 PM   #1
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Rep: Reputation: Disabled
Compiling Broadcom driver (No such file or dir error)


First, I'm compiling this on a Dell Mini 10 with Source Mage (source-based distro) installed. I keep running into this error when trying to install the Broadcom wireless driver (copying this by hand):

Code:
In file included from /usr/src/broadcom-wl-5.60.48.36/src/shared/linux_osl:19: #Line break due to screen width
/usr/src/broadcom-wl-5.60.48.36/src/include/linuxver.h:23:28: error: linux/autoconf.h: No such file # Line break
or directory
This is with kernel 2.6.33 and gcc 4.3.3. The only reason I have found for this via Google was a missing linux header, which is/should be installed (I would double check but I forgot how to do so)
 
Old 03-20-2010, 06:43 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Are your kernel headers installed?

I'm not familiar with Source Mage, so ask its documentation if you don't know how to check.
 
Old 03-20-2010, 08:37 PM   #3
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Original Poster
Rep: Reputation: Disabled
Yes, the kernel headers are installed
 
Old 03-20-2010, 08:56 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,360

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by Dralnu View Post
This is with kernel 2.6.33 and gcc 4.3.3.
Isn't the Broadcom driver already in 2.6.33; except for the firmware, which must be downloaded separately? What is the model number of the device you're trying to install?
 
Old 03-20-2010, 08:58 PM   #5
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Original Poster
Rep: Reputation: Disabled
DW1510 is the card I'm using, though I can't find out the exact chipset despite alot of searching.
 
Old 03-20-2010, 09:09 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,360

Rep: Reputation: 127Reputation: 127
From this link, it looks like it's a BCM94322:

http://www.amazon.com/Half-Height-Br.../dp/B002OB0FPI

Which is actually a BCM4322, which unfortunately is not listed as being supported by the b43 driver. But, have you tried using it, anyway?
 
Old 03-21-2010, 12:04 AM   #7
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Original Poster
Rep: Reputation: Disabled
I don't have a wifi network at home I can use since I use ethernet for everything at home.

However, lspci doesn't list my wifi card (only ethernet), so I don't think that the b43 driver has been able to detect this chip.
 
Old 03-21-2010, 12:53 PM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,360

Rep: Reputation: 127Reputation: 127
"lspci" doesn't use the driver to list the cards on the PCI bus, it uses the PCI mechanism. If lspci doesn't show it, it's probably either not there, not inserted right, or defective. Can we see the full output of "lspci"?
 
Old 03-21-2010, 04:29 PM   #9
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Original Poster
Rep: Reputation: Disabled
I think I am going to try and find the original install CD, make a backup of the Source Mage install, and toss Ubuntu back onto it and see what happens (it came with Ubuntu preinstalled).

If it doesn't work then I'll know it is a hardware issue.
 
Old 03-22-2010, 05:43 PM   #10
TobiG
LQ Newbie
 
Registered: Oct 2005
Location: Auckland , NZ
Distribution: Yoper / Lots of testing others
Posts: 8

Rep: Reputation: 0
Hi,

autoconf.h has been moved around a bit on 2.6.33 .

Go into the directory of the broadcom source and apply this patch :

http://powerplant.yoper-linux.org/pr...36-2.6.33.diff with patch -Np1 -i /path/to/patch


That should get you going.
 
Old 04-11-2010, 11:43 AM   #11
changedsoul
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Rep: Reputation: 0
TobiG: I am having this same issue and I tried to get this patch you posted a link to, but the link appears to not be valid anymore. Can you repost it?
 
Old 04-11-2010, 04:29 PM   #12
TobiG
LQ Newbie
 
Registered: Oct 2005
Location: Auckland , NZ
Distribution: Yoper / Lots of testing others
Posts: 8

Rep: Reputation: 0
http://ftp.yoper-linux.org/pub/devel...36-2.6.33.diff

There you go
 
Old 04-12-2010, 09:25 PM   #13
changedsoul
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Rep: Reputation: 0
Thanks, but I already got it working, I just commented out that line that was complaining about the autoconf.h and it compiles just fine and the new drivers works like a dream.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 a driver for OSol (Sol) for a broadcom Wireless NIC Alexvader Solaris / OpenSolaris 1 01-26-2010 10:37 AM
broadcom nic driver installation fails-no such file and dir pgb205 Red Hat 2 07-20-2009 10:56 AM
Broadcom NIC driver compile error cyberwiz Slackware 12 06-29-2006 07:04 PM
Broadcom Ethernet Card Compiling Error On Thinkpad R40E TheGreatGonzo Slackware 4 05-18-2006 03:50 PM
Invalid SSL/TLS toolkit base dir error while compiling Apache 2 basse- Linux - Software 2 03-20-2004 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration