[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
4.13 cannot build on Solaris 2.6, HP-UX 10.20, HP-UX 11.00
From: |
Albert Chin |
Subject: |
4.13 cannot build on Solaris 2.6, HP-UX 10.20, HP-UX 11.00 |
Date: |
Thu, 23 Oct 2008 10:46:55 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
While building texinfo-4.13 on Solaris 2.6:
...
gmake[2]: Entering directory `/opt/build/china/texinfo-4.13/info'
source='makedoc.c' object='makedoc.o' libtool=no \
DEPDIR=.deps depmode=none /bin/ksh ../build-aux/depcomp \
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../gnulib/lib -I../gnulib/lib
-DLOCALEDIR=\"/usr/local/share/locale\" -DINFODIR=\"/usr/local/share/info\"
-DINFODIR2=\"/usr/local/share/info\" -g -c makedoc.c
cc -g -o makedoc makedoc.o ../lib/libtxi.a ../gnulib/lib/libgnu.a -lcurses
ild: (undefined symbol) mbsinit -- referenced in the text segment of makedoc.o
ild: (undefined symbol) mbrtowc -- referenced in the text segment of makedoc.o
gmake[2]: *** [makedoc] Error 5
Neither Solaris 2.6, HP-UX 10.20, nor HP-UX 11.00 have mbsinit() or
mbrtowc(). info/info.h #include's "mbiter.h" which it probably should
not on these platforms. If I modify info/info.h from:
#include "string.h"
#include "mbiter.h"
#include "mbchar.h"
to:
#include "string.h"
#if HAVE_MBRTOWC
# include "mbiter.h"
# include "mbchar.h"
#endif
then info/makedoc compiles. But then info/display.c does not. Gnulib's
lib/trim.c wraps usage of mbi_iterator_t in "#if HAVE_MBRTOWC" but
info/display.c seems to assume wchar support is available. Seems
find_diff() in info/display.c needs to compensate for lack of
HAVE_MBRTOWC.
--
albert chin (address@hidden)
- 4.13 cannot build on Solaris 2.6, HP-UX 10.20, HP-UX 11.00,
Albert Chin <=