libtool: compile: gcc -I. -I. -I../include -I./../include -I.. -I./.. -I/home/jwalton/tmp/ok2delete/include -DNDEBUG -g2 -O2 -march=native -fPIC -pthread -fvisibility=hidden "-DLIBDIR=\"/home/jwalton/tmp/ok2delete/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/home/jwalton/tmp/ok2delete/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c ./../libcharset/lib/localcharset.c -fPIC -DPIC -o .libs/localcharset.o
In file included from ./converters.h:125,
from ./iconv.c:71:
./utf8mac.h:63:27: error: unknown type name 'u_int16_t'
int utf8_encodestr (const u_int16_t *, size_t, u_int8_t *, size_t *,
^~~~~~~~~
./utf8mac.h:63:48: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'?
int utf8_encodestr (const u_int16_t *, size_t, u_int8_t *, size_t *,
^~~~~~~~
uint8_t
./utf8mac.h:64:11: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
size_t, u_int16_t, int);
^~~~~~~~~
uint16_t
./utf8mac.h:66:27: error: unknown type name 'u_int8_t'
int utf8_decodestr (const u_int8_t *, size_t, u_int16_t *,size_t *,
^~~~~~~~
./utf8mac.h:66:47: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
int utf8_decodestr (const u_int8_t *, size_t, u_int16_t *,size_t *,
^~~~~~~~~
uint16_t
./utf8mac.h:67:11: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
size_t, u_int16_t, int, size_t *);
^~~~~~~~~
uint16_t
./utf8mac.h:134:14: error: unknown type name 'u_int16_t'
static const u_int16_t
^~~~~~~~~
./utf8mac.h:381:14: error: unknown type name 'u_int32_t'
static const u_int32_t __UniCharDecompositionTableLength =
^~~~~~~~~
./utf8mac.h:382:51: error: 'u_int16_t' undeclared here (not in a function); did you mean 'uint16_t'?
(sizeof(__CFUniCharDecompositionTable) / (sizeof(u_int16_t) * 2));
^~~~~~~~~
uint16_t
./utf8mac.h:386:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__CFUniCharMultipleDecompositionTable'
__CFUniCharMultipleDecompositionTable[] = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./utf8mac.h:625:14: error: unknown type name 'u_int8_t'
static const u_int8_t
^~~~~~~~
./utf8mac.h:734:14: error: unknown type name 'u_int32_t'
static const u_int32_t
^~~~~~~~~
./utf8mac.h:765:14: error: unknown type name 'u_int32_t'
static const u_int32_t __CFUniCharPrecompositionTableLength =
^~~~~~~~~
./utf8mac.h:766:52: error: 'u_int32_t' undeclared here (not in a function); did you mean 'uint32_t'?
(sizeof(__CFUniCharPrecompSourceTable) / (sizeof(u_int32_t) * 2));
^~~~~~~~~
uint32_t
./utf8mac.h:770:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__CFUniCharBMPPrecompDestinationTable'
__CFUniCharBMPPrecompDestinationTable[] = {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./utf8mac.h:1003:14: error: unknown type name 'u_int8_t'
static const u_int8_t
^~~~~~~~
./utf8mac.h:1137:20: error: expected declaration specifiers or '...' before 'u_int16_t'
unicode_combinable(u_int16_t character)
^~~~~~~~~
./utf8mac.h:1162:23: error: expected declaration specifiers or '...' before 'u_int16_t'
unicode_decomposeable(u_int16_t character) {
^~~~~~~~~
./utf8mac.h:1180:30: error: expected declaration specifiers or '...' before 'u_int16_t'
static int unicode_decompose(u_int16_t character, u_int16_t *convertedChars);
^~~~~~~~~
./utf8mac.h:1180:51: error: expected declaration specifiers or '...' before 'u_int16_t'
static int unicode_decompose(u_int16_t character, u_int16_t *convertedChars);
^~~~~~~~~
./utf8mac.h:1181:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unicode_combine'
static u_int16_t unicode_combine(u_int16_t base, u_int16_t combining);
^~~~~~~~~~~~~~~
./utf8mac.h:1206:22: warning: type defaults to 'int' in declaration of 'u_int16_t' [-Wimplicit-int]
utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
^~~~~~~~~
./utf8mac.h:1206:32: error: expected ';', ',' or ')' before '*' token
utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p,
^
./utf8mac.h:1318:22: error: unknown type name 'u_int8_t'
utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp,
^~~~~~~~
./utf8mac.h:1318:55: error: expected declaration specifiers or '...' before 'u_int16_t'
utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp,
^~~~~~~~~
./utf8mac.h:1319:47: error: expected declaration specifiers or '...' before 'u_int16_t'
size_t *ucslen, size_t buflen, u_int16_t altslash, int flags, size_t *consumed)
^~~~~~~~~
./utf8mac.h:1460:2: error: expected specifier-qualifier-list before 'u_int32_t'
u_int32_t _key;
^~~~~~~~~
./utf8mac.h:1465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getmappedvalue32'
getmappedvalue32(const unicode_mappings32 *theTable, u_int32_t numElem,
^~~~~~~~~~~~~~~~
./utf8mac.h:1488:2: error: expected specifier-qualifier-list before 'u_int16_t'
u_int16_t _key;
^~~~~~~~~
./utf8mac.h:1493:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getmappedvalue16'
getmappedvalue16(const unicode_mappings16 *theTable, u_int32_t numElem,
^~~~~~~~~~~~~~~~
/bin/sh ../libtool --mode=compile gcc -I. -I. -I../include -I./../include -I.. -I./.. -I/home/jwalton/tmp/ok2delete/include -DNDEBUG -g2 -O2 -march=native -fPIC -pthread -fvisibility=hidden -DLIBDIR=\"/home/jwalton/tmp/ok2delete/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/home/jwalton/tmp/ok2delete/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c ./relocatable.c
./utf8mac.h:1517:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unicode_recursive_decompose'
unicode_recursive_decompose(u_int16_t character, u_int16_t *convertedChars)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./utf8mac.h:1575:19: error: expected declaration specifiers or '...' before 'u_int16_t'
unicode_decompose(u_int16_t character, u_int16_t *convertedChars)
^~~~~~~~~
./utf8mac.h:1575:40: error: expected declaration specifiers or '...' before 'u_int16_t'
unicode_decompose(u_int16_t character, u_int16_t *convertedChars)
^~~~~~~~~
./utf8mac.h:1608:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unicode_combine'
unicode_combine(u_int16_t base, u_int16_t combining)
^~~~~~~~~~~~~~~
./utf8mac.h: In function 'utf8mac_mbtowc':
./utf8mac.h:1648:14: error: expected ';' before 'ucsp'
u_int16_t ucsp[13];
^~~~~
;
./utf8mac.h:1653:12: error: 'ucsp' undeclared (first use in this function); did you mean 'bcmp'?
bzero(&ucsp, sizeof(ucsp));
^~~~
bcmp
./utf8mac.h:1653:12: note: each undeclared identifier is reported only once for each function it appears in
./utf8mac.h:1661:11: warning: implicit declaration of function 'utf8_decodestr' [-Wimplicit-function-declaration]
ret = utf8_decodestr(s, n, ucsp, &ucslen, sizeof(ucsp), 0, flags, &consumed);
^~~~~~~~~~~~~~
./utf8mac.h: In function 'utf8mac_wctomb':
./utf8mac.h:1680:14: error: expected ';' before 'ucs_string'
u_int16_t ucs_string[13];
^~~~~~~~~~~
;
./utf8mac.h:1683:49: error: 'ucs_string' undeclared (first use in this function); did you mean 'wcsstr'?
if((ret = _utf16be_wctomb((unsigned char *) ucs_string, wc, sizeof(ucs_string))) < 0)
^~~~~~~~~~
wcsstr
./utf8mac.h:1690:11: warning: implicit declaration of function 'utf8_encodestr' [-Wimplicit-function-declaration]
ret = utf8_encodestr(ucs_string, ret, r, &len, n, 0, flags);
^~~~~~~~~~~~~~
libtool: compile: gcc -I. -I. -I../include -I./../include -I.. -I./.. -I/home/jwalton/tmp/ok2delete/include -DNDEBUG -g2 -O2 -march=native -fPIC -pthread -fvisibility=hidden "-DLIBDIR=\"/home/jwalton/tmp/ok2delete/lib\"" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY "-DINSTALLDIR=\"/home/jwalton/tmp/ok2delete/lib\"" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c ./relocatable.c -fPIC -DPIC -o .libs/relocatable.o
make[1]: *** [Makefile:82: iconv.lo] Error 1