[Android Software/Hacking General [Developers Only]] Vj Raj:
Compiler error! need help please... I've seen this same error posted on pg:43 but wasn't answered.

I need a fix please.

In file included from system/core/libcutils/strdup8to16.c:18:0:
system/core/include/cutils/jstring.h:32:35: error: unknown type name 'char16_t'
extern char * strndup16to8 (const char16_t* s, size_t n);
^
system/core/include/cutils/jstring.h:33:35: error: unknown type name 'char16_t'
extern size_t strnlen16to8 (const char16_t* s, size_t n);
^
system/core/include/cutils/jstring.h:34:47: error: unknown type name 'char16_t'
extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n);
^
system/core/include/cutils/jstring.h:36:8: error: unknown type name 'char16_t'
extern char16_t * strdup8to16 (const char* s, size_t *out_len);
^
system/core/include/cutils/jstring.h:38:8: error: unknown type name 'char16_t'
extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
^
system/core/include/cutils/jstring.h:38:32: error: unknown type name 'char16_t'
extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
^
system/core/include/cutils/jstring.h:39:8: error: unknown type name 'char16_t'
extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
^
system/core/include/cutils/jstring.h:39:35: error: unknown type name 'char16_t'
extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
^
system/core/libcutils/strdup8to16.c:43:8: error: unknown type name 'char16_t'
extern char16_t * strdup8to16 (const char* s, size_t *out_len)
^
system/core/libcutils/strdup8to16.c: In function 'strdup8to16':
system/core/libcutils/strdup8to16.c:45:5: error: unknown type name 'char16_t'
char16_t *ret;
^
system/core/libcutils/strdup8to16.c:53:38: error: 'char16_t' undeclared (first use in this function)
if (len && SIZE_MAX/len < sizeof(char16_t))
^
system/core/libcutils/strdup8to16.c:53:38: note: each undeclared identifier is reported only once for each function it appears in
system/core/libcutils/strdup8to16.c:57:22: error: expected expression before ')' token
ret = (char16_t *) malloc (sizeof(char16_t) * len);
^
system/core/libcutils/strdup8to16.c:59:12: error: implicit declaration of function 'strcpy8to16' [-Werror=implicit-function-declaration]
return strcpy8to16 (ret, s, out_len);
^
system/core/libcutils/strdup8to16.c:59:12: error: return makes pointer from integer without a cast [-Werror=int-conversion]
system/core/libcutils/strdup8to16.c: At top level:
system/core/libcutils/strdup8to16.c:151:8: error: unknown type name 'char16_t'
extern char16_t * strcpy8to16 (char16_t *utf16Str, const char*utf8Str,
^
system/core/libcutils/strdup8to16.c:151:32: error: unknown type name 'char16_t'
extern char16_t * strcpy8to16 (char16_t *utf16Str, const char*utf8Str,
^
system/core/libcutils/strdup8to16.c:185:8: error: unknown type name 'char16_t'
extern char16_t * strcpylen8to16 (char16_t *utf16Str, const char*utf8Str,
^
system/core/libcutils/strdup8to16.c:185:35: error: unknown type name 'char16_t'
extern char16_t * strcpylen8to16 (char16_t *utf16Str, const char*utf8Str,
^
cc1: all warnings being treated as errors
make: *** [/home/vjraj/x/out/target/product/condor/obj/STATIC_LIBRARIES/libcutils_intermediates/strdup8to16.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from system/core/libcutils/strdup16to8.c:20:0:
system/core/include/cutils/jstring.h:32:35: error: unknown type name 'char16_t'
extern char * strndup16to8 (const char16_t* s, size_t n);
^
system/core/include/cutils/jstring.h:33:35: error: unknown type name 'char16_t'
extern size_t strnlen16to8 (const char16_t* s, size_t n);
^
system/core/include/cutils/jstring.h:34:47: error: unknown type name 'char16_t'
extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n);
^
system/core/include/cutils/jstring.h:36:8: error: unknown type name 'char16_t'
extern char16_t * strdup8to16 (const char* s, size_t *out_len);
^
system/core/include/cutils/jstring.h:38:8: error: unknown type name 'char16_t'
extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
^
system/core/include/cutils/jstring.h:38:32: error: unknown type name 'char16_t'
extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
^
system/core/include/cutils/jstring.h:39:8: error: unknown type name 'char16_t'
extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
^
system/core/include/cutils/jstring.h:39:35: error: unknown type name 'char16_t'
extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
^
system/core/libcutils/strdup16to8.c:29:34: error: unknown type name 'char16_t'
extern size_t strnlen16to8(const char16_t* utf16Str, size_t len)
^
system/core/libcutils/strdup16to8.c:107:48: error: unknown type name 'char16_t'
extern char* strncpy16to8(char* utf8Str, const char16_t* utf16Str, size_t len)
^
system/core/libcutils/strdup16to8.c:143:28: error: unknown type name 'char16_t'
char * strndup16to8 (const char16_t* s, size_t n)
^
make: *** [/home/vjraj/x/out/target/product/condor/obj/STATIC_LIBRARIES/libcutils_intermediates/strdup16to8.o] Error 1

#### make failed to build some targets (03:02 (mm:ss)) ####