I'm building 4.2 because my tablet(asus tf700t) supports android version 4.2.1 at last. Could you please provide information how can I set HAVE_SELINUX=true ? On which step and with which code ? Best Regards, Adnan BALJoseph Fourier University
> Date: Tue, 18 Feb 2014 13:02:02 -0500 > From: [email protected] > To: [email protected]; [email protected] > Subject: Re: SeAndroid Make - Compile Error > > On 02/18/2014 10:59 AM, Stephen Smalley wrote: > > On 02/18/2014 09:13 AM, Stephen Smalley wrote: > >> On 02/16/2014 09:22 AM, Adnan Bal wrote: > >>> Hello, > >>> > >>> I'm having compiling error while trying to build the seandroid 4.2 > >>> project. > >>> > >>> First, I'm using Ubuntu 12.04 and gcc4.4 > >>> I followed the tutorial on seandroid wiki and download whole source and > >>> after I tried to build a kernel > >>> seandroid-tegra3-grouper-3.1-jb-mr1.1 because I'm using a Asus TF700T > >>> device (with tegra chipset). > >>> > >>> As mentioned on Seandroid wiki page, I type > >>> > >>> export PREFIX=/path/to/my/aospclone > >>> cd $PREFIX/kernel/tegra > >>> git checkout seandroid-tegra3-grouper-3.1-jb-mr1.1 > >>> make ARCH=arm tegra3_android_defconfig > >>> make ARCH=arm > >>> CROSS_COMPILE=$PREFIX/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- > >>> The build completes correctly. > >>> Then I'm trying to build my seandroid like : > >>> > >>> cd $PREFIX > >>> source build/envsetup.sh > >>> lunch full_grouper-userdebug > >>> make -j8 > >>> > >>> Then after 20 or 30 minutes of compiling, I got an error > >>> > >>> ... > >>> system/core/init/init.c: In function 'service_start': > >>> system/core/init/init.c:283:80: error: 'scon' undeclared (first use in > >>> this function) > >>> system/core/init/init.c:283:80: note: each undeclared identifier is > >>> reported only once for each function it appears in > >>> make: *** > >>> [out/target/product/generic/obj/EXECUTABLES/init_intermediates/init.o] > >>> Error 1 > >>> make: *** Waiting for unfinished jobs.... > >>> ... > >>> > >>> > >>> I couldn't find a solution and really need a hand. > >> > >> I'll have to spin up a 4.2 tree as we haven't built that in a while. > >> Is there a reason you are trying to build 4.2 rather than the latest > >> version? > > > > Also, did you build with HAVE_SELINUX=true? > > That was required back in 4.2 and earlier versions, before the > > HAVE_SELINUX conditional guards were removed from Android. > > My seandroid 4.2 build completed successfully. Couldn't reproduce your > error (unless it is an issue with not setting HAVE_SELINUX=true, which > is required for 4.2 and older builds). But I would recommend moving to > 4.4.2 if at all possible. > >
_______________________________________________ Seandroid-list mailing list [email protected] To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].
