Makefile $MODPATH discrepancy

AP-Research HostAP-Research at maxrack.net
Thu Jun 17 22:28:36 EDT 2004


When compiling HostAP I need to modify the MODPATH listed in Makefile or
the modules get put in the wrong path:

/lib/modules/2.6.6-1.435/pcmcia
/lib/modules/2.6.6-1.435/net

...and inserting my card gives:

cardmg: executing: 'modprobe hostap_cs 2>&1'

cardmgr: + FATAL: Module hostap_cs not found.

cardmgr: modprobe exited with status 1

cardmgr: module /lib/modules/2.6.6-1.435/pcmcia/hostap_cs.o not available

cardmgr: bind 'hostap_cs' to socket 1 failed: Invalid argument


Is this modification specific to Redhat/Fedora installs?



[root at Forensics4g hostap]# diff Makefile.original Makefile
58c58
< MODPATH := $(DESTDIR)/lib/modules/$(KERNELRELEASE)
---
> MODPATH := $(DESTDIR)/lib/modules/$(KERNELRELEASE)/kernel/drivers


-- 
Regards
KC Ferguson
RescuNET.com



More information about the HostAP mailing list