Linux Projects Forum Index Users - SN9C1xx
sn9c102-1.34 compilation error | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| burebista | Posted on: 2007/1/3 16:19 |
Just popping in ![]() Joined: 2006/11/19 From: Posts: 6 |
sn9c102-1.34 compilation error I have a Mandriva 2007 linux and a Sonix pccam23 (0x0c45:0x608f) webcam, and the last drivers worked in black and white with some modif (wich I can't remember), but now the new driver (sn9c102-1.34) just does not want to compile:
[root@localhost sn9c102-1.34]# make ************************************************************************** * Building Video4Linux2 driver v1.34 for SN9C1xx PC Camera Controllers...* * Official Linux 2.6.19 is the minimum version for this driver. * * Read the documentation "sn9c102.txt" for more informations. * * Type "make help" for a list of available targets. * ************************************************************************** make -C /lib/modules/`uname -r`/build M=/home/burebista/Desktop/sn9c102-1.34 modules make[1]: Entering directory `/usr/src/linux-2.6.17-5mdv' CC [M] /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.o /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c: In function ‘sn9c102_request_buffers’: /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:137: warning: implicit declaration of function ‘vmalloc_32_user’ /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:138: warning: assignment makes pointer from integer without a cast /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c: In function ‘sn9c102_start_transfer’: /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:854: warning: assignment from incompatible pointer type /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c: In function ‘sn9c102_vidioc_enum_framesizes’: /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:2358: error: storage size of ‘frmsize’ isn’t known /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:2380: error: ‘V4L2_FRMSIZE_TYPE_STEPWISE’ undeclared (first use in this function) /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:2380: error: (Each undeclared identifier is reported only once /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:2380: error: for each function it appears in.) /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:2358: warning: unused variable ‘frmsize’ /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c: In function ‘sn9c102_ioctl_v4l2’: /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:3024: error: ‘VIDIOC_ENUM_FRAMESIZES’ undeclared (first use in this function) /home/burebista/Desktop/sn9c102-1.34/sn9c102_core.c:3081: error: ‘VIDIOC_ENUM_FRAMEINTERVALS’ undeclared (first use in this function) make[2]: *** [/home/burebista/Desktop/sn9c102-1.34/sn9c102_core.o] Error 1 make[1]: *** [_module_/home/burebista/Desktop/sn9c102-1.34] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-5mdv' make: *** [modules] Error 2 |
| luca | Posted on: 2007/1/5 0:46 |
Webmaster ![]() ![]() Joined: 2003/1/9 From: Posts: 171 |
Re: sn9c102-1.34 compilation error Read the documentation.Upgrade your kernel to 2.6.19 at least. Your kernel is 2.6.17.
|
| burebista | Posted on: 2007/1/5 14:35 |
Just popping in ![]() Joined: 2006/11/19 From: Posts: 6 |
Re: sn9c102-1.34 compilation error Sorry about that, but Now I changed the kernel to 2.6.19-3, and it still doesn't work, it compiles but doesn't work.
Here is a screenshot.personal |
| luca | Posted on: 2007/1/5 16:46 |
Webmaster ![]() ![]() Joined: 2003/1/9 From: Posts: 171 |
Re: sn9c102-1.34 compilation error Your mandriva modified kernel does not define some functions which are defined in the official linux kernel 2.6.19. Please use official kernels only. I do not support modified kernels. Furthermore, it seems you didn't attempt to unload the old module from memory and load the new module after having installed it.
|
| burebista | Posted on: 2007/1/6 11:52 |
Just popping in ![]() Joined: 2006/11/19 From: Posts: 6 |
Re: sn9c102-1.34 compilation error It works, sorry for the inconvenience! Thanx a lot! :D
|
| albey | Posted on: 2007/5/29 18:49 |
Just popping in ![]() Joined: 2007/5/29 From: Posts: 1 |
Re: sn9c102-1.34 compilation error HI,
I have the same error sirius:/home/albey/Desktop/sn9c1xx-1.45# make ************************************************************************** * Building Video4Linux2 driver v1.45 for SN9C1xx PC Camera Controllers...* * Official Linux 2.6.19 is the minimum version for this driver. * * Read the documentation "sn9c102.txt" for more informations. * * Type "make help" for a list of available targets. * ************************************************************************** make -C /lib/modules/`uname -r`/build M=/home/albey/Desktop/sn9c1xx-1.45 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-686' CC [M] /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.o /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c: In function ‘sn9c102_start_transfer’: /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:901: warning: assignment from incompatible pointer type /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c: In function ‘sn9c102_vidioc_enum_framesizes’: /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:2415: error: storage size of ‘frmsize’ isn’t known /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:2437: error: ‘V4L2_FRMSIZE_TYPE_STEPWISE’ undeclared (first use in this function) /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:2437: error: (Each undeclared identifier is reported only once /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:2437: error: for each function it appears in.) /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:2415: warning: unused variable ‘frmsize’ /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c: In function ‘sn9c102_ioctl_v4l2’: /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:3081: error: ‘VIDIOC_ENUM_FRAMESIZES’ undeclared (first use in this function) /home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.c:3138: error: ‘VIDIOC_ENUM_FRAMEINTERVALS’ undeclared (first use in this function) make[2]: *** [/home/albey/Desktop/sn9c1xx-1.45/sn9c102_core.o] Error 1 make[1]: *** [_module_/home/albey/Desktop/sn9c1xx-1.45] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-686' make: *** [modules] Error 2 I not use modified kernel I use Debian..can you help me? thank's |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |

