Mono undefined reference to `locale_charset'

I am trying to compile mono from source and am getting this error.

../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function monoeg_g_get_charset': /opt/mono-2.10.1/eglib/src/gunicode.c:312: undefined reference tolocale_charset'

I am compiling it on centos5. I have compiled it before on other machines (Centos too) so I have no idea whats wrong.

  1. run ./configure

  2. go to eglib/

  3. open config.h and replace following string

    #define HAVE_LOCALCHARSET_H 1

by

 #define HAVE_LOCALCHARSET_H 0


http://serverfault.com/questions/249411/mono-undefined-reference-to-locale-charset
posted @ 2012-11-23 22:15  shiningrise  阅读(1383)  评论(1编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css