|
From: | Mike Zhang |
Subject: | Re: [Qemu-discuss] block-raw-posix.c:242: error: `SIGUSR2' undeclared here (not in a function) |
Date: | Sun, 28 Apr 2013 21:20:58 +0800 |
Thanks for your reply, Fam,Since I used a software which is only support qemu0.9.1 version, and when I install the qemu0.9.1, it need the gcc-3.4.Is there any other way to make it work in this scenario?On Sun, Apr 28, 2013 at 5:07 PM, Fam Zheng <address@hidden> wrote:
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
[Prev in Thread] | Current Thread | [Next in Thread] |