|
From: A. <foo...@gm...> - 2008-06-22 15:00:35
|
On Sun, Jun 22, 2008 at 3:02 PM, Erik Jakobsen <er...@ma...> wrote: > Aurélien wrote: > > > > On Sun, Jun 22, 2008 at 1:00 PM, Erik Jakobsen <er...@ma... > > <mailto:er...@ma...>> wrote: > > > > Aurélien wrote: > > > On Sun, Jun 22, 2008 at 12:00 PM, Erik Jakobsen > > <er...@ma... <mailto:er...@ma...> > > > <mailto: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 > > > Thanks for the reply. I think I have downloaded all the headers: > > # ls -l /usr/src/ > total 16 > drwxr-xr-x 5 root root 4096 Jun 21 17:20 debug > lrwxrwxrwx 1 root root 18 Jun 22 11:52 linux -> linux-2.6.25.5-1.1 > drwxr-xr-x 22 root root 4096 Jun 22 11:52 linux-2.6.25.5-1.1 > drwxr-xr-x 3 root root 4096 Jun 22 11:53 linux-2.6.25.5-1.1-obj > lrwxrwxrwx 1 root root 22 Jun 22 11:52 linux-obj -> > linux-2.6.25.5-1.1-obj > drwxr-xr-x 7 root root 4096 Jun 10 14:14 packages > > > Here's the output of make: > # make > make -C /lib/modules/2.6.25.5-1.1-default/build > SUBDIRS=/opt/pwc-10.0.12-rc1 modules > make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default' > make -C /usr/src/linux-2.6.25.5-1.1 > O=/usr/src/linux-2.6.25.5-1.1-obj/i386/default/. modules > CC [M] /opt/pwc-10.0.12-rc1/pwc-if.o > In file included from /opt/pwc-10.0.12-rc1/pwc-if.c:69: > /opt/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such file or > directory You're missing a linux/config.h header. Altough i'm not sure where it should be (i do not have access to a linux box here), perhaps you can work around this by using some tips in this page (ie doing the same header modification in pwc.h) ? But perhaps someone on this list is using openSUSE and can tell you what to do. http://forums.opensuse.org/archives/sf-archives/tips-tricks-tweaks/339061-wireless-howto-10-3-fujitsu-siemens-amilo-pro-v2000-m7400.html Good evening. -- Aurélien Guillaume |