Hey guys,
Got this error trying to build the Emulator:
Any suggestion?
In file included from system/core/adb/get_my_path_darwin.c:18:0:
/usr/include/unistd.h:515:14: error: storage class specified for parameter
'optarg'
/usr/include/unistd.h:516:12: error: storage class specified for parameter
'optind'
/usr/include/unistd.h:516:20: error: storage class specified for parameter
'opterr'
/usr/include/unistd.h:516:28: error: storage class specified for parameter
'optopt'
In file included from system/core/adb/get_my_path_darwin.c:18:0:
/usr/include/unistd.h:538:5: error: redefinition of parameter 'getpgid'
/usr/include/unistd.h:459:7: note: previous definition of 'getpgid' was here
/usr/include/unistd.h:540:5: error: redefinition of parameter 'getsid'
/usr/include/unistd.h:463:7: note: previous definition of 'getsid' was here
/usr/include/unistd.h:589:14: error: storage class specified for parameter
'suboptarg'
In file included from system/core/adb/get_my_path_darwin.c:18:0:
/usr/include/unistd.h:618:12: error: storage class specified for parameter
'optreset'
system/core/adb/get_my_path_darwin.c:21:1: error: expected '=', ',', ';',
'asm' or '__attribute__' before '{' token
/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:50:18:
error: old-style parameter declarations in prototyped function definition
system/core/adb/get_my_path_darwin.c:29:1: error: expected '{' at end of
input
system/core/adb/get_my_path_darwin.c:29:1: warning: control reaches end of
non-void function [-Wreturn-type]
make: ***
[out/host/darwin-x86/obj/EXECUTABLES/adb_intermediates/get_my_path_darwin.o]
Error 1
--
Fábio Magnoni
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g