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
http://www.helsinki.fi/~peuha/


Reply via email to