单声道对locale_charset的未定义引用

我想从源代码编译单声道,我得到这个错误。

../src/.libs/libeglib.a(libeglib_la-gunicode.o):在函数monoeg_g_get_charset': /opt/mono-2.10.1/eglib/src/gunicode.c:312: undefined reference to locale_charset的monoeg_g_get_charset': /opt/mono-2.10.1/eglib/src/gunicode.c:312: undefined reference to '

我正在编译centos5。 我之前在其他机器上编译过它(Centos),所以我不知道什么是错的。

  1. 运行./configure

  2. 去eglib /

  3. 打开config.h并replace下面的string

    #define HAVE_LOCALCHARSET_H 1

通过

  #define HAVE_LOCALCHARSET_H 0