<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I am trying to build the kmod-forcedeth driver from the src.rpm on
ClearOS 7.2 (a CentOS 7.2 derivative but with a slightly different
kernel) using rpmbuild, but the build is failing:<br>
<blockquote>Installing forcedeth-kmod-0.64-1.el7.elrepo.src.rpm<br>
warning: forcedeth-kmod-0.64-1.el7.elrepo.src.rpm: Header V4
DSA/SHA1 Signature, key ID baadae52: NOKEY<br>
warning: user phil does not exist - using root<br>
warning: group phil does not exist - using root<br>
warning: user phil does not exist - using root<br>
warning: group phil does not exist - using root<br>
warning: user phil does not exist - using root<br>
warning: group phil does not exist - using root<br>
warning: user phil does not exist - using root<br>
warning: group phil does not exist - using root<br>
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KY8JEb<br>
+ umask 022<br>
+ cd /home/build/rpmbuild/BUILD<br>
+ cd /home/build/rpmbuild/BUILD<br>
+ rm -rf forcedeth-0.64<br>
+ /usr/bin/tar -xf -<br>
+ /usr/bin/bzip2 -dc
/home/build/rpmbuild/SOURCES/forcedeth-0.64.tar.bz2<br>
+ STATUS=0<br>
+ '[' 0 -ne 0 ']'<br>
+ cd forcedeth-0.64<br>
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .<br>
+ echo 'override forcedeth * weak-updates/forcedeth'<br>
+ exit 0<br>
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dGt9DZ<br>
+ umask 022<br>
+ cd /home/build/rpmbuild/BUILD<br>
+ cd forcedeth-0.64<br>
+ KSRC=/usr/src/kernels/3.10.0-327.10.1.v7.x86_64<br>
+ /usr/bin/make -C /usr/src/kernels/3.10.0-327.10.1.v7.x86_64
modules M=/home/build/rpmbuild/BUILD/forcedeth-0.64<br>
make: Entering directory
`/usr/src/kernels/3.10.0-327.10.1.v7.x86_64'<br>
CC [M] /home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.o<br>
/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.c: In function
'nv_get_stats64':<br>
/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.c:1758:3:
error: implicit declaration of function 'u64_stats_fetch_begin_bh'
[-Werror=implicit-function-declaration]<br>
syncp_start =
u64_stats_fetch_begin_bh(&np->swstats_rx_syncp);<br>
^<br>
/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.c:1763:2:
error: implicit declaration of function 'u64_stats_fetch_retry_bh'
[-Werror=implicit-function-declaration]<br>
} while (u64_stats_fetch_retry_bh(&np->swstats_rx_syncp,
syncp_start));<br>
^<br>
/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.c: In function
'nv_start_xmit_optimized':<br>
/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.c:2467:2:
error: implicit declaration of function 'vlan_tx_tag_present'
[-Werror=implicit-function-declaration]<br>
if (vlan_tx_tag_present(skb))<br>
^<br>
/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.c:2468:3:
error: implicit declaration of function 'vlan_tx_tag_get'
[-Werror=implicit-function-declaration]<br>
start_tx->txvlan = cpu_to_le32(NV_TX3_VLAN_TAG_PRESENT |<br>
^<br>
cc1: some warnings being treated as errors<br>
make[1]: ***
[/home/build/rpmbuild/BUILD/forcedeth-0.64/forcedeth.o] Error 1<br>
make: *** [_module_/home/build/rpmbuild/BUILD/forcedeth-0.64]
Error 2<br>
make: Leaving directory
`/usr/src/kernels/3.10.0-327.10.1.v7.x86_64'<br>
error: Bad exit status from /var/tmp/rpm-tmp.dGt9DZ (%build)<br>
<br>
<br>
RPM build errors:<br>
forcedeth-kmod-0.64-1.el7.elrepo.src.rpm: Header V4 DSA/SHA1
Signature, key ID baadae52: NOKEY<br>
user phil does not exist - using root<br>
group phil does not exist - using root<br>
user phil does not exist - using root<br>
group phil does not exist - using root<br>
user phil does not exist - using root<br>
group phil does not exist - using root<br>
user phil does not exist - using root<br>
group phil does not exist - using root<br>
Bad exit status from /var/tmp/rpm-tmp.dGt9DZ (%build)<br>
</blockquote>
Is there a problem with the driver or am I out of luck? I've never
had any issues like with the other drivers I routinely build (r8168,
r8168, e1000e and igb).<br>
<br>
Regards,<br>
<br>
Nick<br>
</body>
</html>