|
|
|
|
|
|
|
|
|
|
xense-devel
Re: [Xense-devel] sHype supprot for Solaris
xense-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 11/28/2006
05:06:23 PM:
> I am using acm_core.c file, provided with Solaris destribution of
Xen.
> When I tried the latest version from xensource repository, I
get more
> errors... But I guess this is because I need to change some other
> files too. The same syntax errors moved to line 252. Here is the build
If you try to merge two version of Xen yu have to
merge everything that's ACM-related and maybe some dependencies also.
Does a current version of xen-unstable compile?
Otherwise where did you download the Solaris version
from so I can have a look at it.
Stefan
> log:
> -----------------------------------------------------------------------------------------
> 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_set_policy_reference':
> acm_core.c:87: error: structure has no member named `policy_reference_name'
> acm_core.c:87: error: dereferencing pointer to incomplete type
> acm_core.c:89: error: structure has no member named `policy_reference_name'
> acm_core.c:92: error: structure has no member named `policy_reference_name'
> acm_core.c:92: error: invalid application of `sizeof' to incomplete
> type `acm_policy_reference_buffer'
> acm_core.c:93: error: structure has no member named `policy_reference_name'
> acm_core.c: In function `acm_dump_policy_reference':
> acm_core.c:101: error: invalid application of `sizeof' to incomplete
> type `acm_policy_reference_buffer'
> acm_core.c:101: error: structure has no member named `policy_reference_name'
> acm_core.c:108: error: dereferencing pointer to incomplete type
> acm_core.c:108: error: structure has no member named `policy_reference_name'
> acm_core.c:109: error: invalid application of `sizeof' to incomplete
> type `acm_policy_reference_buffer'
> acm_core.c:110: error: structure has no member named `policy_reference_name'
> acm_core.c: In function `acm_setup':
> acm_core.c:219: warning: implicit declaration of function `do_acm_set_policy'
> acm_core.c: At top level:
> acm_core.c:237: error: conflicting types for 'acm_init'
> /export/home/xen-src/xen.hg/xen/include/acm/acm_hooks.h:378: error:
> previous declaration of 'acm_init' was here
> acm_core.c:237: error: conflicting types for 'acm_init'
> /export/home/xen-src/xen.hg/xen/include/acm/acm_hooks.h:378: error:
> previous declaration of 'acm_init' was here
> acm_core.c: In function `acm_init':
> acm_core.c:252: error: syntax error before ')' token
> acm_core.c:252: error: syntax error before ')' token
> acm_core.c:252: error: syntax error before ')' token
> acm_core.c:252: error: syntax error before ')' token
> acm_core.c:255: error: too few arguments to function `acm_init_binary_policy'
> acm_core.c:259: error: syntax error before ';' token
> acm_core.c:261: error: structure has no member named `policy_reference_name'
> acm_core.c:263: error: structure has no member named `policy_reference_name'
> acm_core.c: In function `acm_init_domain_ssid':
> acm_core.c:293: error: `ACM_DATATYPE_domain' undeclared (first use
in
> this function)
> acm_core.c:293: error: (Each undeclared identifier is reported only
once
> acm_core.c:293: error: for each function it appears in.)
> acm_core.c:358:5: no newline at end of file
> 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'
> -----------------------------------------------------------------------------------------
>
> Thank you!
>
> Alexei
>
> On 11/27/06, Stefan Berger <stefanb@xxxxxxxxxx> wrote:
> >
> > 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 doingsomething
> > > > > 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
_______________________________________________
Xense-devel mailing list
Xense-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xense-devel
|
|
|
|
|