[pwc] Trying to get pwc-10.0.11 to compile under kernel 2.4?

Christopher Friedt cfriedt at visible-assets.com
Sat May 26 15:44:47 CEST 2007


Hi David,

I'm also a member of the ts-7000 list, and I've already compiled the
kernel to have this feature. Are you using the TS kernel sources? It
should be there under usb devices, not under v4l, but you'll have to
either compile v4l in or make it a module as well.

~/Chris

David Topper wrote:
> Hi all,
> 
> Yes, I should upgrade all my kernels ... but I don't have time at the 
> moment.  Deadline approaching.  So I'm hoping I can find a way to get 
> this driver to compile on both my laptop and TS-7200 SBC.
> 
> In any case, when I try to compile the module currently, I get the 
> following error:
> 
> make -C  /home/src/pwc-10.0.11 CFLAGS="-D__KERNEL__ 
> -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs 
> -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
> -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.22/include/linux/modversions.h" MAKING_MODULES=1 modules
> make[2]: Entering directory `/home/src/pwc-10.0.11'
> make[2]: *** No rule to make target `modules'.  Stop.
> make[2]: Leaving directory `/home/src/pwc-10.0.11'
> make[1]: *** [_mod_/home/src/pwc-10.0.11] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.22'
> make: *** [all] Error 2
> 
> and if I comment out the "modules" directive from the makefile, I get 
> other errors (eg., from make install):
> 
> make[1]: Leaving directory `/usr/src/linux-2.4.22'
> install -d /lib/modules/2.4.22/kernel/drivers/usb/media
> install -m 644 -c pwc.ko /lib/modules/2.4.22/kernel/drivers/usb/media
> install: cannot stat `pwc.ko': No such file or directory
> make: *** [install] Error 1
> 
> Thanks,
> 
> DT
> 



More information about the pwc mailing list