All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [6396] I/O vector helpers (Avi Kivity)
Date: Fri, 23 Jan 2009 12:18:15 +0100	[thread overview]
Message-ID: <4979A777.1060909@redhat.com> (raw)
In-Reply-To: <E1LQ2tl-0003Ks-0e@cvs.savannah.gnu.org>

Anthony Liguori wrote:
> +void qemu_iovec_add(QEMUIOVector *qiov, void *base, size_t len)
> +{
> +    if (qiov->niov == qiov->nalloc) {
> +        qiov->nalloc = 2 * qiov->nalloc + 1;
> +        qiov->iov = qemu_realloc(qiov->iov, qiov->nalloc * sizeof(struct iovec));
> +    }
> +    qiov->iov[qiov->niov].iov_base = base;
> +    qiov->iov[qiov->niov].iov_len = len;
> +    ++qiov->niov;
> +}

Breaks the build:

AR libqemu.a
LINK qemu-x86_64
../libqemu_user.a(cutils.o): In function `qemu_iovec_add':
/home/kraxel/projects/qemu/cutils.c:118: undefined reference to
`qemu_realloc'
collect2: ld returned 1 exit status
make[1]: *** [qemu-x86_64] Error 1
make[1]: Leaving directory `/home/kraxel/projects/qemu/x86_64-linux-user'
make: *** [subdir-x86_64-linux-user] Error 2

cheers,
  Gerd

      reply	other threads:[~2009-01-23 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 16:59 [Qemu-devel] [6396] I/O vector helpers (Avi Kivity) Anthony Liguori
2009-01-23 11:18 ` Gerd Hoffmann [this message]

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=4979A777.1060909@redhat.com \
    --to=kraxel@redhat.com \
    --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.