[Mono-dev] Error compiling mono 1.2.5

Thanh NGUYEN thng at ntnpsphere.net
Sat Nov 3 13:38:14 EDT 2007


Dear all,

I'm trying to compile mono 1.2.5 but not successfully. I got this error :

> make[3]: entrant dans le répertoire « 
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler »
> /bin/bash ../../libtool --tag=CC --mode=link i486-linux-gnu-gcc  -Wall 
> -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall 
> -Wunused -Wmissing-prototypes -Wmissing-declarations 
> -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs 
> -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings 
> -mno-tls-direct-seg-refs  -Wl,-z,defs -o libmono-profiler-cov.la 
> -rpath /usr/lib  mono-cov.lo ../../mono/mini/libmono.la -ldl -lpthread -lm
> libtool: link: warning: 
> `/usr/lib/gcc/i486-linux-gnu/4.1.3/../../..//libgthread-2.0.la' seems 
> to be moved
> libtool: link: warning: 
> `/usr/lib/gcc/i486-linux-gnu/4.1.3/../../..//libglib-2.0.la' seems to 
> be moved
> i486-linux-gnu-gcc -shared  .libs/mono-cov.o  -Wl,--rpath 
> -Wl,/home/u/Softs/Mono/build-deb/mono-1.2.5/mono/mini/.libs 
> ../../mono/mini/.libs/libmono.so 
> -L/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../ -ldl -lpthread -lm  
> -mno-tls-direct-seg-refs -Wl,-z -Wl,defs -Wl,-soname 
> -Wl,libmono-profiler-cov.so.0 -o .libs/libmono-profiler-cov.so.0.0.0
> .libs/mono-cov.o: In function `mono_profiler_startup':
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:127: 
> undefined reference to `g_malloc0'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:128: 
> undefined reference to `g_hash_table_new'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:138: 
> undefined reference to `g_strdup'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:131: 
> undefined reference to `g_strdup'
> .libs/mono-cov.o: In function `cov_method_enter':
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:113: 
> undefined reference to `g_hash_table_insert'
> .libs/mono-cov.o: In function `cov_shutdown':
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:98: 
> undefined reference to `g_hash_table_lookup'
> .libs/mono-cov.o: In function `check_partial_coverage':
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:58: 
> undefined reference to `g_print'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:59: 
> undefined reference to `g_free'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:61: 
> undefined reference to `g_print'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:62: 
> undefined reference to `g_free'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:64: 
> undefined reference to `g_list_free'
> .libs/mono-cov.o: In function `cov_shutdown':
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:80: 
> undefined reference to `g_print'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:104: 
> undefined reference to `g_print'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:105: 
> undefined reference to `g_free'
> .libs/mono-cov.o: In function `coverage_callback':
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:42: 
> undefined reference to `g_strdup_printf'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:47: 
> undefined reference to `g_list_append'
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler/mono-cov.c:45: 
> undefined reference to `g_strdup_printf'
> collect2: ld returned 1 exit status
> make[3]: *** [libmono-profiler-cov.la] Erreur 1
> make[3]: quittant le répertoire « 
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono/profiler »
> make[2]: *** [all-recursive] Erreur 1
> make[2]: quittant le répertoire « 
> /home/u/Softs/Mono/build-deb/mono-1.2.5/mono »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « 
> /home/u/Softs/Mono/build-deb/mono-1.2.5 »
> make: *** [all] Erreur 2
I have these following packages installed on my system (Ubuntu Gusty) :
ii  libglib2.0-0                      2.14.1-1ubuntu1                   
The GLib library of C routines
ii  libglib2.0-dev                    2.14.1-1ubuntu1                   
Development files for the GLib library

ii  libgtk2.0-0                       2.12.0-1ubuntu3                   
The GTK+ graphical user interface library
ii  libgtk2.0-bin                     2.12.0-1ubuntu3                   
The programs for the GTK+ graphical user interface library
ii  libgtk2.0-common                  2.12.0-1ubuntu3                   
Common files for the GTK+ graphical user interface library
ii  libgtk2.0-dev                     2.12.0-1ubuntu3                   
Development files for the GTK+ library

Anyone can tell me how to solve this issue please ?

Thank for your helps.

Regards,

NT








More information about the Mono-devel-list mailing list