- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Building the src RPM for BCM5700 on Centos
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-12-2006 09:19 PM
03-12-2006 09:19 PM
make -C /usr/src/linux SUBDIRS=/usr/src/redhat/BUILD/bcm5700-8.3.14a modules
make[1]: Entering directory `/usr/src/linux-2.6.9-11.EL'
CC [M] /usr/src/redhat/BUILD/bcm5700-8.3.14a/b57um.o
In file included from /usr/src/redhat/BUILD/bcm5700-8.3.14a/b57um.c:19:
/usr/src/redhat/BUILD/bcm5700-8.3.14a/mm.h:31:27: linux/version.h: No such file or directory
/usr/src/redhat/BUILD/bcm5700-8.3.14a/mm.h:37:31: linux/modversions.h: No such file or directory
I guess it's to do with how we've setup the kernel source. Has anyone seen this problem before ? Any ideas how to setup the src correctly ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-12-2006 09:43 PM
03-12-2006 09:43 PM
Re: Building the src RPM for BCM5700 on Centos
Use the following series of commands:
I install the source RPM package:
rpm -ivh bcm5700-x.x.x.x.src.rpm
2. CD to the RPM path and build the binary driver for my kernel:
cd /usr/src/centos
rpmbuild -bb SPECS/bcm5700.spec
( rpm-build package should be present)
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-12-2006 09:44 PM
03-12-2006 09:44 PM
Re: Building the src RPM for BCM5700 on Centos
Use the following series of commands:
I install the source RPM package:
rpm -ivh bcm5700-x.x.x.x.src.rpm
2. CD to the RPM path and build the binary driver for my kernel:
cd /usr/src/centos
rpmbuild -bb SPECS/bcm5700.spec
( rpm-build package should be present)
3.rpm -ivh --force RPMS/i386/bcm5700-x.x.x.x.i386.rpm
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-12-2006 10:06 PM
03-12-2006 10:06 PM
Re: Building the src RPM for BCM5700 on Centos
> # cd /usr/src/linux-
> # make mrproper
> # make -e KERNELRELEASE=`uname -r` oldconfig
That worked
> # make -e KERNELRELEASE=`uname -r` dep
This returned "make dep" is not necessary anymore.
rpmbuild -bb SPECS/bcm5700.spec failed immediately.
We then did a: -
ln -s /usr/src/linux-
rpmbuild -bb SPECS/bcm5700.spec
which resulted in the error log. I've attached the full log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-12-2006 11:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-13-2006 01:48 AM
03-13-2006 01:48 AM
Re: Building the src RPM for BCM5700 on Centos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-13-2006 02:25 AM
03-13-2006 02:25 AM
Re: Building the src RPM for BCM5700 on Centos
You will always need kernel-devel package is you are building from a source.
Cheers
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP