There seems to be a problem compiling the xdriver in a X11R6.8.2 build tree.

In file included from /usr/include/asm/page.h:4,
                 from ivtvhw.c:18:
/usr/include/unistd.h:406: error: conflicting types for ?xf86usleep?
../../../../../../programs/Xserver/include/xf86_ansic.h:343: error: 
previous declaration of ?xf86usleep? was here
In file included from /usr/include/asm/page.h:4,
                 from ivtvhw.c:18:
/usr/include/unistd.h:890:29: error: macro "getpagesize" passed 1 
arguments, but takes just 0
make[7]: *** [ivtvhw.o] Error 1

The fix is replacing asm/page.h

 > #include "bits/types.h"               /* #define for PAGE_* */
 > #include "sys/user.h"                 /* #define for PAGE_* */
 > //#include "asm/page.h"               /* #define for PAGE_* */

Regards,
Duncan

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to