Bruno Haible <br...@clisp.org> writes: > Simon Josefsson wrote: >> my /usr/local/include/unictype.h file does not contain >> UC_CATEGORY_MASK_LC. It is from libunistring 0.9.3. I can't find >> UC_CATEGORY_MASK_LC symbol anywhere in the libunistring 0.9.3 package. > > Oh, I see now. This particular symbol is newer than libunistring 0.9.3. > There were several additions to unictype.in.h, on 2011-01-09, 2011-03-21, > 2011-03-23, 2011-03-25. This patch ought to fix it:
Yes, that resolved most issues (thanks!), however there is another: make[4]: Entering directory `/home/jas/src/gnulib/m/gltests' gcc -std=gnu99 -g -O2 -o test-categ_byname unictype/test-categ_byname.o ../gllib/libgnu.a -lunistring -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm ../gllib/libgnu.a(categ_byname.o): In function `uc_general_category_byname': /home/jas/src/gnulib/m/gllib/unictype/categ_byname.c:190: undefined reference to `_UC_CATEGORY_NONE' /home/jas/src/gnulib/m/gllib/unictype/categ_byname.c:190: undefined reference to `_UC_CATEGORY_NONE' collect2: ld returned 1 exit status make[4]: *** [test-categ_byname] Error 1 gllib/unictype/categ_none.c is not compiled: jas@latte:~/src/gnulib/m master$ grep categ_none gllib/Makefile #am__append_132 = unictype/categ_none.c Likely because of this in modules/unictype/category-none: if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE lib_SOURCES += unictype/categ_none.c endif And it is not being enabled: jas@latte:~/src/gnulib/m master$ grep LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE config.log LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_FALSE='' LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_NONE_TRUE='#' jas@latte:~/src/gnulib/m master$ I can't reproduce this by just testing the unictype/categ-none module, I need build everything to get the error, i.e.: rm -rf m && ./gnulib-tool --create-testdir --with-tests --dir m --without-longrunning-tests cd m ./configure -C make make check /Simon