Hello. I'm getting a build error while building master patched with
intent-mac. Output below:

....
system/core/toolbox/dd.c: In function 'f_skip':
system/core/toolbox/dd.c:1241:2: warning: large integer implicitly
truncated to unsigned type [-Woverflow]
target thumb C: toolbox <= system/core/toolbox/log.c
target thumb C: toolbox <= system/core/toolbox/sleep.c
target thumb C: toolbox <= system/core/toolbox/renice.c
target thumb C: toolbox <= system/core/toolbox/printenv.c
target thumb C: toolbox <= system/core/toolbox/smd.c
target thumb C: toolbox <= system/core/toolbox/chmod.c
target thumb C: toolbox <= system/core/toolbox/chown.c
target thumb C: toolbox <= system/core/toolbox/newfs_msdos.c
target thumb C: toolbox <= system/core/toolbox/netstat.c
target thumb C: toolbox <= system/core/toolbox/ioctl.c
target thumb C: toolbox <= system/core/toolbox/mv.c
system/core/toolbox/watchprops.c:13:1: error: unknown type name 'prop_area'
system/core/toolbox/watchprops.c: In function 'watchprops_main':
system/core/toolbox/watchprops.c:42:5: error: unknown type name 'prop_area'
system/core/toolbox/watchprops.c:43:25: error: request for member
'serial' in something not a structure or union
system/core/toolbox/watchprops.c:44:24: error: request for member
'count' in something not a structure or union
system/core/toolbox/watchprops.c:51:46: error: dereferencing pointer to
incomplete type
system/core/toolbox/watchprops.c:56:29: error: request for member
'serial' in something not a structure or union
system/core/toolbox/watchprops.c:57:19: error: request for member
'serial' in something not a structure or union
system/core/toolbox/watchprops.c:59:25: error: request for member
'count' in something not a structure or union
system/core/toolbox/watchprops.c:61:54: error: dereferencing pointer to
incomplete type
system/core/toolbox/watchprops.c:68:43: error: dereferencing pointer to
incomplete type
make: ***
[out/target/product/grouper/obj/EXECUTABLES/toolbox_intermediates/watchprops.o]

Error 1
make: *** Waiting for unfinished jobs....
system/core/toolbox/ioctl.c: In function 'ioctl_main':
system/core/toolbox/ioctl.c:13:5: warning: 'ioctl_argp_save' may be used
uninitialized in this function [-Wmaybe-uninitialized]
system/core/toolbox/ioctl.c:13:5: warning: 'ioctl_args' may be used
uninitialized in this function [-Wmaybe-uninitialized]
system/core/toolbox/newfs_msdos.c:238:0: warning: "powerof2" redefined
[enabled by default]
In file included from system/core/toolbox/newfs_msdos.c:33:0:
bionic/libc/include/sys/param.h:40:0: note: this is the location of the
previous definition
system/core/toolbox/newfs_msdos.c: In function 'newfs_msdos_main':
system/core/toolbox/newfs_msdos.c:370:6: warning: null argument where
non-null required (argument 2) [-Wnonnull]
system/core/toolbox/newfs_msdos.c:503:3: warning: null argument where
non-null required (argument 2) [-Wnonnull]
system/core/toolbox/newfs_msdos.c:621:6: warning: null argument where
non-null required (argument 2) [-Wnonnull]
...

Building master without intent-mac also fails on watchprops.c with the
same error. Is master currently not buildable?
system/core/toolbox/watchprops.c does seem to have some modifications
from SEAndroid so I thought I'd ask for any pointers here.

Cheers,

-- 
David Barrera
Carleton Computer Security Lab
Ottawa, ON

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to