Skip to contentSkip to conversation

Compile errors in vl.c on git head

Qemu-devel Applied Gerhard Wiesinger 4 participants 5 messages Mar 25, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I can't compile:
CC libhw64/vl.o
cc1: warnings being treated as errors
/root/download/qemu/git/qemu/vl.c: In function .select_display.:
/root/download/qemu/git/qemu/vl.c:1645: error: label .invalid_display. defined but not used make[1]: *** [vl.o] Error 1
make: *** [subdir-libhw64] Error 2

gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2)

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

#1 lore raw
Quoted 8 lines · Gerhard Wiesinger

I can't compile:
 CC    libhw64/vl.o
cc1: warnings being treated as errors /root/download/qemu/git/qemu/vl.c: In function .select_display.:
/root/download/qemu/git/qemu/vl.c:1645: error: label .invalid_display. defined but not used
make[1]: *** [vl.o] Error 1
make: *** [subdir-libhw64] Error 2

Temporary workaround:

$ ./configure --disable-werror [...]
$ make

Jes: This is a CONFIG_SDL issue. I think you're the expert! :)

Stefan

#2 lore raw
Quoted 8 lines · Stefan Hajnoczi
Quoted 6 lines · Gerhard Wiesinger

I can't compile:
 CC    libhw64/vl.o
cc1: warnings being treated as errors /root/download/qemu/git/qemu/vl.c: In function .select_display.:
/root/download/qemu/git/qemu/vl.c:1645: error: label .invalid_display. defined but not used

Quoted 5 lines

Temporary workaround:

$ ./configure --disable-werror [...]
$ make

Jes: This is a CONFIG_SDL issue.  I think you're the expert! :)

This is fixed by this patch:
http://patchwork.ozlabs.org/patch/88098/
sent Wednesday but hasn't made it into git yet.

(The patch got an ack from Jes although patchwork seems to have lost it.)

-- PMM

#3 lore raw
Quoted 13 lines · Peter Maydell
Quoted 12 lines · Stefan Hajnoczi
Quoted 6 lines · Gerhard Wiesinger

I can't compile:
 CC    libhw64/vl.o
cc1: warnings being treated as errors /root/download/qemu/git/qemu/vl.c: In function .select_display.:
/root/download/qemu/git/qemu/vl.c:1645: error: label .invalid_display. defined but not used

Temporary workaround:

$ ./configure --disable-werror [...]
$ make
Quoted 8 lines
Quoted 1 line

Jes: This is a CONFIG_SDL issue.  I think you're the expert! :)

This is fixed by this patch:
http://patchwork.ozlabs.org/patch/88098/
sent Wednesday but hasn't made it into git yet.

(The patch got an ack from Jes although patchwork seems to have lost it.)

CCed Anthony so this patch can be merged.

Stefan

#4 lore raw
Quoted 8 lines · Stefan Hajnoczi
Quoted 6 lines · Peter Maydell

This is fixed by this patch:
http://patchwork.ozlabs.org/patch/88098/
sent Wednesday but hasn't made it into git yet.

(The patch got an ack from Jes although patchwork seems to have lost it.)

CCed Anthony so this patch can be merged.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 1 line

Stefan