LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-30-2007, 02:50 PM   #1
brownb2
Member
 
Registered: Mar 2004
Posts: 47

Rep: Reputation: 15
Web cam driver - can someone compile this small amount of src for me please?


I have a webcam not supported by V4L. There is a hack driver available on sourceforge at:

cvs -dserver:anonymous@nw802.cvs.sourceforge.net:/cvsroot/nw802 login

cvs -z3 -dserver:anonymous@nw802.cvs.sourceforge.net:/cvsroot/nw802 co -P nw802-2.4

(home page: http://nw802.sourceforge.net/ )

however it fails when I try and run make on ubuntu 6.10 and I have no idea how to fix it - its a very small project. I need it building against 2.6.17-11-generic kernel

Any advise or preferably a build of the module would be *greatly* appreciated. make output is very long but basically fails with a number of errors such as:

usbvideo.c:88: warning: implicit declaration of function ‘mem_map_reserve’
usbvideo.c:89: error: ‘PAGE_SIZE’ undeclared (first use in this function)
usbvideo.c:125: error: ‘NULL’ undeclared (first use in this function)

Thanks,

Benjamin
 
Old 03-30-2007, 03:24 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
It looks like that source code is for a 2.4 kernel. The website says there's a patch, but I didn't see one. You can try downloading the source from the Debian Unstable repositories and then compiling it from there. That's probably as close to Ubuntu as you're going to get since it's not in the Ubuntu repositories...

http://packages.debian.org/unstable/...x-nw802-source
 
Old 03-30-2007, 03:42 PM   #3
brownb2
Member
 
Registered: Mar 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Actually the cvs module says its 2.4 but it has a 2.6 patch in the checked out source. I noticed ubuntu warty has the source for it in the repo, so I'm hoping it exists as a pre built module somewhere.
 
  


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
would like to play aMSN web cam sessions (.cam extension) using external program Gogul Linux - Software 5 09-17-2006 08:51 AM
Cannot install Web Cam Driver! yty Fedora 4 05-08-2006 04:17 AM
web cam and web cam server citrus Linux - General 2 03-24-2004 09:28 PM
how do I compile or build a src.rpm driver? Falafel Linux - Software 1 11-19-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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