qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] compile error
@ 2005-07-06  8:40 황윤성
  2005-07-06  9:22 ` Hetz Ben Hamo
  0 siblings, 1 reply; 14+ messages in thread
From: 황윤성 @ 2005-07-06  8:40 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2460 bytes --]

make[1]: Entering directory `/home/hys545/qemu/mips-softmmu'
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/hys545/qemu/target-mips -I/home/hys545/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/hys545/qemu/fpu -I/home/hys545/qemu/slirp -c -o op_helper.o /home/hys545/qemu/target-mips/op_helper.c
/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
make[1]: *** [op_helper.o] 오류 1

My step is
cvs update-2005-7-6
./configure
make


-------------------------------------------------
Your Life on the Net
DreamWiz Free Mail @ http://www.dreamwiz.com/


[-- Attachment #2: Type: TEXT/HTML, Size: 6455 bytes --]

<HTML>
<BODY>

<BR>make[1]: Entering directory `/home/hys545/qemu/mips-softmmu'
<BR>gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/hys545/qemu/target-mips -I/home/hys545/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/hys545/qemu/fpu -I/home/hys545/qemu/slirp -c -o op_helper.o /home/hys545/qemu/target-mips/op_helper.c
<BR>/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
<BR>/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
<BR>/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
<BR>/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
<BR>/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
<BR>/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
<BR>/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
<BR>/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
<BR>/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
<BR>/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
<BR>/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
<BR>make[1]: *** [op_helper.o] 오류 1
<BR>
<BR>My step is
<BR>cvs update-2005-7-6
<BR>./configure
<BR>make
<BR>
<BR></BODY>
</HTML>

<BR>
<LINK href=http://www.dreamwiz.com/css/wd.css rel=STYLESHEET title="text spacing" type=text/css>
<table  border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<table  border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td align=left colspan=2>
				<!--@@@@ 개인 이미지관련 셋팅 START@@@@-->


<!--@@@@ 개인주소 스킨형태 START@@@@-->
<!---------------------------------->
	<!----------	스킨 2 START    -------->
	<!---------------------------------->
	<table width="225" border="0" cellspacing="0" cellpadding="0" background="http://address.dreamwiz.com/IMG/photo_img/h/y/hys545/p_hys545_SKIN">
	<tr><td style='padding:1 1 1 1' align="center">
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="10"><td></td></tr>
	<tr><td height="19" style="font-size: 11pt;  font-weight:bold;">황윤성</td></tr>
	<tr height="7"><td></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="14">
	<td >1980/10/28()</td></tr>
	</table>
	</td></tr>
	<tr height="8"><td></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="14">
	<td width="42" >426-811</td>
	<td width="4">
	<td width="154" >815-19 301호</td>
	</tr>
	</table>
	</td></tr>
	<tr height="3"><td></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="14"><td ></td></tr>
	<tr height="4"><td></td></tr>
	<tr height="19"><td  style="padding:0 0 0 0" class="f9 orange"><a href="http://mail.dreamwiz.com/AUTH/mail.cgi?c=W&to=hys545@dreamwiz.com" target=_blank class="ca_a2">hys545@dreamwiz.com</a></td></td>
	<tr height="1"><td></td></tr>
	<tr height="14"><td class="blue"><a href="http://" target=_blank class="b_q"></a></td></tr>
	</table>
	</td></tr>
	<tr><td height="7"></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td width="117" height="47"></td>
	<td width="83" rowspan="3" style="padding:0 0 1 0">
	<table width="83" border="0" cellspacing="0" cellpadding="0">
	<tr><td height="83" align="right" valign="bottom"></td></tr>
	</table>
	</td></tr>
	<tr height="17"><td  style="padding:3 0 0 0"></td></tr>
	<tr height="19"><td  style="padding:4 0 0 0">H.P : 016-469-7702</td></tr>
	<tr><td height="10"></td></tr>
	</table>
	</td></tr>
	</table>
	</td></tr>
	</table>


				</td>
			</tr>
			</table>
		</td>
		</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"><tr><td height="5"></td></tr></table>
<table  border="0" cellspacing="0" cellpadding="0">
	<tr><td>
	<A HREF="http://www.dreamwiz.com/wd/add/ev/addcard_pr.htm" target=_blank><img src="http://i.dreamwiz.com/img/wd/add/ma_card.gif" border=0></A>
	</td>
	</tr>
</table>


<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img src=http://i.dreamwiz.com/img/wd/ma/m_dw_logo.gif WIDTH=223 HEIGHT=23 BORDER=0 style=margin-bottom:-5;></a> <span style="font-size: 9pt; font-family:gulim,Arial; color: #494949; text-decoration: none;">http://www.dreamwiz.com/</span><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=1 height=3 border="0"><br><a href="http://ebiz.dreamwiz.com/BIN/pl.cgi?page=mailcontent&save=100&http://asz.dreamwiz.com" target="_blank"><img src="http://i.dreamwiz.com/img/wd/ma/m_pcv.gif" width="279" height="27" align="absmiddle" border="0"></a>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><a href="http://www.dreamwiz.com/dm/disk/dm_disk.htm" target="_blank"><img src="http://i.dreamwiz.com/img/wd/ma/m_disk.gif" width=248 height=27 align="absmiddle" border="0"></a>


<IMG SRC="http://mailchk.dreamwiz.com/cgi-bin/receive_check.cgi?sender=hys545@dreamwiz.com&msgid=%3C20050706084045.0001622201F201FF@mail6.dreamwiz.com%3E&receiver=qemu-devel@nongnu.org&key=e41bdabb4ed953f5dcb1fab3ff367ffc" WIDTH="1" HEIGHT="1" BORDER="0">

                                                             

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] compile error
  2005-07-06  8:40 [Qemu-devel] compile error 황윤성
@ 2005-07-06  9:22 ` Hetz Ben Hamo
  0 siblings, 0 replies; 14+ messages in thread
From: Hetz Ben Hamo @ 2005-07-06  9:22 UTC (permalink / raw)
  To: qemu-devel

You haven't specified:

* which OS do you use and version
* Which compiler, and what compiler version

Also, for what target do u look for? if X86 only, then you don't need
to compile all the targets. Use ./configure --help
to see the options.

Thanks,
Hetz

On 7/6/05, 황윤성 <hys545@dreamwiz.com> wrote:
> 
> make[1]: Entering directory
> `/home/hys545/qemu/mips-softmmu' 
> gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I.
> -I/home/hys545/qemu/target-mips -I/home/hys545/qemu -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/hys545/qemu/fpu
> -I/home/hys545/qemu/slirp -c -o op_helper.o
> /home/hys545/qemu/target-mips/op_helper.c 
> /home/hys545/qemu/target-mips/op_helper.c:33: error:
> conflicting types for 'do_raise_exception_err' 
> /home/hys545/qemu/target-mips/exec.h:157: error: previous
> declaration of 'do_raise_exception_err' was here 
> /home/hys545/qemu/target-mips/op_helper.c:33: error:
> conflicting types for 'do_raise_exception_err' 
> /home/hys545/qemu/target-mips/exec.h:157: error: previous
> declaration of 'do_raise_exception_err' was here 
> /home/hys545/qemu/target-mips/op_helper.c:45: error:
> conflicting types for 'do_raise_exception' 
> /home/hys545/qemu/target-mips/exec.h:159: error: previous
> declaration of 'do_raise_exception' was here 
> /home/hys545/qemu/target-mips/op_helper.c:45: error:
> conflicting types for 'do_raise_exception' 
> /home/hys545/qemu/target-mips/exec.h:159: error: previous
> declaration of 'do_raise_exception' was here 
> /home/hys545/qemu/target-mips/op_helper.c:119: error:
> conflicting types for 'do_mfc0' 
> /home/hys545/qemu/target-mips/exec.h:127: error: previous
> declaration of 'do_mfc0' was here 
> /home/hys545/qemu/target-mips/op_helper.c:119: error:
> conflicting types for 'do_mfc0' 
> /home/hys545/qemu/target-mips/exec.h:127: error: previous
> declaration of 'do_mfc0' was here 
> /home/hys545/qemu/target-mips/op_helper.c:268: error:
> conflicting types for 'do_mtc0' 
> /home/hys545/qemu/target-mips/exec.h:129: error: previous
> declaration of 'do_mtc0' was here 
> /home/hys545/qemu/target-mips/op_helper.c:268: error:
> conflicting types for 'do_mtc0' 
> /home/hys545/qemu/target-mips/exec.h:129: error: previous
> declaration of 'do_mtc0' was here 
> /home/hys545/qemu/target-mips/op_helper.c:607: error:
> conflicting types for 'do_pmon' 
> /home/hys545/qemu/target-mips/exec.h:149: error: previous
> declaration of 'do_pmon' was here 
> /home/hys545/qemu/target-mips/op_helper.c:607: error:
> conflicting types for 'do_pmon' 
> /home/hys545/qemu/target-mips/exec.h:149: error: previous
> declaration of 'do_pmon' was here 
> make[1]: *** [op_helper.o] 오류 1 
> 
> My step is 
> cvs update-2005-7-6 
> ./configure 
> make 
> 
> 
> 
> 
> 황윤성
> 
> 1980/10/28()
> 
> 426-811815-19 301호
> 
> 
> hys545@dreamwiz.com
> 
> 
> 
> H.P : 016-469-7702
> 
>  
>  http://www.dreamwiz.com/
> 
>  
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 
> 
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Qemu-devel] Compile error
  2011-11-02 22:08 ` Thomas Schmitt
@ 2011-11-02 22:16   ` Frans de Boer
  2011-11-02 22:19     ` Anthony Liguori
  0 siblings, 1 reply; 14+ messages in thread
From: Frans de Boer @ 2011-11-02 22:16 UTC (permalink / raw)
  To: qemu-devel


When compiling QEMU 0.15.x with the option --disable-cpu-emulation, I 
get an abort on fake-exec.c. It can't find the file exec.h.

Any solution/suggestion?

Regards, Frans.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2011-11-02 22:16   ` [Qemu-devel] Compile error Frans de Boer
@ 2011-11-02 22:19     ` Anthony Liguori
  2011-11-02 22:31       ` Frans de Boer
  0 siblings, 1 reply; 14+ messages in thread
From: Anthony Liguori @ 2011-11-02 22:19 UTC (permalink / raw)
  To: Frans de Boer; +Cc: qemu-devel, kvm-devel

On 11/02/2011 05:16 PM, Frans de Boer wrote:
>
> When compiling QEMU 0.15.x with the option --disable-cpu-emulation, I get an
> abort on fake-exec.c. It can't find the file exec.h.

QEMU does not have such an option.  You're likely using qemu-kvm.

Regards,

Anthony Liguori

>
> Any solution/suggestion?
>
> Regards, Frans.
>
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2011-11-02 22:19     ` Anthony Liguori
@ 2011-11-02 22:31       ` Frans de Boer
  0 siblings, 0 replies; 14+ messages in thread
From: Frans de Boer @ 2011-11-02 22:31 UTC (permalink / raw)
  To: qemu-devel

On 11/02/2011 11:19 PM, Anthony Liguori wrote:
> On 11/02/2011 05:16 PM, Frans de Boer wrote:
>>
>> When compiling QEMU 0.15.x with the option --disable-cpu-emulation, I
>> get an
>> abort on fake-exec.c. It can't find the file exec.h.
>
> QEMU does not have such an option. You're likely using qemu-kvm.
>
> Regards,
>
> Anthony Liguori
>
>>
>> Any solution/suggestion?
>>
>> Regards, Frans.
>>
>>
>
>
Yes, your right. I used the wrong list, sorry about that.
Frans.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Qemu-devel] Compile error
@ 2012-09-16 16:25 Gerhard Wiesinger
  2012-10-10  5:17 ` Gerhard Wiesinger
  0 siblings, 1 reply; 14+ messages in thread
From: Gerhard Wiesinger @ 2012-09-16 16:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: M. Mohan Kumar

Hello,

qemu is currently not compile clean on Fedora 17:

CC fsdev/virtfs-proxy-helper.o
fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of 
‘setfsgid’, declared with attribute warn_unused_result 
[-Werror=unused-result]
fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of 
‘setfsuid’, declared with attribute warn_unused_result 
[-Werror=unused-result]
cc1: all warnings being treated as errors
make: *** [fsdev/virtfs-proxy-helper.o] Error 1

gcc --version
gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)

Please fix it.

Ciao,
Gerhard

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2012-09-16 16:25 [Qemu-devel] Compile error Gerhard Wiesinger
@ 2012-10-10  5:17 ` Gerhard Wiesinger
  2012-10-10  5:52   ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
  2012-11-01 19:47   ` [Qemu-devel] Compile error Gerhard Wiesinger
  0 siblings, 2 replies; 14+ messages in thread
From: Gerhard Wiesinger @ 2012-10-10  5:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: M. Mohan Kumar

Hello,

Still not compile clean, also on the build servers. Who is responsible 
for the fix?

Ciao,
Gerhard

On 16.09.2012 18:25, Gerhard Wiesinger wrote:
> Hello,
>
> qemu is currently not compile clean on Fedora 17:
>
> CC fsdev/virtfs-proxy-helper.o
> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of 
> ‘setfsgid’, declared with attribute warn_unused_result 
> [-Werror=unused-result]
> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of 
> ‘setfsuid’, declared with attribute warn_unused_result 
> [-Werror=unused-result]
> cc1: all warnings being treated as errors
> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>
> gcc --version
> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>
> Please fix it.
>
> Ciao,
> Gerhard
>
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev
  2012-10-10  5:17 ` Gerhard Wiesinger
@ 2012-10-10  5:52   ` Stefan Weil
  2012-10-10  7:14     ` Paolo Bonzini
  2012-11-01 19:47   ` [Qemu-devel] Compile error Gerhard Wiesinger
  1 sibling, 1 reply; 14+ messages in thread
From: Stefan Weil @ 2012-10-10  5:52 UTC (permalink / raw)
  To: M. Mohan Kumar, Aneesh Kumar K.V
  Cc: Paolo Bonzini, Anthony Liguori, qemu-devel

Hi,

all files in fsdev still use GNU GPL version 2 only instead of
GNU GPL  version 2 or later.

Can this be fixed? If not, we should addtext like this:

* Contributions after 2012-10-10 are licensed under the terms of the
* GNU GPL, version 2 or (at your option) any later version.

Is it possible to add some general statement to the QEMU license
so that any file which is newly added and which uses GPL 2 is
automatically GPL 2+? IMHO at least some remarks in CODING_STYLE
would be good.

Regards

Stefan Weil

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev
  2012-10-10  5:52   ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
@ 2012-10-10  7:14     ` Paolo Bonzini
  0 siblings, 0 replies; 14+ messages in thread
From: Paolo Bonzini @ 2012-10-10  7:14 UTC (permalink / raw)
  To: Stefan Weil; +Cc: Anthony Liguori, M. Mohan Kumar, Aneesh Kumar K.V, qemu-devel

Il 10/10/2012 07:52, Stefan Weil ha scritto:
> Hi,
> 
> all files in fsdev still use GNU GPL version 2 only instead of
> GNU GPL  version 2 or later.

It's IBM copyright, so I think no.

> Can this be fixed? If not, we should addtext like this:
> 
> * Contributions after 2012-10-10 are licensed under the terms of the
> * GNU GPL, version 2 or (at your option) any later version.

Yes, that would be good.

> Is it possible to add some general statement to the QEMU license
> so that any file which is newly added and which uses GPL 2 is
> automatically GPL 2+? IMHO at least some remarks in CODING_STYLE
> would be good.

No, because in some cases there is GPLv2 code in the file, as was the
case for PCI device assignment.

Paolo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2012-10-10  5:17 ` Gerhard Wiesinger
  2012-10-10  5:52   ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
@ 2012-11-01 19:47   ` Gerhard Wiesinger
  2012-11-01 20:13     ` Max Filippov
  2012-11-01 20:58     ` Anthony Liguori
  1 sibling, 2 replies; 14+ messages in thread
From: Gerhard Wiesinger @ 2012-11-01 19:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, M. Mohan Kumar

Ping again ...

Ciao,
Gerhard

On 10.10.2012 07:17, Gerhard Wiesinger wrote:
> Hello,
>
> Still not compile clean, also on the build servers. Who is responsible 
> for the fix?
>
> Ciao,
> Gerhard
>
> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>> Hello,
>>
>> qemu is currently not compile clean on Fedora 17:
>>
>> CC fsdev/virtfs-proxy-helper.o
>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of 
>> ‘setfsgid’, declared with attribute warn_unused_result 
>> [-Werror=unused-result]
>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of 
>> ‘setfsuid’, declared with attribute warn_unused_result 
>> [-Werror=unused-result]
>> cc1: all warnings being treated as errors
>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>
>> gcc --version
>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>
>> Please fix it.
>>
>> Ciao,
>> Gerhard
>>
>>
>
>
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2012-11-01 19:47   ` [Qemu-devel] Compile error Gerhard Wiesinger
@ 2012-11-01 20:13     ` Max Filippov
  2012-11-01 20:27       ` Gerhard Wiesinger
  2012-11-01 20:58     ` Anthony Liguori
  1 sibling, 1 reply; 14+ messages in thread
From: Max Filippov @ 2012-11-01 20:13 UTC (permalink / raw)
  To: Gerhard Wiesinger; +Cc: Anthony Liguori, M. Mohan Kumar, qemu-devel

On Thu, Nov 1, 2012 at 11:47 PM, Gerhard Wiesinger <lists@wiesinger.com> wrote:
> Ping again ...

Can you just configure it with --disable-werror ? IIRC it is the
default for the released
QEMU versions.

> On 10.10.2012 07:17, Gerhard Wiesinger wrote:
>>
>> Hello,
>>
>> Still not compile clean, also on the build servers. Who is responsible for
>> the fix?
>>
>> Ciao,
>> Gerhard
>>
>> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>>>
>>> Hello,
>>>
>>> qemu is currently not compile clean on Fedora 17:
>>>
>>> CC fsdev/virtfs-proxy-helper.o
>>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
>>> ‘setfsgid’, declared with attribute warn_unused_result
>>> [-Werror=unused-result]
>>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
>>> ‘setfsuid’, declared with attribute warn_unused_result
>>> [-Werror=unused-result]
>>> cc1: all warnings being treated as errors
>>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>>
>>> gcc --version
>>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>>
>>> Please fix it.

-- 
Thanks.
-- Max

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2012-11-01 20:13     ` Max Filippov
@ 2012-11-01 20:27       ` Gerhard Wiesinger
  0 siblings, 0 replies; 14+ messages in thread
From: Gerhard Wiesinger @ 2012-11-01 20:27 UTC (permalink / raw)
  To: Max Filippov; +Cc: Anthony Liguori, M. Mohan Kumar, qemu-devel

Hello,

Yes, compiles when warnings are not treated as errors.

But do we want to be only compile clean when we suppress such warnings?

Also ./configure with plattform should be enough.

Ciao,
Gerhard

On 01.11.2012 21:13, Max Filippov wrote:
> On Thu, Nov 1, 2012 at 11:47 PM, Gerhard Wiesinger <lists@wiesinger.com> wrote:
>> Ping again ...
> Can you just configure it with --disable-werror ? IIRC it is the
> default for the released
> QEMU versions.
>
>> On 10.10.2012 07:17, Gerhard Wiesinger wrote:
>>> Hello,
>>>
>>> Still not compile clean, also on the build servers. Who is responsible for
>>> the fix?
>>>
>>> Ciao,
>>> Gerhard
>>>
>>> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>>>> Hello,
>>>>
>>>> qemu is currently not compile clean on Fedora 17:
>>>>
>>>> CC fsdev/virtfs-proxy-helper.o
>>>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>>>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of
>>>> ‘setfsgid’, declared with attribute warn_unused_result
>>>> [-Werror=unused-result]
>>>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of
>>>> ‘setfsuid’, declared with attribute warn_unused_result
>>>> [-Werror=unused-result]
>>>> cc1: all warnings being treated as errors
>>>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>>>
>>>> gcc --version
>>>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>>>
>>>> Please fix it.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2012-11-01 19:47   ` [Qemu-devel] Compile error Gerhard Wiesinger
  2012-11-01 20:13     ` Max Filippov
@ 2012-11-01 20:58     ` Anthony Liguori
  2012-11-01 21:29       ` Gerhard Wiesinger
  1 sibling, 1 reply; 14+ messages in thread
From: Anthony Liguori @ 2012-11-01 20:58 UTC (permalink / raw)
  To: Gerhard Wiesinger, qemu-devel; +Cc: M. Mohan Kumar

Gerhard Wiesinger <lists@wiesinger.com> writes:

> Ping again ...
>
> Ciao,
> Gerhard

What platform is this breaking on?

Can you point me to the buildbot failure?

Regards,

Anthony Liguori

>
> On 10.10.2012 07:17, Gerhard Wiesinger wrote:
>> Hello,
>>
>> Still not compile clean, also on the build servers. Who is responsible 
>> for the fix?
>>
>> Ciao,
>> Gerhard
>>
>> On 16.09.2012 18:25, Gerhard Wiesinger wrote:
>>> Hello,
>>>
>>> qemu is currently not compile clean on Fedora 17:
>>>
>>> CC fsdev/virtfs-proxy-helper.o
>>> fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
>>> fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of 
>>> ‘setfsgid’, declared with attribute warn_unused_result 
>>> [-Werror=unused-result]
>>> fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of 
>>> ‘setfsuid’, declared with attribute warn_unused_result 
>>> [-Werror=unused-result]
>>> cc1: all warnings being treated as errors
>>> make: *** [fsdev/virtfs-proxy-helper.o] Error 1
>>>
>>> gcc --version
>>> gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
>>>
>>> Please fix it.
>>>
>>> Ciao,
>>> Gerhard
>>>
>>>
>>
>>
>>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] Compile error
  2012-11-01 20:58     ` Anthony Liguori
@ 2012-11-01 21:29       ` Gerhard Wiesinger
  0 siblings, 0 replies; 14+ messages in thread
From: Gerhard Wiesinger @ 2012-11-01 21:29 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: M. Mohan Kumar, qemu-devel

On 01.11.2012 21:58, Anthony Liguori wrote:
> What platform is this breaking on?
>
> Can you point me to the buildbot failure?

Fedora 17, x64:
3.6.3-1.fc17.x86_64
gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2)

E.g. here:
http://www.kraxel.org/bb/builders/fedora-default/builds/888/steps/compile/logs/stdio

Ciao,
Gerhard

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-11-01 21:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-16 16:25 [Qemu-devel] Compile error Gerhard Wiesinger
2012-10-10  5:17 ` Gerhard Wiesinger
2012-10-10  5:52   ` [Qemu-devel] Wrong license (GPL 2 only) for files in fsdev Stefan Weil
2012-10-10  7:14     ` Paolo Bonzini
2012-11-01 19:47   ` [Qemu-devel] Compile error Gerhard Wiesinger
2012-11-01 20:13     ` Max Filippov
2012-11-01 20:27       ` Gerhard Wiesinger
2012-11-01 20:58     ` Anthony Liguori
2012-11-01 21:29       ` Gerhard Wiesinger
  -- strict thread matches above, loose matches on Subject: below --
2011-11-02 21:22 [Qemu-devel] Do you have a use for a tester of virtio-scsi with CD drives ? Thomas Schmitt
2011-11-02 22:08 ` Thomas Schmitt
2011-11-02 22:16   ` [Qemu-devel] Compile error Frans de Boer
2011-11-02 22:19     ` Anthony Liguori
2011-11-02 22:31       ` Frans de Boer
2005-07-06  8:40 [Qemu-devel] compile error 황윤성
2005-07-06  9:22 ` Hetz Ben Hamo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).