On Wed, Aug 26, 2009 at 2:54 PM, Bruno Haible<[email protected]> wrote:
> Hi,
>
> On Solaris/x86 with Sun C 5.9, test-parse-duration fails to link:
>
> cc -xc99=all  -g  -Wl,-z,ignore -o test-parse-duration test-parse-duration.o 
> ../gllib/libgnu.a -lm
> ld: fatal: symbol `xstrdup' is multiply-defined:
>        (file test-parse-duration.o type=FUNC; file 
> ../gllib/libgnu.a(xmalloc.o) type=FUNC);
> ld: fatal: File processing errors. No output written to test-parse-duration
> *** Error code 1
> make: Fatal error: Command failed for target `test-parse-duration'
>
> Removing the definition of xstrdup from tests/test-parse-duration.c fixes
> the problem. OK to apply?

Fine by me.  I must have not had the function available when I was playing.

Cheers - Bruce


Reply via email to