[BRLTTY] USB support does not build on AMD64

Dave Mielke dave at mielke.cc
Fri Nov 11 11:15:21 EST 2005

[quoted lines by mlang on 2005/11/11 at 17:05 +0100]

>gcc -Wall -g -O2 -I. -I.. -I. -I.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -DHAVE_CONFIG_H -c ./usb_linux.c
>In file included from /usr/include/asm-x86_64/div64.h:1,
>                 from /usr/include/asm/div64.h:8,
>                 from /usr/include/linux/jiffies.h:9,
>                 from /usr/include/linux/sched.h:12,
>                 from /usr/include/asm-x86_64/compat.h:8,
>                 from /usr/include/asm/compat.h:8,
>                 from /usr/include/linux/compat.h:15,
>                 from /usr/include/linux/usbdevice_fs.h:35,
>                 from ./usb_linux.c:32:
>/usr/include/asm-generic/div64.h:54:3: error: #error do_div() does not yet support the C64

Either there's a bug in the kernel header package or the includes in
usb_linux.c aren't quite right. I think this issue came up before and someone
posted a pointer to a Debian bug report. Are you able to debug this since I
don't have access to that platform?

Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/

More information about the BRLTTY mailing list