Makefile $MODPATH discrepancy

AP-Research HostAP-Research at
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:


...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
> MODPATH := $(DESTDIR)/lib/modules/$(KERNELRELEASE)/kernel/drivers

KC Ferguson

More information about the HostAP mailing list