I'm trying to build qemu from cvs on a Debian-amd64 system, and having
errors like this:

gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -I.
-I/afs/scl.ameslab.gov/user/troy/src/qemu-cvs/target-i386
-I/afs/scl.ameslab.gov/user/troy/src/qemu-cvs -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/afs/scl.ameslab.gov/user/troy/src/qemu-cvs/fpu -DHAS_AUDIO
-I/afs/scl.ameslab.gov/user/troy/src/qemu-cvs/slirp -c -o usb-linux.o
/afs/scl.ameslab.gov/user/troy/src/qemu-cvs/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
/afs/scl.ameslab.gov/user/troy/src/qemu-cvs/usb-linux.c:30:
/usr/include/asm-generic/div64.h:54:3: #error do_div() does not yet
support the C64


The only think I can track down so far is that BITS_PER_LONG is only
defined in /usr/include/asm-x86_64/types.h if __KERNEL__ is also set.

What other linux distros/headers work with the current qemu cvs usb
code?

Thanks.


_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to