All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] posix-aio-compat error in 5996
Date: Wed, 17 Dec 2008 19:36:31 -0600	[thread overview]
Message-ID: <4949A91F.8070903@codemonkey.ws> (raw)
In-Reply-To: <F1DC1BB0-F28D-430E-8D67-863B5F2671BC@sonous.com>

Lev Lvovsky wrote:
> On OSX 10.5, I get the following error when compiling with revision 
> 5996 and higher (5995 compiles).
>
> As referenced in the initial RFC 
> (http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00204.html), 
> BSD's may not need this - is there any way to avoid using this based 
> on OS, or is there something I'm missing in the configure options?

Have I mentioned that I strongly dislike OS X?

sigqueue is posix, does anyone know of the alternative function to use 
for OS X?  I guess we could use kill.

Regards,

Anthony Liguori

> thanks,
> -lev
>
> ---
> posix-aio-compat.c: In function 'aio_thread':
> posix-aio-compat.c:102: warning: implicit declaration of function 
> 'sigqueue'
> gcc -O2 -g -fno-strict-aliasing -Wall -Wundef -Wendif-labels 
> -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes 
> -Wredundant-decls -mdynamic-no-pic -m32 -I. -I/Users/lev/src/trunk 
> -MMD -MP -MT block-raw-posix.o -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE_SOURCE -I/Users/lev/src/trunk/slirp -c -o 
> block-raw-posix.o block-raw-posix.c
> gcc -g -framework CoreFoundation -framework IOKit -m32 -pthread -o 
> qemu-img qemu-img.o qemu-tool.o osdep.o cutils.o qemu-malloc.o 
> block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o 
> block-bochs.o block-vpc.o block-vvfat.o block-qcow2.o 
> block-parallels.o block-nbd.o nbd.o block.o aio.o posix-aio-compat.o 
> block-raw-posix.o -lz  -lpthread
> Undefined symbols:
>  "_sigqueue", referenced from:
>      _aio_thread in posix-aio-compat.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [qemu-img] Error 1
> ---
>
>
>
>
>
   

  reply	other threads:[~2008-12-18  1:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18  0:16 [Qemu-devel] posix-aio-compat error in 5996 Lev Lvovsky
2008-12-18  1:36 ` Anthony Liguori [this message]
2008-12-18 17:17   ` Lev Lvovsky
2008-12-18 17:24     ` Anthony Liguori
2008-12-18 21:24       ` Juergen Lock
2008-12-18  2:29 ` M. Warner Losh
  -- strict thread matches above, loose matches on Subject: below --
2008-12-17 17:36 Lev Lvovsky

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=4949A91F.8070903@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --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.