qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Linking error on Mac


From: C . W . Betts
Subject: [Qemu-devel] Linking error on Mac
Date: Fri, 13 Mar 2009 21:39:53 -0600

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).





reply via email to

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