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
 
   
 

xense-devel

Re: [Xense-devel] sHype supprot for Solaris

To: "Alexei Bavelski" <bavelski@xxxxxxxxx>
Subject: Re: [Xense-devel] sHype supprot for Solaris
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Mon, 27 Nov 2006 07:20:07 -0500
Cc: xense-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Nov 2006 04:20:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <adb3f7840611270241y375b115fy4032c42b4cec3d45@xxxxxxxxxxxxxx>
List-help: <mailto:xense-devel-request@lists.xensource.com?subject=help>
List-id: "A discussion list for those developing security enhancements for Xen." <xense-devel.lists.xensource.com>
List-post: <mailto:xense-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xense-devel>, <mailto:xense-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xense-devel-bounces@xxxxxxxxxxxxxxxxxxx

xense-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 11/27/2006 05:41:50 AM:

> Hi!
>
> Thanks for your reply. I am compiling on Solaris B44.
>


We haven't tried that before.

> In common.mk changed
>
> ACM_SECURITY ?= y
> ACM_USE_SECURITY_POLICY ?= ACM_CHINESE_WALL_AND_SIMPLE_TYPE_ENFORCEMENT_POLICY


Looks correct.

>
> here are the errors, let me know if you want the full build log
>
> Thanks,
> Alexei
> --------------------------------------------------------------------
> gmake[6]: Entering directory `/export/home/xen-src/xen.hg/xen/acm'
> gcc -g -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
> -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix
> include -Werror -Wno-pointer-arith -pipe
> -I/export/home/xen-src/xen.hg/xen/include
> -I/export/home/xen-src/xen.hg/xen/include/asm-x86/mach-generic
> -I/export/home/xen-src/xen.hg/xen/include/asm-x86/mach-default
> -msoft-float -mno-red-zone -fpic -fno-reorder-blocks
> -fno-asynchronous-unwind-tables -g -D__XEN__ -DACM_SECURITY -DVERBOSE
> -Wa,--divide -c acm_core.c -o acm_core.o
> acm_core.c: In function `acm_init':
> acm_core.c:249: error: syntax error before ')' token
> acm_core.c:249: error: syntax error before ')' token
> acm_core.c:249: error: syntax error before ')' token
> acm_core.c:249: error: syntax error before ')' token


Do you have the latest / unmodified version of acm_core.c from the repository? I have a goto statement in line 249.

   Stefan


> acm_core.c:252: error: too few arguments to function `acm_init_binary_policy'
> acm_core.c:256: error: syntax error before ';' token
> gmake[6]: *** [acm_core.o] Error 1
> gmake[6]: Leaving directory `/export/home/xen-src/xen.hg/xen/acm'
> gmake[5]: *** [/export/home/xen-src/xen.hg/xen/acm/built_in.o] Error 2
> gmake[5]: Leaving directory `/export/home/xen-src/xen.hg/xen/arch/x86'
> gmake[4]: *** [/export/home/xen-src/xen.hg/xen/xen] Error 2
> gmake[4]: Leaving directory `/export/home/xen-src/xen.hg/xen'
> gmake[3]: *** [install] Error 2
> gmake[3]: Leaving directory `/export/home/xen-src/xen.hg/xen'
> gmake[2]: *** [install-xen] Error 2
> gmake[2]: Leaving directory `/export/home/xen-src/xen.hg'
> gmake[1]: *** [world] Error 2
> gmake[1]: Leaving directory `/export/home/xen-src/xen.hg'
> *** Error code 2
> make: Fatal error: Command failed for target `xen-dist'
> --------------------------------------------------------------------
>
> On 11/26/06, Stefan Berger <stefanb@xxxxxxxxxx> wrote:
> >
> > xense-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 11/25/2006
> > 11:54:01 AM:
> >
> >
> >  > Hi!
> >  >
> >  > I am trying to build Xen for Solaris with ACM ON and  get syntax
> >  > errors in acm_core.c Building with ACM OFF goes without any problems.
> >  >
> >  > Is sHype supported in Solaris version of Xen or I am doing something
> >  > wrong?
> >
> > You might the first one to try it.
> > What's the environment you are compiling Xen on - Linux?
> > Can you post the error messages and the surrouding part of the build log
> > (make 2>&1 | tee build.txt) , please.
> >
> >     Stefan
> >
> > >
> >  > Thanks,
> >  >
> >  > Alexei
> >  >
> >  >
> >  > _______________________________________________
> >  > Xense-devel mailing list
> >  > Xense-devel@xxxxxxxxxxxxxxxxxxx
> >  > http://lists.xensource.com/xense-devel
> >
>
> _______________________________________________
> Xense-devel mailing list
> Xense-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xense-devel
_______________________________________________
Xense-devel mailing list
Xense-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xense-devel