All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuseppe Falsetti <giuseppe@czero.it>
To: kvm-ppc@vger.kernel.org
Subject: Compiling error : ppc440_bamboo.o fails
Date: Mon, 01 Dec 2008 17:09:57 +0000	[thread overview]
Message-ID: <49341A65.2080601@czero.it> (raw)

Sorry for the duplicate,
I have already post this on general kvm@vger.kernel.org but this list is 
better.

 
===========
===========
===========

Processor type G5  64bit:

Distro:
Debian Lenny ppc64

mela00:~/kvm-userspace# cat /proc/cpuinfo
processor       : 0
cpu             : PPC970FX, altivec supported
clock           : 2000.000000MHz
revision        : 3.0 (pvr 003c 0300)

processor       : 1
cpu             : PPC970FX, altivec supported
clock           : 2000.000000MHz
revision        : 3.0 (pvr 003c 0300)

timebase        : 33333333
platform        : PowerMac
model           : RackMac3,1
machine         : RackMac3,1
motherboard     : RackMac3,1 MacRISC4 Power Macintosh
detected as     : 339 (XServe G5)
pmac flags      : 00000000
L2 cache        : 512K unified
pmac-generation : NewWorld

mela00:~/kvm-userspace# uname -a
Linux mela00 2.6.27.7 #1 SMP Sun Nov 30 15:18:45 CET 2008 ppc64 GNU/Linux

mela00:~/kvm-userspace# git describe
kvm-79-176-g82daa70


mela00:~/kvm-userspace# ./configure --arch=powerpc --disable-werror 
--enable-sparse

Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /root/kvm-userspace/qemu
C compiler        gcc
Host C compiler   gcc
ARCH_CFLAGS
make              make
install           install
host CPU          powerpc
host big endian   yes
target list       ppcemb-softmmu
gprof enabled     no
sparse enabled    no
profiler          no
static build      no
-Werror enabled   no
SDL support       yes
SDL static link   yes
curses support    yes
mingw32 support   no
Audio drivers     oss
Extra audio cards
Mixer emulation   no
VNC TLS support   no
kqemu support     no
kvm support       yes
CPU emulation     yes
libfdt support    yes
brlapi support    no
Documentation     no
NPTL support      yes
vde support       no
AIO support       yes
KVM support       yes





Error messages:
gcc -I. -I.. -I/root/kvm-userspace/qemu/target-ppc 
-I/root/kvm-userspace/qemu -MMD -MT ppc440_bamboo.o -MP -DNEED_CPU_H 
-D__powerpc__ -D_GNU_SOURCE -D_FILE_OFFSET_BITSd -D_LARGEFILE_SOURCE 
-D__user= -I/root/kvm-userspace/qemu/tcg 
-I/root/kvm-userspace/qemu/tcg/ppc -I/root/kvm-userspace/qemu/fpu 
-DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/root/kvm-userspace/qemu/slirp -I 
/root/kvm-userspace/qemu/../libkvm  -I /root/kvm-userspace/libfdt -O2 -g 
-fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings   -I 
/root/kvm-userspace/kernel/include -c -o ppc440_bamboo.o 
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c: In function 'bamboo_init':
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:108: warning: passing 
argument 2 of 'load_uimage' from incompatible pointer type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:108: warning: passing 
argument 3 of 'load_uimage' from incompatible pointer type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:108: error: too many 
arguments to function 'load_uimage'
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:139: warning: passing 
argument 1 of 'read_proc_dt_prop_cell' discards qualifiers from pointer 
target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:140: warning: passing 
argument 1 of 'read_proc_dt_prop_cell' discards qualifiers from pointer 
target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:173: warning: passing 
argument 2 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:173: warning: passing 
argument 3 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:174: warning: passing 
argument 2 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:174: warning: passing 
argument 3 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:176: warning: passing 
argument 2 of 'dt_cell_multi' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:176: warning: passing 
argument 3 of 'dt_cell_multi' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:177: warning: passing 
argument 2 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:177: warning: passing 
argument 3 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:179: warning: passing 
argument 2 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:179: warning: passing 
argument 3 of 'dt_cell' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:180: warning: passing 
argument 2 of 'dt_string' discards qualifiers from pointer target type
/root/kvm-userspace/qemu/hw/ppc440_bamboo.c:180: warning: passing 
argument 3 of 'dt_string' discards qualifiers from pointer target type
make[2]: *** [ppc440_bamboo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/root/kvm-userspace/qemu/ppcemb-softmmu'
make[1]: *** [subdir-ppcemb-softmmu] Error 2
make[1]: Leaving directory `/root/kvm-userspace/qemu'
make: *** [qemu] Error 2


--
Giuseppe




             reply	other threads:[~2008-12-01 17:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01 17:09 Giuseppe Falsetti [this message]
2008-12-01 18:30 ` Compiling error : ppc440_bamboo.o fails Giuseppe Falsetti
2008-12-01 19:08 ` Hollis Blanchard
2008-12-03 18:34 ` Giuseppe Falsetti
2008-12-03 19:12 ` Hollis Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2008-12-01 14:08 Giuseppe Falsetti
     [not found] ` <4933EFDD.8000709-qgsxNw1iPWg@public.gmane.org>
2008-12-01 17:34   ` Hollis Blanchard
2008-12-01 17:34     ` Hollis Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49341A65.2080601@czero.it \
    --to=giuseppe@czero.it \
    --cc=kvm-ppc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.