I'm getting the following output:
# make patch_kernel
Patching from compatible/ to /lib/modules/2.6.21-1.3228.fc7/source/:
+ Replaced 57 files.
Checking for required kernel build updates...
- checking net/Kconfig and net/Makefile...
- checking net/core/Makefile for old 'wireless'...
- checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
grep: /lib/modules/2.6.21-1.3228.fc7/source/net/core/dev.c: No such
file or directory
- checking net/core/dev.c for wireless_process_ioctl v. wext_handle_ioctl...
grep: /lib/modules/2.6.21-1.3228.fc7/source/net/core/dev.c: No such
file or directory
- checking net/core/dev.c for linxu/wireless.h v. net/wext.h...
grep: /lib/modules/2.6.21-1.3228.fc7/source/net/core/dev.c: No such
file or directory
- checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
grep: /lib/modules/2.6.21-1.3228.fc7/source/net/core/dev.c: No such
file or directory
- checking net/Makefile and Kconfig for old 'd80211'...
Done.
What am I missing?
Ben
Benjamin Bryant wrote:
> I'm getting the following output:
>
> # make patch_kernel
> Patching from compatible/ to /lib/modules/2.6.21-1.3228.fc7/source/:
> + Replaced 57 files.
> Checking for required kernel build updates...
> - checking net/Kconfig and net/Makefile...
> - checking net/core/Makefile for old 'wireless'...
> - checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
> grep: /lib/modules/2.6.21-1.3228.fc7/source/net/core/dev.c: No such
Hi -
The kernel-devel package doesn't include all the kernel sources, just
include files and so on. You need the kernel SRPM installed to get all
the c source files.
Since Fedora kernels already have a recent mac80211 in them, depending
on what you want to achieve you may be better off either
- skipping trying to cook mac80211 at all (I guess this is from iwlwifi)
- using the latest Fedora development kernel with
yum --enablerepo development update kernel
- or using the wireless-dev git with
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git
and copying over /boot/config-<something> as .config in there so you
will be working with the most recent mac80211 all the time.
-Andy