bug-gnulib
[Top][All Lists]
Advanced

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

Re: test-parse-duration link failure


From: Bruce Korb
Subject: Re: test-parse-duration link failure
Date: Wed, 26 Aug 2009 15:32:11 -0700

On Wed, Aug 26, 2009 at 2:54 PM, Bruno Haible<address@hidden> 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

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