after running build-glib2.sh at the stage where making process of mc starts I got error when linking I suppose. Here the small part of it:
background.o: In function `g_bit_nth_lsf':
/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:277: multiple definition of `g_bit_nth_lsf'
achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:277: first defined here
background.o: In function `g_bit_nth_msf':
/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:290: multiple definition of `g_bit_nth_msf'
achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:290: first defined here
background.o: In function `g_bit_storage':
/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:304: multiple definition of `g_bit_storage'
achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:304: first defined here
background.o: In function `g_trash_stack_push':
/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:318: multiple definition of `g_trash_stack_push'
achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:318: first defined here
background.o: In function `g_trash_stack_pop':
/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:326: multiple definition of `g_trash_stack_pop'
achown.o:/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:326: first defined here
background.o: In function `g_trash_stack_peek':
/home/roma/projs/mc/tmp-inst/include/glib-2.0/glib/gutils.h:343: multiple definition of `g_trash_stack_peek'
...................
...................
collect2: ld returned 1 exit status
make[2]: *** [mc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
What can be wrong?