hostap 0.4.7 with the 2.6.17 kernel

Jar jar
Thu Jul 6 15:26:35 PDT 2006


Sun Kim wrote:
> Has anyone compiled hostap 0.4.7 with the 2.6.17 kernel yet?
> 
> I got the following errs.
> 
> [root at localhost hostap-driver-0.4.9]# make
> make -C /lib/modules/2.6.17-1.2139_FC4/build 
> SUBDIRS=/home/mkim/Desktop/hostap/hostap-driver-0.4.9/driver/modules \
>         
> MODVERDIR=/home/mkim/Desktop/hostap/hostap-driver-0.4.9/driver/modules 
> modules
> make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2139_FC4-i686'
> scripts/Makefile.build:17: 
> /home/mkim/Desktop/hostap/hostap-driver-0.4.9/driver/modules/Makefile: 
> No such file or directory
> make[2]: *** No rule to make target 
> `/home/mkim/Desktop/hostap/hostap-driver-0.4.9/driver/modules/Makefile'.  
> Stop.
> make[1]: *** 
> [_module_/home/mkim/Desktop/hostap/hostap-driver-0.4.9/driver/modules] 
> Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2139_FC4-i686'
> make: *** [2.6] Error 2

For some reason if you run make with 2.6.17 kernel all files in 
/driver/modules directory are _deleted_. But if do the following change 
to the Makefile:

-       $(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules \
-               MODVERDIR=$(PWD)/driver/modules modules
+       $(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules

The files are not deleted and the compiling starts and at this point you 
can see the messages:

#error Host AP driver was added into Linux 2.6.14.
#error The version used in the kernel tree should be used instead of this
#error external release which is only maintained for old kernel versions.



-- 
Best Regards, Jar




More information about the Hostap mailing list