LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Make reports files can't be found but they are there (https://www.linuxquestions.org/questions/linux-software-2/make-reports-files-cant-be-found-but-they-are-there-187105/)

SteveGodfrey 05-28-2004 06:24 PM

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

deepsix 05-28-2004 06:36 PM

Are you doing this as ROOT?.......

SteveGodfrey 05-29-2004 05:40 AM

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

SteveGodfrey 05-29-2004 06:02 AM

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.