Hi all,
We are using PF_RING-6.2.0 and IXGBE-ZC compilation failing on the RHEL 6.7
with kernel version-2.6.32-696.16.1.el6.x86_64
Below are the errors received -
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/*src/kcompat.h:
In function '__kc_vlan_get_protocol':*
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/
*src/kcompat.h:3404: error: implicit declaration of function
'vlan_tx_tag_present'In file included from
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.c:51:*
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:
In function 'ixgbe_qv_unlock_napi':
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:602:
*error: too few arguments to function 'napi_gro_flush'make[2]: ***
[/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.o]
Error 1make[1]: ***
[_module_/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src]
Error 2make[1]: Leaving directory
`/usr/src/kernels/2.6.32-696.16.1.el6.x86_64'make: *** [default] Error 2*
make: Leaving directory
`/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src'
error: Bad exit status from /var/tmp/rpm-tmp.TtmLvI (%install)
Please help to resolve this.
Regards,
Gautam
We are using PF_RING-6.2.0 and IXGBE-ZC compilation failing on the RHEL 6.7
with kernel version-2.6.32-696.16.1.el6.x86_64
Below are the errors received -
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/*src/kcompat.h:
In function '__kc_vlan_get_protocol':*
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/
*src/kcompat.h:3404: error: implicit declaration of function
'vlan_tx_tag_present'In file included from
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.c:51:*
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:
In function 'ixgbe_qv_unlock_napi':
/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe.h:602:
*error: too few arguments to function 'napi_gro_flush'make[2]: ***
[/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src/ixgbe_main.o]
Error 1make[1]: ***
[_module_/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src]
Error 2make[1]: Leaving directory
`/usr/src/kernels/2.6.32-696.16.1.el6.x86_64'make: *** [default] Error 2*
make: Leaving directory
`/root/rpmbuild/BUILD/PF_RING-ZC-2.6.32-696.16.1.el6.x86_64-6.2.0/PF_RING-ZC-6.2.0/src'
error: Bad exit status from /var/tmp/rpm-tmp.TtmLvI (%install)
Please help to resolve this.
Regards,
Gautam