I used my own codes.
There are many changed codes but the building was successed before applying
the seandroid codes.

My code is based on Jelly Bean, and I use Ubuntu 10.04.

Because I am using my customized code, I applied seandroid like below
procedures.

1. Downloading Android JB AOSP codes => code_1

2. Downloading Android JB AOSP codes with SEAndroid codes => code_2

3. Making diff file between code_1 and code_2. => seandroid.diff
  (I did it in order to file out the changing points of SEAndroid)

4. Appling the seandroid.diff to my own android codes.

5. building


If This procedure is not correct, how can I apply SEAndroid to my
customized Android?



2013/2/11 Stephen Smalley <[email protected]>

> On 02/09/2013 11:04 PM, Jaejyn Shin wrote:
>
>> Hi.
>>
>> I want to make my own custom rom.
>> But I meet a build error like below.
>>
>> .
>> .
>> .
>> target thumb C: init <= system/core/init/init.c
>> In file included from system/core/init/init.c:37:0:
>> *external/libselinux/include/**selinux/selinux.h:11:1: error: expected
>> '=', ',', ';', 'asm' or '__attribute__' before 'extern'*
>>
>> target thumb C: init <= system/core/init/devices.c
>> system/core/init/init.c: In function 'service_start':
>> system/core/init/init.c:217:5: warning: implicit declaration of function
>> 'is_selinux_enabled' [-Wimplicit-function-**declaration]
>> .
>> .
>> .
>> Is there anyone who met this error in the selinux.h file?
>>
>> Please let me know if you have any information to want to know to solve
>> it~
>>
>
> Please specify the branch you are building and your build host OS.
>
>
>

Reply via email to