Skip to content

Instantly share code, notes, and snippets.

@walter
Created December 11, 2011 05:23
Show Gist options
  • Save walter/1458566 to your computer and use it in GitHub Desktop.
Save walter/1458566 to your computer and use it in GitHub Desktop.
Make error for Yaz on Mac OS X 10.7
libtool: compile: /usr/bin/llvm-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/libxml2 -I/usr/local/Cellar/icu4c/4.3.1/include -D YAZ_HAVE_ICU=1 -I../libstemmer_c/include -O3 -march=core2 -msse4.1 -w -pipe -D_THREAD_SAFE -c icu_chain.c -fno-common -DPIC -o .libs/libyaz_icu_la-icu_chain.o
In file included from /usr/include/libxml2/libxml/parser.h:798,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1248,
from ../include/yaz/xmltypes.h:36,
from ../include/yaz/icu.h:38,
from ../include/yaz/icu_I18N.h:46,
from icu_chain.c:18:
/usr/include/libxml2/libxml/encoding.h:41: error: redefinition of typedef 'UChar'
/usr/local/Cellar/icu4c/4.3.1/include/unicode/umachine.h:305: error: previous declaration of 'UChar' was here
make[1]: *** [libyaz_icu_la-icu_chain.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment