All of lore.kernel.org
 help / color / mirror / Atom feed
From: Virtbie <virtbie@shiftmail.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] 2 build issues for qemu v1.0.1
Date: Tue, 21 Feb 2012 15:53:39 +0100	[thread overview]
Message-ID: <4F43AFF3.7030007@shiftmail.org> (raw)

Hello
I am trying to build from source the qemu v1.0.1 (from git) on a Ubuntu 
mixed system (part is oneiric 11.10, part is precise 12.04)

Here are two issues:

During build of:
hw/9pfs/virtio-9p-handle.c
it gave errors saying it couldnt find definition of "AT_EMPTY_PATH".

So I added it at the head of the file (copied from my fcntl.h which is 
apparently NOT imported during this cc):
#define AT_EMPTY_PATH           0x1000  /* Allow empty relative pathname */
and then it apparently went ahead correctly.


Then it gave the following error:

../libhw32/pcspk.o: In function `pcspk_ioport_write':
........../hw/pcspk.c:132: undefined reference to `pit_set_gate'
../libhw32/pcspk.o: In function `pcspk_ioport_read':
........../hw/pcspk.c:121: undefined reference to `pit_get_out'
........../hw/pcspk.c:123: undefined reference to `pit_get_gate'
../libhw32/pcspk.o: In function `pcspk_callback':
........../hw/pcspk.c:75: undefined reference to `pit_get_mode'
........../hw/pcspk.c:78: undefined reference to `pit_get_initial_count'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-cris] Error 1
make: *** [subdir-cris-softmmu] Error 2
make: *** Waiting for unfinished jobs....

and for this I didn't want to delve into the issue so I disabled pcspk 
emulation at configure and rebuilt so to skip this.

After this, it built correctly.

                 reply	other threads:[~2012-02-21 14:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4F43AFF3.7030007@shiftmail.org \
    --to=virtbie@shiftmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.