[elrepo] kmod-wl not rebuilding under EL6.5
Lamar Owen
lowen at pari.edu
Tue Dec 3 14:03:35 EST 2013
Good afternoon.
After using the CentOS CR repo to yum update to CentOS 6.5, I noticed
that my wireless had stopped working. I had, under a previous CentOS
6.4 installation, successfully rebuilt the wl-kmod source rpm (
http://elrepo.org/linux/elrepo/el6/SRPMS/wl-kmod-6_30_223_141-1.el6.elrepo.nosrc.rpm
) following the instructions found on http://elrepo.org/tiki/wl-kmod .
I had copied the binary over to the new C6.4 install and had installed
it, and it had worked fine. But it quite working after upgrading to 6.5.
So, I thought I'd just rebuild it with the new kernel devel, but now the
package is not rebuilding properly:
+++++++++++++++++
[lowen at localhost Downloads]$ rpmbuild --rebuild --target=`uname -m`
--define 'packager Lamar Owen' wl-kmod*nosrc.rpm
Installing wl-kmod-6_30_223_141-1.el6.elrepo.nosrc.rpm
warning: user ajb does not exist - using root
warning: group ajb does not exist - using root
warning: user ajb does not exist - using root
warning: group ajb does not exist - using root
warning: user ajb does not exist - using root
warning: group ajb does not exist - using root
warning: user ajb does not exist - using root
warning: group ajb does not exist - using root
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.upinWm
+ umask 022
+ cd /home/lowen/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/lowen/rpmbuild/BUILD
+ rm -rf wl-kmod-6_30_223_141
+ /bin/mkdir -p wl-kmod-6_30_223_141
+ cd wl-kmod-6_30_223_141
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /home/lowen/rpmbuild/BUILD
+ cd wl-kmod-6_30_223_141
+ /usr/bin/gzip -dc
/home/lowen/rpmbuild/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (wl-kmod-fix-ioctl-handling.patch):'
Patch #0 (wl-kmod-fix-ioctl-handling.patch):
+ /bin/cat /home/lowen/rpmbuild/SOURCES/wl-kmod-fix-ioctl-handling.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file src/wl/sys/wl_cfg80211_hybrid.c
patching file src/wl/sys/wl_linux.c
+ /bin/sed -i 's/.. KERNEL_VERSION(2, 6, 3.)/>= KERNEL_VERSION(2, 6,
32)/' src/wl/sys/wl_cfg80211_hybrid.c
+ echo 'override wl * weak-updates/wl'
+ /bin/cat
+ /bin/cat
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Un2HL9
+ umask 022
+ cd /home/lowen/rpmbuild/BUILD
+ cd wl-kmod-6_30_223_141
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' '%{apiwext}' == 1 ']'
++ uname -r
+ /usr/bin/make KBUILD_DIR=/usr/src/kernels/2.6.32-431.el6.x86_64
KBUILD_NOPEDANTIC=1 make -C /usr/src/kernels/2.6.32-431.el6.x86_64 M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/built-in.o
CC [M]
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/shared/linux_osl.o
CC [M]
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_linux.o
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_linux.c:
In function 'wl_tkip_printstats':
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_linux.c:3242:
warning: passing argument 1 of 'wl->tkipmodops->print_stats' from
incompatible pointer type
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_linux.c:3242:
note: expected 'struct seq_file *' but argument is of type 'char *'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_linux.c:3245:
warning: passing argument 1 of 'wl->tkipmodops->print_stats' from
incompatible pointer type
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_linux.c:3245:
note: expected 'struct seq_file *' but argument is of type 'char *'
CC [M] /home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_iw.o
CC [M]
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.o
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:
In function 'wl_cfg80211_join_ibss':
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:726:
error: 'struct cfg80211_ibss_params' has no member named 'channel'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:
At top level:
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:1592:
warning: initialization from incompatible pointer type
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:1597:
warning: initialization from incompatible pointer type
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:1598:
warning: initialization from incompatible pointer type
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:
In function 'wl_inform_single_bss':
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:1796:
warning: passing argument 1 of 'cfg80211_put_bss' from incompatible
pointer type
include/net/cfg80211.h:3380: note: expected 'struct wiphy *' but
argument is of type 'struct cfg80211_bss *'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:1796:
error: too few arguments to function 'cfg80211_put_bss'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:
In function 'wl_update_bss_info':
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:2049:
error: 'struct cfg80211_bss' has no member named 'information_elements'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:2050:
error: 'struct cfg80211_bss' has no member named 'len_information_elements'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:2055:
warning: passing argument 1 of 'cfg80211_put_bss' from incompatible
pointer type
include/net/cfg80211.h:3380: note: expected 'struct wiphy *' but
argument is of type 'struct cfg80211_bss *'
/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.c:2055:
error: too few arguments to function 'cfg80211_put_bss'
make[2]: ***
[/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141/src/wl/sys/wl_cfg80211_hybrid.o]
Error 1
make[1]: *** [_module_/home/lowen/rpmbuild/BUILD/wl-kmod-6_30_223_141]
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Un2HL9 (%build)
++++++++++++++++
Am I missing some devel package that's not documented on the elrepo page?
More information about the elrepo
mailing list