Make reports files can't be found but they are there
I'm trying to run make for HostAP but I get these errors
[steve@Lappy hostap-driver-0.1.3]$ make make -C /usr/src/linux-2.6.5-1.358 SUBDIRS=/home/steve/kits/hostap/hostap-driver-0.1.3/driver/modules \ MODVERDIR=/home/steve/kits/hostap/hostap-driver-0.1.3/driver/modules modules make[1]: Entering directory `/usr/src/linux-2.6.5-1.358' CC [M] /home/steve/kits/hostap/hostap-driver-0.1.3/driver/modules/hostap.o Assembler messages: FATAL: can't create /home/steve/kits/hostap/hostap-driver-0.1.3/driver/modules/hostap.o: Permission denied In file included from /home/steve/kits/hostap/hostap-driver-0.1.3/driver/modules/hostap.c:19: include/linux/config.h:4:28: linux/autoconf.h: No such file or directory /home/steve/kits/hostap/hostap-driver-0.1.3/driver/modules/hostap.c:20:27: linux/version.h: No such file or directory Autoconf.h does exist in /usr/include/linux so why doesn't the make find them? Thanks |
Are you doing this as ROOT?.......
|
Yes! Although I may not have when I posted the first output ;-)
The autoconf.h is actually in /usr/include/linux, is that right? [root@Lappy hostap-driver-0.1.3]# make make -C /usr/src/linux-2.6.5-1.358 SUBDIRS=/home/steve/hostap/hostap-driver-0.1.3/driver/modules \ MODVERDIR=/home/steve/hostap/hostap-driver-0.1.3/driver/modules modules make[1]: Entering directory `/usr/src/linux-2.6.5-1.358' CC [M] /home/steve/hostap/hostap-driver-0.1.3/driver/modules/hostap.o In file included from /home/steve/hostap/hostap-driver-0.1.3/driver/modules/hostap.c:19: include/linux/config.h:4:28: linux/autoconf.h: No such file or directory /home/steve/hostap/hostap-driver-0.1.3/driver/modules/hostap.c:20:27: linux/version.h: No such f ile or directory In file included from include/linux/module.h:10, from /home/steve/hostap/hostap-driver-0.1.3/driver/modules/hostap.c:21: include/linux/sched.h:4:37: asm/param.h: No such file or directory I |
I've just re-installed FC2 this morning and get the same error. I read on another forum that I needed the kernel-source so I did a 'yum -y install kernel-source' so I now have that but still get the same error.
|
All times are GMT -5. The time now is 09:16 AM. |