Andreas Jochens <[EMAIL PROTECTED]> wrote: > /usr/include/asm-generic/div64.h:54:3: error: #error do_div() does not yet > support the C64 > In file included from /usr/include/linux/sched.h:12, > from /usr/include/asm/compat.h:8, > from /usr/include/linux/compat.h:15, > from /usr/include/linux/usbdevice_fs.h:35, > from usb.c:17: > /usr/include/linux/jiffies.h:84: error: syntax error before 'jiffies_64'
Fixing the above error by #defining BITS_PER_LONG leads to another failure due to the use of __u8 and friends types in the definition of struct usbdevfs_ctrltransfer in linux/usbdevice_fs.h without the proper #ifdef __KERNEL__ protection. I did a local copy of the 2 needed defintions. > This may be a bug in the linux-kernel-headers package. Feel free to reassign/open a new bug against linux-kernel-headers if you think it's the right to do. Thanks for the report, JB. -- Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]