LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2011, 10:30 AM   #1
dawncam
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Bad Exit Status when attempting to build netxtreme network card driver


I am having a terrible time getting any networking to work with a new RedHat Enterprise 6 64 bit install. I am installing on an HP Proliant DL380G7.
I have downloaded the driver - hp-netxtreme2-6.2.23-2.src.rpm from the HP website.
Followed directions and did the following:
1. Build Environment Setup - installed redhat-rpm-config and kernel-devel
2. Installed the source (hp-netxtreme) rpm.
3. Build the Binary RPM - installed rpm-build and ran the following:
rpmbuild -bb /root/rpmbuild/SPECS/hp-netxtreme2.spec
It runs through the build process and near the end I get the following:
make -C /lib/modules/2.6.32-71.el6.x86_64/build SUBDIRS=/root/rpmbuild/BUILD/hpnetxtreme2-6.2.23/obj/default/bnx2-2.0.23b/src modules
expr: syntax error
make[2]: Entering directory '/usr/src/kernels/2.6.32-71.el6.x86_64' /usr/src/kernels/2.6.32-71.el6.x86_64/arch/x86/makefile:81: stack protector enabled but no compiler support
make[2]: gcc: command not found
make [3]: ***[/root/rpmbuild/BUILD/hp-netxtreme2-6.2.23/obj/default/bnx2-2.0.23b/src/bnx2.o] Error 127
make[2]: ***[_module_/root/rpmbuild/BUILD/hp-netxtreme2-6.2.23/obj/default/bnx2-2.0.23b/src] Error 2
make[2]: Leaving directory '/usr/src/kernels/2.6.32-71.el6.x86_64'
make[1]: ***[default] Error 2
make[1]: Leaving directory '/root/rpmbuild/BUILD/hp-netxtreme2-6.2.23/obj/default/bnx2-2.0.23b/src'
make: ***[l2build] Error 2
make: Leaving directory '/root/rpmbuild/BUILD/hp-netxtreme2-6.2.23/obj/default'
Error: Bad Exit Status from /var/tmp/rpm-tmp.SdY2z3 (%build)
Step #4 says to check for the existence of kmod-hp-netxtreme2-<flavor> - does not exist.
Checked for the built RPM in /root/rpmbuild/RPMS and the directory is empty.

I have never had to build anything in the Linux environment so have no idea how it is supposed to work nor why I am getting an error message. Can someone help me with this problem so that I can get the network working.
Thanks
Dawn
 
Old 03-12-2011, 04:02 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
/makefile:81: stack protector enabled but no compiler support
make[2]: gcc: command not found
That's pretty fundamental. No compiler.That's actually a good way to have a server, as once you are going, you don't want a compiler. Only viruses will go looking for it. But you need one now, along with kernel source, kernel headers. One useful trick I have seen (Kevux.org) is to stuff them all in a separate partition normally unmounted but then mounted as required on /tools or some such. It is easier to drop them in & out than installing/ uninstalling a dozen packages.
 
Old 03-22-2011, 03:06 PM   #3
dawncam
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Problem didn't end up being an uninstalled network card but a network card that would not connect to a 10/100 network with the defaults installed. I set a fixed IP, GW, NM, and DNS and it would connect to a 1GB network but not the 10/100 MB network. If changed to DHCP it would connect to the 10/100 MB network. Removed the additional lines relating to network management and IPv6 and it connected fine to the 10/100 MB network with fixed IP.
 
  


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
rpmbuild error: Bad exit status jonaskellens Linux - Newbie 6 12-31-2009 02:16 PM
Bad EIP Value ; Fail after installed the Network Card Driver. Thanks! Bluesky2008 Linux - Networking 3 04-09-2008 04:38 AM
problem with "rpm -bb" , 1 out of 1 hunk ignored ...error: Bad exit status from /v wohaolouis Linux - Software 0 03-07-2004 07:12 AM
Cannot get network card status up Synth3tic Linux - Newbie 14 05-22-2003 10:13 PM
Attempting to install Linksys LNEPCI II network card Cheetahsloth Linux - Newbie 0 04-24-2001 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:27 AM.

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
Open Source Consulting | Domain Registration