- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Building the src RPM for BCM5700 on Centos
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- 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
- 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
- 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
- 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
- Report Inappropriate Content
тАО03-12-2006 11:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- 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