[Top][All Lists]

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

Bug in replacing strndup

From: Esa A E Peuha
Subject: Bug in replacing strndup
Date: Wed, 3 Sep 2008 01:34:55 +0300 (EEST)

Replacing libc function strndup during building of Bison 2.3 doesn't
work quite right; if the configure script determines that libc has
non-working strndup, then lib/strndup.o defines symbol `strndup' while
other .o files refer to symbol `rpl_strndup', and compilation halts with
this message:

../lib/libbison.a(xstrndup.o)(.text+0x5): In function `xstrndup':
.../bison-2.3/lib/xstrndup.c:35: undefined reference to `rpl_strndup'

Esa Peuha
student of mathematics at the University of Helsinki

reply via email to

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