Hi,
Finally have managed to install the pwc driver after alot of difficulty but
still left with a small problems, I have two questions;
# Anyone else have any problem with pwc-ioctl.h ?
Created this simple piece of 'code'
#include <stdio.h>
#include <stdlib.h>
#include "pwc-ioctl.h"
int main()
{
printf("Starting application\n");
return 0;
}
Try to compile it I get this;
video]# g++ -I/usr/pwc -o example example.cc
In file included from example.cc:10:
/usr/pwc/pwc-ioctl.h:315: error: '__le16' is used as a type, but is not defined
as a type.
/usr/pwc/pwc-ioctl.h:316: error: '__le16' is used as a type, but is not defined
as a type.
video]#
Do I need to fix the header? How?
# Another thing, after running 'make install' the pwc.ko file is copied to
/lib/modules/2.6.10/kernel/drivers/usb/media/pwc.ko
but all the pwc.h and pwc.o files are still located in /usr/pwc which is the
folder I unpacked the source into but I've noticed that
http://www.saillard.org/linux/pwc/ there is a list of all the header and source
file in drivers/usb/media/pwc/ folder. Have I missed a part of the
installation? Where should all the pwc* header, source and object files be
located after install? (hope that made sense).
Thanks for any help.
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|