|
From: A. <foo...@gm...> - 2008-06-22 12:47:44
|
On Sun, Jun 22, 2008 at 1:00 PM, Erik Jakobsen <er...@ma...> wrote: > Aurélien wrote: > > On Sun, Jun 22, 2008 at 12:00 PM, Erik Jakobsen <er...@ma... > > <mailto:er...@ma...>> wrote: > > > > Hi.. > > > > > > Hi Erik, > > > > > > > > I downloaded the pwc software and ran a make. > > > > Got this at the end: > > > > make[4]: *** [/opt/pwc-10.0.12-rc1/pwc-if.o] Error 1 > > make[3]: *** [_module_/opt/pwc-10.0.12-rc1] Error 2 > > make[2]: *** [sub-make] Error 2 > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > > `/usr/src/linux-2.6.25.5-1.1-obj/i386/default' > > make: *** [all] Error 2 > > > > > > Could you post a few more lines of output ? like the 4-6 lines > > appearing above ? That will help to determine the exact cause of the > > failure. > > > > Thanks. > > > > Sure I can Aurélien. It's here: > > /opt/pwc-10.0.12-rc1/pwc-if.c:1388: error: dereferencing pointer to > incomplete type > /opt/pwc-10.0.12-rc1/pwc-if.c: In function 'usb_pwc_probe': > /opt/pwc-10.0.12-rc1/pwc-if.c:1722: error: implicit declaration of > function 'video_device_alloc' > /opt/pwc-10.0.12-rc1/pwc-if.c:1722: warning: assignment makes pointer > from integer without a cast > /opt/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid application of > 'sizeof' to incomplete type 'struct video_device' > /opt/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid application of > 'sizeof' to incomplete type 'struct video_device' > /opt/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid application of > 'sizeof' to incomplete type 'struct video_device' > /opt/pwc-10.0.12-rc1/pwc-if.c:1730: error: dereferencing pointer to > incomplete type > /opt/pwc-10.0.12-rc1/pwc-if.c:1731: error: dereferencing pointer to > incomplete type > /opt/pwc-10.0.12-rc1/pwc-if.c:1732: error: dereferencing pointer to > incomplete type > /opt/pwc-10.0.12-rc1/pwc-if.c:1733: error: implicit declaration of > function 'video_set_drvdata' > /opt/pwc-10.0.12-rc1/pwc-if.c:1756: error: dereferencing pointer to > incomplete type > /opt/pwc-10.0.12-rc1/pwc-if.c:1757: error: implicit declaration of > function 'video_register_device' > /opt/pwc-10.0.12-rc1/pwc-if.c:1757: error: 'VFL_TYPE_GRABBER' undeclared > (first use in this function) > /opt/pwc-10.0.12-rc1/pwc-if.c:1757: error: (Each undeclared identifier > is reported only once > /opt/pwc-10.0.12-rc1/pwc-if.c:1757: error: for each function it appears > in.) > /opt/pwc-10.0.12-rc1/pwc-if.c:1760: error: implicit declaration of > function 'video_device_release' > /opt/pwc-10.0.12-rc1/pwc-if.c:1765: error: dereferencing pointer to > incomplete type > /opt/pwc-10.0.12-rc1/pwc-if.c: In function 'usb_pwc_disconnect': > /opt/pwc-10.0.12-rc1/pwc-if.c:1819: error: implicit declaration of > function 'video_unregister_device' > make[4]: *** [/opt/pwc-10.0.12-rc1/pwc-if.o] Error 1 > make[3]: *** [_module_/opt/pwc-10.0.12-rc1] Error 2 > make[2]: *** [sub-make] Error 2 > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default' > make: *** [all] Error 2 > > I may be wrong, but i think some kernel headers either are not found by the compiler (see in the compiler output if there's a line like 'file not found', and if it's there, perhaps installing linux-headers package will help.) or are not compatible with this version of the pwc module. If all the necessary headers are indeed here, please attach the full output of 'make'. Thanks, and have a nice day. -- Aurélien Guillaume |