LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2004, 06:24 PM   #1
SteveGodfrey
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 22

Rep: Reputation: 15
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
 
Old 05-28-2004, 06:36 PM   #2
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 32
Are you doing this as ROOT?.......
 
Old 05-29-2004, 05:40 AM   #3
SteveGodfrey
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 05-29-2004, 06:02 AM   #4
SteveGodfrey
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make, make install not found Suse 9.1 Phaen Ilda Linux - Software 9 12-04-2004 08:40 AM
make: command not found lel800 Linux - Newbie 9 01-27-2004 03:27 PM
make (command not found) eduac Linux - Software 8 07-10-2003 12:01 PM
Gimp-1.2.3 'make' reports syntax errors GabeF Linux - Software 2 06-11-2003 08:29 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration