It is currently Wed May 22, 2013 7:32 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Problem compiling uvc
PostPosted: Tue Mar 11, 2008 8:47 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 11, 2006 10:54 am
Posts: 114
I downloaded uvc using:

Code:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk


As root, I tried to make but got the following errors in the output:

Code:
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-2.6.24.2'
  CC [M]  /home/jonpaul/trunk/uvc_driver.o
/home/jonpaul/trunk/uvc_driver.c:42:31: error: media/v4l2-common.h: No such file or directory
/home/jonpaul/trunk/uvc_driver.c: In function 'uvc_unregister_video':
/home/jonpaul/trunk/uvc_driver.c:1146: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1147: error: implicit declaration of function 'video_device_release'
/home/jonpaul/trunk/uvc_driver.c:1149: error: implicit declaration of function 'video_unregister_device'
/home/jonpaul/trunk/uvc_driver.c: In function 'uvc_register_video':
/home/jonpaul/trunk/uvc_driver.c:1440: error: implicit declaration of function 'video_device_alloc'
/home/jonpaul/trunk/uvc_driver.c:1440: warning: assignment makes pointer from integer without a cast
/home/jonpaul/trunk/uvc_driver.c:1445: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1445: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1447: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1447: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1456: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1457: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1458: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1459: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1460: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1461: error: dereferencing pointer to incomplete type
/home/jonpaul/trunk/uvc_driver.c:1461: error: 'video_device_release' undeclared (first use in this function)
/home/jonpaul/trunk/uvc_driver.c:1461: error: (Each undeclared identifier is reported only once
/home/jonpaul/trunk/uvc_driver.c:1461: error: for each function it appears in.)
/home/jonpaul/trunk/uvc_driver.c:1471: error: implicit declaration of function 'video_set_drvdata'
/home/jonpaul/trunk/uvc_driver.c:1473: error: implicit declaration of function 'video_register_device'
/home/jonpaul/trunk/uvc_driver.c:1473: error: 'VFL_TYPE_GRABBER' undeclared (first use in this function)
make[2]: *** [/home/jonpaul/trunk/uvc_driver.o] Error 1
make[1]: *** [_module_/home/jonpaul/trunk] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.2'
make: *** [uvcvideo] Error 2


Any ideas? Has anyone else tried compiling uvc?


 Profile Send private message  
 
 Post subject: Re: Problem compiling uvc
PostPosted: Tue Mar 11, 2008 9:10 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Mar 30, 2007 5:51 am
Posts: 1677
do you have kernelsource and kernelheaders? If not, netpkg them. Then try make again.


 Profile Send private message  
 
 Post subject: Re: Problem compiling uvc
PostPosted: Tue Mar 11, 2008 10:47 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 11, 2006 10:54 am
Posts: 114
Hehe nope, didn't have kernelsource installed. Sure thought I did.

As always, thank you for the advice.


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: