Hi, Ian Beckwith wrote: > u8-mbsnlen's tests fail due to a missing dep.
Thanks for the report. This regression was introduced on 2010-11-13. > Trivial patch attached. The error message that I get is gcc -g -O2 -o test-u8-mbsnlen unistr/test-u8-mbsnlen.o ../gllib/libgnu.a ../gllib/libgnu.a(u8-mbsnlen.o): In function `u8_mbsnlen': /tmp/testdir/gllib/unistr/u8-mbsnlen.c:37: undefined reference to `u8_mbtouc' collect2: ld returned 1 exit status make[4]: *** [test-u8-mbsnlen] Error 1 So the code that needs u8_mbtouc is the definition of u8_mbsnlen (in u8-mbsnlen.o), not the unit test. 2010-12-19 Bruno Haible <br...@clisp.org> unistr/u8-mbsnlen: Add missing dependency. * modules/unistr/u8-mbsnlen (Depends-on): Add unistr/u8-mbtouc. Reported by Ian Beckwith <i...@erislabs.net>. --- modules/unistr/u8-mbsnlen.orig Sun Dec 19 11:21:41 2010 +++ modules/unistr/u8-mbsnlen Sun Dec 19 11:21:26 2010 @@ -7,6 +7,7 @@ Depends-on: unistr/base unistr/u8-mbtoucr +unistr/u8-mbtouc configure.ac: gl_LIBUNISTRING_MODULE([0.9.4], [unistr/u8-mbsnlen])