[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Header ieee802_11.h in kernel rpm


On Tue, Jul 13, 2004 at 04:04:29PM +0200, Matthias Saou wrote:
> I've just stumbled onto a problem when trying to recompile the latest
> ipw2100 kernel modules against FC2's latest kernel. It seems that is now
> includes "ieee802_11.h" instead of <linux/802_11.h>, which doesn't work as
> it is a header not included in the kernel rpms. Who is to blame? That
> project for including a file which probably shouldn't be directly? Or the
> FC kernels for not including it? Here's what the Makefile says and does :
> # We have to add drivers/net/wireless until ieee802_11.h is in the default
> # include path
> EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/wireless
> Maybe the header file will be replacing or added beside 802_11.h in future
> kernels?

linux/802_11.h was dropped somewhere in the latest bk kernels. The
right thing would be for ieee802_11.h to be moved to /include/ in the
kernel sources and thus be exported in the Linux "API" ...

This is a good example of why one should really keep the sources
around (it is not the only kernel module project requiring this). It
is difficult to propagate clean API-like access to the kernel include
files, when the kernel itself is cross-including headers. And a
project hoping to become soon included into the kernel proper will not
invest too much into becoming a clean external one.

Temporary workaround: use the kernel sources. Or even better get the
prebuilt rpms: http://ATrpms.net/name/ipw2100/ :)
Axel.Thimm at ATrpms.net

Attachment: pgp00072.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]