LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-24-2001, 03:11 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30
error when running make


i don't know how/why this is happening. i'm assuming it's a bug in the code.

i'm trying to see if my quickcam web is compatible with the quickcam express driver listed at sourceforge. when i untar the compressed file and attempt to run make, i get the following error:

cc -I/usr/src/linux/drivers/usb -I/usr/src/linux/include -include /usr/src/linux
/include/linux/config.h -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer -pi
pe -DMODULE -D__KERNEL__ -c quickcam.c
quickcam.c:1:12: /usr/src/linux/include/linux/config.h: No such file or director
y
quickcam.c: In function `usb_quickcam_set_exposure':
quickcam.c:521: warning: comparison is always false due to limited range of data
type
make: *** [quickcam.o] Error 1

what is this? what can i do about it?
 
Old 09-24-2001, 03:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
i think your problem is cos you've given the wrong include path for the kernel headers. it might be hardcoded tho...

use /usr/src/linux/include/linux/ (an extra linux). The config.h file is there.

When you get errors like that, try and see if you've got the file that wasn't found, and using ./configure --help will give you a list to sepcify exactly where files might be for various modules etc..
 
Old 09-24-2001, 07:38 PM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
oh, got it. i had to modify the makefile. i've never done that before.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error running make Fusspils Linux - Newbie 4 09-14-2005 12:18 PM
General question while running make "make[2]: *** [main.o] Error 1" matazar42 Linux - Software 3 08-15-2005 12:39 PM
Error in Make running WineCVS.sh thesonic1 Linux - Software 3 03-17-2005 07:26 PM
Error running make xconfig davidas Linux - Software 3 04-05-2004 05:43 PM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:08 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