Compilation failure with linux-2.6.0-test6

James B Hiller jhiller at visi.net
Mon Oct 6 09:45:53 EDT 2003


Hi.  I hope this hasn't been covered (I can't find anything about
it on the list) and that I'm not doing something dumb (probably am).

Have had hostap-0.0.4 CVS from about mid-August running fine on my
box (was linux-2.4.20).  When I went to 2.4.22, had some IDE problems
that I had to overcome, and the only way I've found so far to do that
was to go to the latest 2.6.0 (test6).  (This has nothing to do with
hostap).

Problem is, now I need to recompile hostap, so got the CVS that was
current yesteray (5 Oct).  But I'm getting the following (have made
no other changes other than the new kernel):

(KERNEL_PATH in the Makefile is set to /usr/src/linux-2.6.0-test6)

root at hound:/usr/local/packages/incoming/hostap# make pci
Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is not defined
gcc -I/usr/src/linux-2.6.0-test6/include -include driver/modules/hostap.ver  -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include /usr/src/linux-2.6.0-test6/include/linux/modversions.h -D__SMP__ -DSMP -fomit-frame-pointer -o driver/modules/hostap_pci.o driver/modules/hostap_pci.c
cpp0: /usr/src/linux-2.6.0-test6/include/linux/modversions.h: No such file or directory
make: *** [driver/modules/hostap_pci.o] Error 1

Since modversions.h now seems to be in
/usr/src/linux-2.6.0-test6/include/config, I've made that change in the
Makefile as well.  When I do that, I get:

root at hound:/usr/local/packages/incoming/hostap# make pci
Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH is not defined
gcc -I/usr/src/linux-2.6.0-test6/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include /usr/src/linux-2.6.0-test6/include/config/modversions.h -D__SMP__ -DSMP -fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap.c | \
        /sbin/genksyms -p smp_ -k 2.6.0 > driver/modules/hostap.ver
In file included from /usr/src/linux-2.6.0-test6/include/asm/smp.h:18,
                 from /usr/src/linux-2.6.0-test6/include/linux/smp.h:17,
                 from /usr/src/linux-2.6.0-test6/include/linux/sched.h:23,
                 from /usr/src/linux-2.6.0-test6/include/linux/module.h:10,
                 from driver/modules/hostap.c:21:
/usr/src/linux-2.6.0-test6/include/asm/mpspec.h:6: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux-2.6.0-test6/include/linux/smp.h:17,
                 from /usr/src/linux-2.6.0-test6/include/linux/sched.h:23,
                 from /usr/src/linux-2.6.0-test6/include/linux/module.h:10,
                 from driver/modules/hostap.c:21:
/usr/src/linux-2.6.0-test6/include/asm/smp.h:73: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux-2.6.0-test6/include/linux/irq.h:20,
                 from /usr/src/linux-2.6.0-test6/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6.0-test6/include/linux/interrupt.h:11,
                 from /usr/src/linux-2.6.0-test6/include/linux/netdevice.h:492,
                 from /usr/src/linux-2.6.0-test6/include/linux/if_arp.h:26,
                 from driver/modules/hostap.c:25:
/usr/src/linux-2.6.0-test6/include/asm/irq.h:16: irq_vectors.h: No such file or directory
gcc -I/usr/src/linux-2.6.0-test6/include -include driver/modules/hostap.ver  -O2 -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include /usr/src/linux-2.6.0-test6/include/config/modversions.h -D__SMP__ -DSMP -fomit-frame-pointer -o driver/modules/hostap_pci.o driver/modules/hostap_pci.c
In file included from /usr/src/linux-2.6.0-test6/include/asm/smp.h:18,
                 from /usr/src/linux-2.6.0-test6/include/linux/smp.h:17,
                 from /usr/src/linux-2.6.0-test6/include/linux/sched.h:23,
                 from /usr/src/linux-2.6.0-test6/include/linux/module.h:10,
                 from driver/modules/hostap_pci.c:9:
/usr/src/linux-2.6.0-test6/include/asm/mpspec.h:6: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux-2.6.0-test6/include/linux/smp.h:17,
                 from /usr/src/linux-2.6.0-test6/include/linux/sched.h:23,
                 from /usr/src/linux-2.6.0-test6/include/linux/module.h:10,
                 from driver/modules/hostap_pci.c:9:
/usr/src/linux-2.6.0-test6/include/asm/smp.h:73: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux-2.6.0-test6/include/linux/irq.h:20,
                 from /usr/src/linux-2.6.0-test6/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6.0-test6/include/linux/interrupt.h:11,
                 from /usr/src/linux-2.6.0-test6/include/linux/netdevice.h:492,
                 from driver/modules/hostap_pci.c:13:
/usr/src/linux-2.6.0-test6/include/asm/irq.h:16: irq_vectors.h: No such file or directory
make: *** [driver/modules/hostap_pci.o] Error 1

-------

I started looking through the kernel source tree to see if there was
some "easy" change I could make, but so far, I've not figured that out.

If anyone can tell me what I should be doing to get past this, would
be much appreciative.

thx,
jbh




More information about the HostAP mailing list