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~

Thank you

Reply via email to