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 |
Quote:
|
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.
|
All times are GMT -5. The time now is 03:16 AM. |