Yes I got errors with the same line code, but with a bit different
 error. Check here :
http://lists.saillard.org/pipermail/pwc/2006-January/000856.html

I got no response... I thought because I used kernel 2.6.8 [ I try to stick to debian stable]

I could only compile with : pwc-10.0.7a

====================================================================

On Thu, 23 Feb 2006, Lars Andre Sunde wrote:


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;
[EMAIL PROTECTED] 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.
[EMAIL PROTECTED] 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.



=================
Gilles Missonnier
IAP - [EMAIL PROTECTED]
01 44 32 81 36
_______________________________________________
pwc mailing list
[email protected]
http://lists.saillard.org/mailman/listinfo/pwc

Reply via email to