From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LD7oh-0007SM-Fl for qemu-devel@nongnu.org; Wed, 17 Dec 2008 20:36:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LD7of-0007SA-3V for qemu-devel@nongnu.org; Wed, 17 Dec 2008 20:36:42 -0500 Received: from [199.232.76.173] (port=52158 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LD7oe-0007S7-Um for qemu-devel@nongnu.org; Wed, 17 Dec 2008 20:36:40 -0500 Received: from mail-gx0-f11.google.com ([209.85.217.11]:56327) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LD7oe-00032g-Nu for qemu-devel@nongnu.org; Wed, 17 Dec 2008 20:36:40 -0500 Received: by gxk4 with SMTP id 4so263461gxk.10 for ; Wed, 17 Dec 2008 17:36:37 -0800 (PST) Message-ID: <4949A91F.8070903@codemonkey.ws> Date: Wed, 17 Dec 2008 19:36:31 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] posix-aio-compat error in 5996 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 > --- > > > > >