3 Sep 00:34
Bug in replacing strndup
Esa A E Peuha <peuha <at> cc.helsinki.fi>
2008-09-02 22:34:55 GMT
2008-09-02 22:34:55 GMT
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/
RSS Feed