"Deep-Impact" <[email protected]> writes: >> I still couldn't reproduce this (by cross compiling), but the error >> looks similar to the "extern inline" issue[1]. Could you provide >> wctype.h generated on your environment? > > Please find attached the file. Do I have to use an older GCC? (it > seems difficult...)
Thanks, I got it. When compiling wctype-h.c, rpl_towlower/rpl_towupper are emitted through gettext-tools/gnulib-lib/wctype.h, since they are defined as "extern inline". However, wctype.h is also included by libxml/parser.c, through libiconv's iconv.h and wchar.h. Which is causing multiple definition. I'll try to find a better solution, but a workaround is to use win-iconv (whose iconv.h does not include wchar.h) instead of libiconv: https://code.google.com/p/win-iconv/ Regards, -- Daiki Ueno
