qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Troy Benjegerdes <hozer@hozed.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] build problems with linux usb support?
Date: Wed, 8 Mar 2006 10:55:21 -0600	[thread overview]
Message-ID: <20060308165520.GB18882@narn.hozed.org> (raw)

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.

             reply	other threads:[~2006-03-08 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 16:55 Troy Benjegerdes [this message]
2006-03-08 17:08 ` [Qemu-devel] build problems with linux usb support? Johannes Schindelin
2006-03-11 19:57 ` Daniel Jacobowitz
2006-03-22 20:45   ` Troy Benjegerdes
2006-03-23  3:10     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060308165520.GB18882@narn.hozed.org \
    --to=hozer@hozed.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).