[Android Software Development] bovirus:
I downlaod the git zip from repository.

Under Ubuntu 10.04 I expand the archive and run ./configure. No problems 8downlaod allr epositories).

Is it need some spcial command to get latets Android branch (4.4.4r2.0.1)?

Then I ran make. Some errors.

libselinux/src/label_file.c:19:18: error: pcre.h: No such file or directory

libselinux/src/label_file.c:30: error: expected specifier-qualifier-list before ‘pcre’

libselinux/src/label_file.c: In function ‘nodups_specs’:

libselinux/src/label_file.c:160: error: ‘struct spec’ has no member named ‘mode’

libselinux/src/label_file.c:160: error: ‘struct spec’ has no member named ‘mode’

libselinux/src/label_file.c:161: error: ‘struct spec’ has no member named ‘mode’

libselinux/src/label_file.c:161: error: ‘struct spec’ has no member named ‘mode’

libselinux/src/label_file.c: In function ‘spec_hasMetaChars’:

libselinux/src/label_file.c:196: error: ‘struct spec’ has no member named ‘hasMetaChars’

libselinux/src/label_file.c:197: error: ‘struct spec’ has no member named ‘prefix_len’

libselinux/src/label_file.c:213: error: ‘struct spec’ has no member named ‘hasMetaChars’

libselinux/src/label_file.c:214: error: ‘struct spec’ has no member named ‘prefix_len’

libselinux/src/label_file.c: In function ‘compile_regex’:

libselinux/src/label_file.c:236: error: ‘spec_t’ has no member named ‘regcomp’

libselinux/src/label_file.c:243: error: ‘spec_t’ has no member named ‘stem_id’

libselinux/src/label_file.c:244: error: ‘spec_t’ has no member named ‘stem_id’

libselinux/src/label_file.c:259: error: ‘spec_t’ has no member named ‘regex’

libselinux/src/label_file.c:261: error: ‘spec_t’ has no member named ‘regex’

libselinux/src/label_file.c:267: error: ‘spec_t’ has no member named ‘sd’

libselinux/src/label_file.c:267: error: ‘spec_t’ has no member named ‘regex’

libselinux/src/label_file.c:268: error: ‘spec_t’ has no member named ‘sd’

libselinux/src/label_file.c:275: error: ‘spec_t’ has no member named ‘regcomp’

libselinux/src/label_file.c: In function ‘process_line’:

libselinux/src/label_file.c:322: error: ‘spec_t’ has no member named ‘stem_id’

libselinux/src/label_file.c:339: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:352: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:355: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:358: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:361: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:364: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:367: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:370: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c: In function ‘init’:

libselinux/src/label_file.c:518: error: ‘spec_t’ has no member named ‘hasMetaChars’

libselinux/src/label_file.c:522: error: ‘spec_t’ has no member named ‘hasMetaChars’

libselinux/src/label_file.c: In function ‘closef’:

libselinux/src/label_file.c:556: error: ‘struct spec’ has no member named ‘regcomp’

libselinux/src/label_file.c:557: error: ‘struct spec’ has no member named ‘regex’

libselinux/src/label_file.c:558: error: ‘struct spec’ has no member named ‘sd’

libselinux/src/label_file.c: In function ‘lookup_common’:

libselinux/src/label_file.c:616: error: ‘PCRE_PARTIAL_SOFT’ undeclared (first use in this function)

libselinux/src/label_file.c:616: error: (Each undeclared identifier is reported only once

libselinux/src/label_file.c:616: error: for each function it appears in.)

libselinux/src/label_file.c:627: error: ‘spec_t’ has no member named ‘stem_id’

libselinux/src/label_file.c:628: error: ‘spec_t’ has no member named ‘stem_id’

libselinux/src/label_file.c:629: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:630: error: ‘spec_t’ has no member named ‘mode’

libselinux/src/label_file.c:633: error: ‘spec_t’ has no member named ‘stem_id’

libselinux/src/label_file.c:634: error: ‘spec_t’ has no member named ‘regex’

libselinux/src/label_file.c:634: error: ‘spec_t’ has no member named ‘sd’

libselinux/src/label_file.c:636: error: ‘spec_t’ has no member named ‘regex’

libselinux/src/label_file.c:636: error: ‘spec_t’ has no member named ‘sd’

libselinux/src/label_file.c:639: error: ‘spec_t’ has no member named ‘matches’

libselinux/src/label_file.c:641: error: ‘PCRE_ERROR_PARTIAL’ undeclared (first use in this function)

libselinux/src/label_file.c:644: error: ‘PCRE_ERROR_NOMATCH’ undeclared (first use in this function)

libselinux/src/label_file.c: In function ‘lookup_best_match’:

libselinux/src/label_file.c:701: error: ‘spec_t’ has no member named ‘hasMetaChars’

libselinux/src/label_file.c:707: error: ‘spec_t’ has no member named ‘prefix_len’

libselinux/src/label_file.c:712: error: ‘spec_t’ has no member named ‘hasMetaChars’

libselinux/src/label_file.c:717: error: ‘spec_t’ has no member named ‘prefix_len’

libselinux/src/label_file.c:719: error: ‘spec_t’ has no member named ‘prefix_len’

libselinux/src/label_file.c: In function ‘stats’:

libselinux/src/label_file.c:741: error: ‘spec_t’ has no member named ‘matches’

make: *** [libselinux] Error 1

How cam fix it?