LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-19-2004, 03:12 PM   #1
amish_geek
LQ Newbie
 
Registered: Feb 2003
Location: Duluth MN
Distribution: Debian, FreeBSD, SuSE
Posts: 23

Rep: Reputation: 15
Kernel Driver compilation


I'm trying to compile the et61xx51 driver into my kernel so I can use my webcam.

I am using kernel 'linux-2.6.4-52' on Suse 9.1

When I try to compile the driver, I get this:

Code:
linux:/usr/src/et61xx51 # make
   Building ET61XX51 driver for 2.5/2.6 kernel.
   PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
   Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/et61xx51 modules
make[1]: Entering directory `/usr/src/linux-2.6.4-52'
  CHK     include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
make[2]: *** No rule to make target `/usr/src/et61xx51/et61x.c', needed by `/usr/src/et61xx51/et61x.o'.  Stop.
make[1]: *** [/usr/src/et61xx51] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.4-52'
make: *** [default] Error 2
linux:/usr/src/et61xx51 #
I have never had much luck when dealing with kernels. Can someone please help me figure out what is going wrong and what needs to be done to get this to compile?
 
Old 09-20-2004, 08:18 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
/usr/src/et61xx51/et61x.c is missing. This probably means that you unpacked the et61xx51 driver source in the wrong place; I would guess that it wants to be unpacked in /usr/src/.

If so, you may be able to fix this by changing the Makefile
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel version mixup for driver compilation takatam Mandriva 3 01-17-2005 04:48 AM
Device Driver Compilation on 9.0 softcse Linux - Software 1 08-21-2004 12:03 PM
problems with driver compilation, kernel 2.4.22-10mdk MasterOfTheWind Linux - General 0 07-29-2004 08:12 AM
IDE driver trend - compilation into kernel northtwilight Linux - Hardware 2 03-10-2004 07:28 AM
ALSA driver compilation Blek Linux - Hardware 0 05-12-2003 10:27 AM

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

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