Error compiling hostap-driver-0.2.4 & linux-2.6.6
Tue Aug 31 06:32:35 PDT 2004
I've searched through google on this list and many others looking for this
problem, and found many people had it, although the solution was nearly always
as simple as indicating some paths correctly....
but i can't get it to work without doing any nasty modifications on the
the problem is on linux kernel's include/asm/irq.h file, that includes a so
called irq_vectors.h (but with #include "irq_vectors.h")
the fact is that if i change the include line with
everything goes without errors... but i don't want to do such things ;)
(in fact, no errors appear on compilation, but a lot of warnings do, such as
include/asm/system.h:193: warning: dereferencing type-punned pointer
will break strict-aliasing rules
or a lot of
*** Warning: "hostap_remove_interface"
*** Warning: "hostap_proc"
[/usr/src/linuxAP-eh/hostap-driver/driver/modules/hostap] is COMMON
and i don't know what do they mean)
well, the line with which i call the hostap-driver makefile is as follows:
cd hostap-driver && make \
CFLAGS="-Os -D__KERNEL__ -DMODULE -Wall -g -c -DPRISM2_NO_DEBUG -DPRISM2_NO_PROCFS_DEBUG" \
> /tmp/hostap-driver-build 2>&1
as i told, the versions are:
gcc: 3.3.4 (from uClibc's toolchain)
anybody knows why this problem continues appearing (as i found messages with
this same error from year 2003)?
by the way, i've seen on kernel's makefile that to build external modules,
the call should be something like
$(MAKE) -C $(KERNEL_PATH) M=$(PWD)/driver/modules
while the (as i understood) deprecated variables SUBDIRS and MODVERDIR are
used on hostap-driver's makefile
$(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules \
well, if any more information is necessary, just tell me and i'll give you
thanks a lot (and sorry for the length of the message)
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
More information about the Hostap