Skip to content

Compile error for first android build #6

Description

@yingkailiang

Hi,

I follow the description list in optee_android_manifest repo. I am at the stage to build the android+OPTEE for the first time. Following the error message I get when I build android source code.

`duct/hikey/obj/ETC/sepolicy_intermediates/sepolicy.tmp out/target/product/hikey/obj/ETC/sepolicy_intermediates/sepolicy )"
device/linaro/hikey/sepolicy/file.te:2:ERROR 'duplicate declaration of type/attribute' at token ';' on line 15544:
type configfs, fs_type;

line 1 "device/linaro/hikey/sepolicy/file.te"

checkpolicy: error(s) encountered while parsing configuration
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1`

Based on the error message, seems the device/linaro/hikey/sepolicy/file.te file contains syntax error. Any suggestion how to fix it.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions