报错如下
../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function `monoeg_g_get_charset’:
/root/mono-3.2.1/eglib/src/gunicode.c:223: undefined reference to `locale_charset’
collect2: ld returned 1 exit status
make[4]: *** [test-eglib] Error 1
make[4]: Leaving directory `/root/mono-3.2.1/eglib/test’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/mono-3.2.1/eglib’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/mono-3.2.1/eglib’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono-3.2.1′
make: *** [all] Error 2
修改 eglib/config.h
vi eglib/config.h 将#define HAVE_LOCALCHARSET_H 1 替换为 #define HAVE_LOCALCHARSET_H 0
make -j 6
make install
mono –V