#1  
Old 08-23-2010, 01:04 PM
spl518 spl518 is offline
Junior Member
 
Join Date: Aug 2010
Posts: 3
Question Error building Broadcom driver on HP 2140

>If you have a Broadcomm Wifi card:
>Slaine provided another Wifi tutorial, this time for MeeGo. >http://slaine.org/_slaine/Meego_1.0_Wifi.html


I followed the instructions posted at the link above and also in the FAQ but I'm getting the following build error...

Also, I was wondering if it's possible to get a "pre-built" binary rpm that I can just install -- I spent a little time searching the HP site but came up empty.



[scott@scott-desktop ~]$ rpmbuild --rebuild --target=i586 wl-kmod-5.60.48.36-1.moblin.src.rpm
Installing wl-kmod-5.60.48.36-1.moblin.src.rpm
warning: user glen does not exist - using root
warning: group glen does not exist - using root
warning: user glen does not exist - using root
warning: group glen does not exist - using root
warning: user glen does not exist - using root
warning: group glen does not exist - using root
warning: user glen does not exist - using root
warning: group glen does not exist - using root
warning: user glen does not exist - using root
warning: group glen does not exist - using root
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7OvPEv
+ umask 022
+ cd /home/scott/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/scott/rpmbuild/SOURCES
++ basename http://www.broadcom.com/docs/linux_s...0.48.36.tar.gz
+ file1=hybrid-portsrc-x86_32-v5.60.48.36.tar.gz
+ '[' '!' -f hybrid-portsrc-x86_32-v5.60.48.36.tar.gz ']'
+ cd /home/scott/rpmbuild/BUILD
+ rm -rf wl-kmod-5.60.48.36
+ /bin/mkdir -p wl-kmod-5.60.48.36
+ cd wl-kmod-5.60.48.36
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
++ basename http://www.broadcom.com/docs/linux_s...0.48.36.tar.gz
+ source_arch32=hybrid-portsrc-x86_32-v5.60.48.36.tar.gz
+ mkdir wl-kmod-5.60.48.36-src
+ pushd wl-kmod-5.60.48.36-src
~/rpmbuild/BUILD/wl-kmod-5.60.48.36/wl-kmod-5.60.48.36-src ~/rpmbuild/BUILD/wl-kmod-5.60.48.36
+ tar xzf /home/scott/rpmbuild/SOURCES/hybrid-portsrc-x86_32-v5.60.48.36.tar.gz
+ popd
~/rpmbuild/BUILD/wl-kmod-5.60.48.36
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nKDWuB
+ umask 022
+ cd /home/scott/rpmbuild/BUILD
+ cd wl-kmod-5.60.48.36
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -march=core2 -mssse3 -mtune=atom -mfpmath=sse'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ pushd wl-kmod-5.60.48.36-src
~/rpmbuild/BUILD/wl-kmod-5.60.48.36/wl-kmod-5.60.48.36-src ~/rpmbuild/BUILD/wl-kmod-5.60.48.36
++ uname -r
++ pwd
+ /usr/bin/make -C /lib/modules/2.6.33.3-11.1-netbook/build M=/home/scott/rpmbuild/BUILD/wl-kmod-5.60.48.36/wl-kmod-5.60.48.36-src modules
make: *** /lib/modules/2.6.33.3-11.1-netbook/build: No such file or directory. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.nKDWuB (%build)


RPM build errors:
user glen does not exist - using root
group glen does not exist - using root
user glen does not exist - using root
group glen does not exist - using root
user glen does not exist - using root
group glen does not exist - using root
user glen does not exist - using root
group glen does not exist - using root
user glen does not exist - using root
group glen does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.nKDWuB (%build)
Reply With Quote
  #2  
Old 08-24-2010, 06:05 AM
japboy japboy is offline
Junior Member
 
Join Date: Aug 2010
Location: Tokyo, JAPAN
Posts: 12
Thanked: 1 time
Unhappy Re: Error building Broadcom driver on HP 2140

I'm using MeeGo and hp mini 2140.
I'm actually using a custom kernel disabled WLAN, but WLAN's worked when I use official MeeGo kernel with patching following the FAQ instruction.

Perhaps something has been changed after some updates?
Reply With Quote
  #3  
Old 08-24-2010, 09:14 AM
my_linux my_linux is offline
Member
 
Join Date: Aug 2010
Location: London, UK
Posts: 36
Thanked: 7 times
Send a message via MSN to my_linux
Default Re: Error building Broadcom driver on HP 2140

The method I've shown here is working with both released kernels I have in Meego. You may wish to give it a go:

http://forum.meego.com/showthread.ph...light=broadcom
Reply With Quote

The Following User Says Thank You to my_linux For This Useful Post:
  #4  
Old 08-24-2010, 07:56 PM
mtklinux mtklinux is offline
Junior Member
 
Join Date: Aug 2010
Posts: 4
Thanked: 3 times
Default Re: Error building Broadcom driver on HP 2140

Hi, tried the Slaine-way as well as the link above. In both, it comes down only having /usr/src/kernels/2.6.33.5-24.1-netbook, instead of the desired /usr/src/kernels/2.6.33.3-11.1-netbook. As far as I understand, the last part of that script
Code:
make: *** /lib/modules/2.6.33.3-11.1-netbook/build: No such file or directory. Stop."
refers to the paths above.

Make does use "uname -r" to create the path, but in my installation, the value delivered does not match. Any ideas? Please help.
Reply With Quote

The Following User Says Thank You to mtklinux For This Useful Post:
  #5  
Old 08-24-2010, 09:25 PM
mtklinux mtklinux is offline
Junior Member
 
Join Date: Aug 2010
Posts: 4
Thanked: 3 times
Default Re: Error building Broadcom driver on HP 2140

Okay, found the mistake. So far, did not find it in the forum so I guess my solution might be helpful for some people.

I found out that Grub (Ubuntu first OS incl. Grub, MeeGo 2nd), directly boots kernel 2.6.33.3-11.1, so in order to get Slaine's manual to work, I had to manually edit grub.cfg to load updated MeeGo kernel 2.6.33.5-24.1. instead. "uname -r" then delivers right version, because then - and then only - this kernel is really loaded.
Reply With Quote

The Following 2 Users Say Thank You to mtklinux For This Useful Post:
  #6  
Old 08-25-2010, 05:32 PM
spl518 spl518 is offline
Junior Member
 
Join Date: Aug 2010
Posts: 3
Smile Re: Error building Broadcom driver on HP 2140

Thanks folks! I updated the FAQ with a pointer to this thread for the benefit of others who might be running into this error. I've since gone on to try the recent Ubuntu Netbook release which offers to install a pre-built Broadcom driver which seems to be working quite well so I'm going to stick with that distro for now. Although I have to admit I like the more simplified and streamlined UI in MeeGo but having to download all the dev tools and build your own driver is a hassle to say the least -- something that most users probably will not be willing to tackle.
Reply With Quote
  #7  
Old 10-14-2010, 06:04 AM
aikendrum aikendrum is offline
Junior Member
 
Join Date: Oct 2010
Posts: 1
Default Re: Error building Broadcom driver on HP 2140

Quote:
Originally Posted by mtklinux View Post
Okay, found the mistake. So far, did not find it in the forum so I guess my solution might be helpful for some people.

I found out that Grub (Ubuntu first OS incl. Grub, MeeGo 2nd), directly boots kernel 2.6.33.3-11.1, so in order to get Slaine's manual to work, I had to manually edit grub.cfg to load updated MeeGo kernel 2.6.33.5-24.1. instead. "uname -r" then delivers right version, because then - and then only - this kernel is really loaded.
Hi guys, I'm a total linux newbie, been fighting to install the wifi on a Samsung N210.
Could you please give me step by step instructions on how to edit grub and what to change precisely?

I know how to use VI, but I couldn't find grub and I don't know what to change there.

Thank you, I'm totally burned by now
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Always got wrong USB driver loaded... bradley7213 General 0 08-19-2010 05:07 PM
Does Meego 1.0 of N900 contains bme driver? snnn Handset 6 06-29-2010 09:06 AM
HP mini 2140 wifi is not recognized bodhidharmazen Netbook 1 06-08-2010 12:08 AM
Building a MeeGo image file profebral Netbook 1 06-02-2010 10:34 PM
Dell 1490 WLAN card driver numbermonkey Netbook 0 05-27-2010 10:14 PM


All times are GMT. The time now is 06:25 AM.