Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > F15 Development
FedoraForum Search

Forgot Password? Join Us!

F15 Development The proper place for all things "F15." This section will be archived once F15 reaches final release.

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st March 2011, 05:48 PM
m2lmb Offline
Registered User
 
Join Date: Feb 2011
Posts: 17
windows_xp_2003firefox
[SOLVED]Building a network driver -- what tools/libraries to download?[SOLVED]

Hello,

After installing F-15 64 bit on a Live USB stick, what do I need to download to be able to build the sources from http://www.broadcom.com/support/802.11/linux_sta.php? Although the USB stick is small, there is room on the laptop's harddrive.

Thanks,

Last edited by m2lmb; 5th March 2011 at 04:36 AM. Reason: marking it as solved
  #2  
Old 1st March 2011, 06:01 PM
stevea's Avatar
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,297
linuxfedorafirefox
Re: Building a network driver -- what tools/libraries to download?

All the tools you need are in this:
yum -y groupinstall "Development Tools"

You also need the kernel headers & makefiles
yum -y install kernel-devel kernel-headers


===

BTW - instead of the entire "Development Tools" group you can probably just get the
gcc, make packages.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 1st March 2011 at 06:04 PM.
  #3  
Old 3rd March 2011, 05:12 AM
m2lmb Offline
Registered User
 
Join Date: Feb 2011
Posts: 17
windows_xp_2003firefox
Re: Building a network driver -- what tools/libraries to download?

Thanks -- the following

Code:
yum --installroot=/media/OS/home/f14 install kernel-headers kernel-devel
yum --installroot=/media/OS/home/f14 install gcc
worked, but there's one loose end -- the module that provided ld ended up creating the following:

Code:
      cd  /media/OS/home/f14/usr/bin
      ls -laF  ld
      ld -> /etc/alternatives/ld
      
      cd  /media/OS/home/f14/etc/alternatives
      ls -laF ld*
      ld -> /usr/bin/ld.bfd
The above is strange since the use of absolute paths in the links means that there will be issues when the modules are installed in a non-default location (as is being done in the installation under discussion)!

Workaround: Modify the soft-links to use relative paths:

Code:
      cd  /media/OS/home/f14/etc/alternatives
      ln -s ../../usr/bin/ld.bfd  ld
      ln -s ../../usr/bin/ld.bfd  ld.bfd
  
      cd  /media/OS/home/f14/usr/bin
      # Should have used a relative path in the next command
      # Even better, could have just done: ln -s ld.bfd ld
      ln -s /media/OS/home/f14/etc/alternatives/ld ld
Question: Why doesn't the module that provides ld use relative paths in the soft links -- thereby allowing that module to be easily installed in a non-standard location?

Last edited by m2lmb; 3rd March 2011 at 03:54 PM. Reason: Q about $releasever might not be applicable here
  #4  
Old 5th March 2011, 04:34 AM
m2lmb Offline
Registered User
 
Join Date: Feb 2011
Posts: 17
linuxfedorafirefox
Re: Building a network driver -- what tools/libraries to download?

.

Need to use the correct version for the kernel build tools -- `uname -r` of machine on which build and deployment will occur (same machine):

1, 2) yum --installroot=`pwd`/foo -y -v install kernel-{headers,devel}-`uname -r`

3) yum --installroot=`pwd`/foo -y -v install gcc


Finally, closing this thread (marking it as SOLVED) after filing a bug-report on broken installation of ld https://bugzilla.redhat.com/show_bug.cgi?id=682396

.

Last edited by m2lmb; 5th March 2011 at 04:40 AM.
 

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
where can i download pthread libraries for f12 {2.6.31.5-127.fc.12.i686} gali Using Fedora 3 11th November 2010 12:52 PM
glibc-headers not installed with dev tools / dev libraries mizo Using Fedora 0 14th January 2008 11:51 AM
Unable to download the compat-libstdc++-33 compatibility libraries kpfuser Using Fedora 2 3rd September 2007 11:35 PM
building shared libraries code4fun Using Fedora 0 5th January 2006 05:53 AM


Current GMT-time: 05:02 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat