bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] unistr/u8-mbsnlen-tests: fix deps


From: Bruno Haible
Subject: Re: [PATCH] unistr/u8-mbsnlen-tests: fix deps
Date: Sun, 19 Dec 2010 11:24:29 +0100
User-agent: KMail/1.9.9

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  <address@hidden>

        unistr/u8-mbsnlen: Add missing dependency.
        * modules/unistr/u8-mbsnlen (Depends-on): Add unistr/u8-mbtouc.
        Reported by Ian Beckwith <address@hidden>.

--- 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])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]