This error is because the code isn't setup correctly to build as modules.  
There was also a bug where the code is looking for a LSM interface that has 
recently been removed.  I've put fixes for both in my personal tree 
(git://gitorious.org/~ryanware/meego-platform-security/ryanwares-msf-security.git).
  I hope these will get migrated into the official MSF tree shortly.

Ryan

> -----Original Message-----
> From: [email protected] [mailto:meego-dev-
> [email protected]] On Behalf Of Arjan van de Ven
> Sent: Friday, August 13, 2010 6:54 AM
> To: Development for the MeeGo Project (discussion list)
> Subject: Re: [MeeGo-dev] Meego Security framework build problem
> 
> On 8/13/2010 1:35 AM, vinod wrote:
> > Hi I am trying to integrate aegis Security framework into the N900
> > kernel. Wihle building the validator module I get following error.
> >
> >    CHK     include/linux/version.h
> >    CHK     include/generated/utsrelease.h
> > make[1]: `include/generated/mach-types.h' is up to date.
> >    CALL    scripts/checksyscalls.sh
> >    CHK     include/generated/compile.h
> >    LD [M]  security/aegis/validator/aegis_validator.o
> > security/aegis/validator/validator.o: In function
> > `validator_init_module':
> > /home/vinod/N900/Kernel/msf-
> security/security/aegis/validator/validator.c:590: multiple definition of
> `init_module'
> > security/aegis/validator/fs.o:/home/vinod/N900/Kernel/msf-security/sec
> > urity/aegis/validator/fs.c:85: first defined here
> > make[3]: *** [security/aegis/validator/aegis_validator.o] Error 1
> > make[2]: *** [security/aegis/validator] Error 2
> > make[1]: *** [security/aegis] Error 2
> > make: *** [security] Error 2
> >
> 
> 
> yeah that's  a clear cut driver code bug....
> ..... needs fixing in the code.
> 
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to