qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Linking error on Mac


From: C . W . Betts
Subject: Re: [Qemu-devel] Linking error on Mac
Date: Sat, 14 Mar 2009 21:53:37 -0600


On Mar 13, 2009, at 9:39 PM, C.W. Betts wrote:

When I try to link any qemu program or tool, I get a linking error:
Undefined symbols:
 "_raw_aio_write", referenced from:
     _raw_sg_aio_write in block-raw-posix.o
 "_raw_aio_read", referenced from:
     _raw_sg_aio_read in block-raw-posix.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

I get the following warnings in block-raw-posix.c:
/Users/cwbetts/makestuff/qemu-allmac/src/block-raw-posix.c: In function ‘raw_sg_aio_read’: /Users/cwbetts/makestuff/qemu-allmac/src/block-raw-posix.c:1218: warning: implicit declaration of function ‘raw_aio_read’ /Users/cwbetts/makestuff/qemu-allmac/src/block-raw-posix.c:1218: warning: return makes pointer from integer without a cast /Users/cwbetts/makestuff/qemu-allmac/src/block-raw-posix.c: In function ‘raw_sg_aio_write’: /Users/cwbetts/makestuff/qemu-allmac/src/block-raw-posix.c:1226: warning: implicit declaration of function ‘raw_aio_write’ /Users/cwbetts/makestuff/qemu-allmac/src/block-raw-posix.c:1226: warning: return makes pointer from integer without a cast


I have disabled AIO due to a bug in Mac OS X (or qemu).



I have also tested it on a Linux Sparc computer, and I get the same error and warnings when I disable AIO.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]