qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] latest version qemu compile error


From: Zhanghaoyu (A)
Subject: Re: [Qemu-devel] latest version qemu compile error
Date: Wed, 10 Apr 2013 11:03:20 +0000

> > The log of "make V=1" is identical with that of "make", shown as below,
> > 
> > hw/virtio/dataplane/vring.c: In function 'vring_enable_notification':
> > hw/virtio/dataplane/vring.c:72: warning: implicit declaration of function 
> > 'vring_avail_event'
> > hw/virtio/dataplane/vring.c:72: warning: nested extern declaration of 
> > 'vring_avail_event'
> > hw/virtio/dataplane/vring.c:72: error: lvalue required as left operand of 
> > assignment
> > hw/virtio/dataplane/vring.c: In function 'vring_should_notify':
> > hw/virtio/dataplane/vring.c:107: warning: implicit declaration of function 
> > 'vring_need_event'
> > hw/virtio/dataplane/vring.c:107: warning: nested extern declaration of 
> > 'vring_need_event'
> > hw/virtio/dataplane/vring.c:107: warning: implicit declaration of function 
> > 'vring_used_event'
> > hw/virtio/dataplane/vring.c:107: warning: nested extern declaration of 
> > 'vring_used_event'
> > hw/virtio/dataplane/vring.c: In function 'vring_pop':
> > hw/virtio/dataplane/vring.c:262: error: lvalue required as left operand of 
> > assignment
> > make: *** [hw/virtio/dataplane/vring.o] Error 1
>
> I don't need the errors, I need the compiler command line.
> 
> Paolo

The gcc command line,
cc -I. -I/home/zhanghaoyu/qemu_201304091521 
-I/home/zhanghaoyu/qemu_201304091521/include -fPIE -DPIE -m64 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes 
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes 
-fno-strict-aliasing  -fstack-protector-all -Wendif-labels 
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security 
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration 
-Wold-style-definition -Wtype-limits   -I/usr/include/pixman-1   
-Ihw/virtio/dataplane -Ihw/virtio/dataplane -pthread -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include   -MMD -MP -MT hw/virtio/dataplane/vring.o -MF 
hw/virtio/dataplane/vring.d -O2 -D_FORTIFY_SOURCE=2 -g  -c -o 
hw/virtio/dataplane/vring.o hw/virtio/dataplane/vring.c

Thanks,
Zhang Haoyu



reply via email to

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