GNOME Bugzilla – Bug 554216
Build issue under Mac OS X 10.4.11
Last modified: 2008-10-13 17:58:10 UTC
Under Mac OS X 10.4.11 the build fails with c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/portable.o portable.cpp portable.cpp: In function 'size_t portable_iconv(void*, const char**, size_t*, char**, size_t*)': portable.cpp:392: error: invalid conversion from 'char**' to 'const char**' portable.cpp:392: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)' make[2]: *** [../objects/portable.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 Note; the build succeeds under Mac OS X 10.3.9, and 10.5.5
I was able to build it on my 10.4.11 machine without problems, but that's probably because I was using a version of libiconv that came with fink. Can you tell me some details about the /usr/include/iconv.h file you have on you system, in particular the value of _LIBICONV_VERSION.
Dimitri, I don't use neither Fink or MacPorts (I use my own build system) I have libiconv 1.12 on all my machines Thus in /usr/local/include/iconv.h I find #define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */
*** This bug has been marked as a duplicate of 515597 ***