shobha ranganathan
2006-Jul-19  23:59 UTC
[Fedora-xen] FC5-- building xen-unstable to get xenoprof built...-- get compilation errors
I am trying to get xenoprof built in Xen environment.   I downloaded the
xen-unstable-src.tar in FC5 x86 system where I have both xen0 and xenU kernel
built and up in running.
   
  I did the following
  cd xen-unstable
   
  Now I need to invoke "make menuconfig" to setup options for
Profiling in kernel and then do "make world" and "make
install".
   
  I do not find linux-2.6.x.x-xen directory to run "make menuconfig"..
   
  Also when I do the steps
  cd xen-unstable
  make KERNELS=linux-2.6-xen world
   
  make[3]: Entering directory `/root/xen-unstable/xen/arch/x86''
gcc -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common
-fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
-I/root/xen-unstable/xen/include
-I/root/xen-unstable/xen/include/asm-x86/mach-generic
-I/root/xen-unstable/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer
-msoft-float -m32 -march=i686 -DNDEBUG -S -o asm-offsets.s x86_32/asm-offsets.c
cc1: warnings being treated as errors
In file included from /root/xen-unstable/xen/include/asm/mpspec.h:5,
                 from /root/xen-unstable/xen/include/asm/smp.h:18,
                 from /root/xen-unstable/xen/include/xen/smp.h:13,
                 from /root/xen-unstable/xen/include/xen/sched.h:8,
                 from x86_32/asm-offsets.c:9:
/root/xen-unstable/xen/include/asm/mpspec_def.h:78: warning: âpackedâ attribute
ignored for field of type âunsigned char[5u]â
make[3]: *** [asm-offsets.s] Error 1
make[3]: Leaving directory `/root/xen-unstable/xen/arch/x86''
make[2]: *** [/root/xen-unstable/xen/xen] Error 2
make[2]: Leaving directory `/root/xen-unstable/xen''
make[1]: *** [install-xen] Error 2
make[1]: Leaving directory `/root/xen-unstable''
make: *** [world] Erro
  What am I doing wrong here ?
   
  thanks
  Shobha
 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min or less.
--0-540113146-1153353597=:18760
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
I am trying to get xenoprof built in Xen environment.   <DIV>I
downloaded the xen-unstable-src.tar in FC5 x86 system where I have both xen0 and
xenU kernel built and up in running.</DIV> 
<DIV> </DIV>  <DIV>I did the following</DIV> 
<DIV>cd xen-unstable</DIV>  <DIV> </DIV> 
<DIV>Now I need to invoke "make menuconfig" to setup options for
Profiling in kernel and then do "make world" and "make
install".</DIV>  <DIV> </DIV>  <DIV>I do
not find linux-2.6.x.x-xen directory to run "make
menuconfig"..</DIV>  <DIV> </DIV> 
<DIV>Also when I do the steps</DIV>  <DIV>cd
xen-unstable</DIV>  <DIV>make KERNELS=linux-2.6-xen
world</DIV>  <DIV> </DIV>  <DIV>make[3]:
Entering directory `/root/xen-unstable/xen/arch/x86''<BR>gcc
-Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common
-fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
-I/root/xen-unstable/xen/include
-I/root/xen-unstable/xen/include/asm-x86/mach-generic
 -I/root/xen-unstable/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer
-msoft-float -m32 -march=i686 -DNDEBUG -S -o asm-offsets.s
x86_32/asm-offsets.c<BR>cc1: warnings being treated as errors<BR>In
file included from
/root/xen-unstable/xen/include/asm/mpspec.h:5,<BR>                
from
/root/xen-unstable/xen/include/asm/smp.h:18,<BR>                
from
/root/xen-unstable/xen/include/xen/smp.h:13,<BR>                
from
/root/xen-unstable/xen/include/xen/sched.h:8,<BR>                
from
x86_32/asm-offsets.c:9:<BR>/root/xen-unstable/xen/include/asm/mpspec_def.h:78:
warning: âpackedâ attribute ignored for field of type âunsigned
 char[5u]â<BR>make[3]: *** [asm-offsets.s] Error 1<BR>make[3]:
Leaving directory `/root/xen-unstable/xen/arch/x86''<BR>make[2]:
*** [/root/xen-unstable/xen/xen] Error 2<BR>make[2]: Leaving directory
`/root/xen-unstable/xen''<BR>make[1]: *** [install-xen] Error
2<BR>make[1]: Leaving directory
`/root/xen-unstable''<BR>make: *** [world]
Erro<BR></DIV>  <DIV>What am I doing wrong here ?</DIV> 
<DIV> </DIV>  <DIV>thanks</DIV> 
<DIV>Shobha</DIV><p> 
		<hr size=1>Yahoo! Messenger with Voice. <a
href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make
PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.
--0-540113146-1153353597=:18760--
Markus Armbruster
2006-Jul-20  06:57 UTC
Re: [Fedora-xen] FC5-- building xen-unstable to get xenoprof built...-- get compilation errors
shobha ranganathan <shobha_ranganathan@yahoo.com> writes:> I am trying to get xenoprof built in Xen environment. > I downloaded the xen-unstable-src.tar in FC5 x86 system where I have both xen0 > and xenU kernel built and up in running.Is this a tarball from XenSource? If yes, their mailing lists may well be a better place for questions. What about building from Fedora source rpms instead? [...]