Could you try to upgrade your glibc and maybe use gcc4 to compile. Latest release of qemu is worth a try?
Thanks. On Sun, 04/28 16:55, Mike Zhang wrote: > when I install the qemu0.9.1 on my ubuntu13, it gives me this error. > I also tried to edit the block-raw-posix.c #include <signal.h> > to linux/signal.h and this asm/singal.h > but it effect nothing, the error always here. > Is there any expert can give me a hand to help me on this problem? > I will be appreciated your helps, thanks! > ================================= > gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -I. > -I/home/ubuntu/Downloads/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -I/home/ubuntu/Downloads/qemu-0.9.1/slirp -DQEMU_IMG -c -o > qemu-img-block-raw-posix.o block-raw-posix.c > block-raw-posix.c:242: error: `SIGUSR2' undeclared here (not in a > function) > block-raw-posix.c: In function `qemu_aio_init': > block-raw-posix.c:264: error: storage size of 'act' isn't known > block-raw-posix.c:268: warning: implicit declaration of function > `sigfillset' > block-raw-posix.c:271: warning: implicit declaration of function > `sigaction' > block-raw-posix.c:264: warning: unused variable `act' > block-raw-posix.c: In function `qemu_aio_wait_start': > block-raw-posix.c:348: warning: implicit declaration of function > `sigemptyset' > block-raw-posix.c:349: warning: implicit declaration of function > `sigaddset' > block-raw-posix.c:350: warning: implicit declaration of function > `sigprocmask' > block-raw-posix.c:350: error: `SIG_BLOCK' undeclared (first use in this > function) > block-raw-posix.c:350: error: (Each undeclared identifier is reported only > once > block-raw-posix.c:350: error: for each function it appears in.) > block-raw-posix.c: In function `qemu_aio_wait': > block-raw-posix.c:364: warning: implicit declaration of function `sigwait' > block-raw-posix.c: In function `qemu_aio_wait_end': > block-raw-posix.c:370: error: `SIG_SETMASK' undeclared (first use in this > function) -- Fam