WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] Which hg repository?

Hi all,

I tried to build xen on a JS21 blade today but some hints at the build page
(http://wiki.xensource.com/xenwiki/XenPPC/Build) are confusing me.

The wiki says clone this:
"http://xenbits.xensource.com/ext/ppc/xen-unstable.hg";
But later it is two times mentioning the "xenppc-unstable" tree.

So was there a switch from "xenppc-unstable" to "xen-unstable"??
Which repository should be used to build the hypervisor?

The "xen-unstable" tree cannot be build on my machine. I get the following
error:

gcc -O2 -fomit-frame-pointer -DELFSIZE=64 -DNDEBUG -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -m64 -ffreestanding -fno-builtin -fno-common
-iwithprefix include -Werror -pipe -I/root/xen/xen-unstable.hg/xen/include
-I/root/xen/xen-unstable.hg/xen/include/asm-powerpc/mach-generic
-I/root/xen/xen-unstable.hg/xen/include/asm-powerpc/mach-default
-Wredundant-decls -Wpacked -msoft-float -O2 -g -D__XEN__ -c domain.c -o
domain.o
cc1: warnings being treated as errors
In file included from domain.c:22:
/root/xen/xen-unstable.hg/xen/include/xen/hypercall.h:117: warning:
redundant redeclaration of ‘do_xsm_op’
/root/xen/xen-unstable.hg/xen/include/xsm/xsm.h:24: warning: previous
declaration of ‘do_xsm_op’ was here
make[3]: *** [domain.o] Error 1
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/common'
make[2]: *** [/root/xen/xen-unstable.hg/xen/common/built_in.o] Error 2
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/arch/powerpc'
make[1]: *** [/root/xen/xen-unstable.hg/xen/xen] Error 2
make[1]: Leaving directory `/root/xen/xen-unstable.hg/xen'
make: *** [build] Error 2
make: Leaving directory `/root/xen/xen-unstable.hg/xen'

After omitting "-Werror" in "xen/arch/powerpc/Rules.mk" I get this error:

gcc -O2 -fomit-frame-pointer -DELFSIZE=64 -DNDEBUG -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -m64 -ffreestanding -fno-builtin -fno-common
-iwithprefix include -pipe -I/root/xen/xen-unstable.hg/xen/include
-I/root/xen/xen-unstable.hg/xen/include/asm-powerpc/mach-generic
-I/root/xen/xen-unstable.hg/xen/include/asm-powerpc/mach-default
-Wredundant-decls -Wpacked -msoft-float -O2 -g -D__XEN__ -Wundef
-Wmissing-prototypes -Wmissing-declarations -Wshadow -nodefaultlibs
-nostartfiles -Wl,--omagic -Wl,-T,xen.lds start.o
/root/xen/xen-unstable.hg/xen/common/built_in.o
/root/xen/xen-unstable.hg/xen/drivers/built_in.o
/root/xen/xen-unstable.hg/xen/xsm/built_in.o
/root/xen/xen-unstable.hg/xen/arch/powerpc/built_in.o
/root/xen/xen-unstable.hg/xen/common/symbols-dummy.o -o .xen-syms
/root/xen/xen-unstable.hg/xen/arch/powerpc/built_in.o: In function
`do_physdev_op':
../x86/physdev.c:94: undefined reference to `xsm_apic'
../x86/physdev.c:77: undefined reference to `xsm_apic'
../x86/physdev.c:112: undefined reference to `xsm_assign_vector'
/root/xen/xen-unstable.hg/xen/arch/powerpc/built_in.o: In function
`__start_xen':
/root/xen/xen-unstable.hg/xen/arch/powerpc/setup.c:353: undefined reference
to `acm_init'
/root/xen/xen-unstable.hg/xen/arch/powerpc/built_in.o: In function
`__hypercall_table':
(.data+0x2e1278): undefined reference to `do_acm_op'
collect2: ld returned 1 exit status
make[2]: *** [.xen-syms] Error 1
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/arch/powerpc'
make[1]: *** [/root/xen/xen-unstable.hg/xen/xen] Error 2
make[1]: Leaving directory `/root/xen/xen-unstable.hg/xen'
make: *** [build] Error 2
make: Leaving directory `/root/xen/xen-unstable.hg/xen'

I tried to play around with ACM and XSM but couldn't solve the problem. Can
someone help me on this?

Mit freundlichen Grüßen / Best Regards
Christian Kaiser
--
IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2@xxxxxxxxxx

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
<Prev in Thread] Current Thread [Next in Thread>