[Mono-dev] Compilation issue

RMD rmd at altec.com.ar
Fri Nov 3 15:11:35 EST 2006

Hello all.
I'm trying to install mono-1-1-18 on a heavily patched redhat7.3 system, and 
when trying to compile it i get the following error:
(this is the last part of the compilation output)

/bin/sh ../../libtool --tag=CC --mode=link 
gcc -I../.. -I../../libgc/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
   -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
  -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
 -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith  
-Wno-cast-qual -Wcast-align -Wwrite-strings   -o 
mono  -export-dynamic -Wl,-version-script=./ldscript.mono main.o 
libmono-static.la -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0   -Wl,--export-dynamic 
 -L/usr/local/lib -lgmodule-2.0 -ldl -lglib-2.0   -lm -lpthread -lm
gcc -I../.. -I../../libgc/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g 
 -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
 -Wcast-align -Wwrite-strings -o mono -Wl,-version-script=./ldscript.mono 
main.o -pthread -Wl,--export-dynamic -Wl,--export-dynamic 
./.libs/libmono-static.a -L/usr/local/lib /usr/local/lib/libgthread-2.0.so 
/usr/local/lib/libgmodule-2.0.so -ldl 
/usr/local/lib/libglib-2.0.so -lpthread -lm
/usr/bin/ld:./ldscript.mono:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[4]: *** [mono] Error 1
make[4]: Leaving directory `/home/rmd/mono-1.1.18/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rmd/mono-1.1.18/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rmd/mono-1.1.18/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rmd/mono-1.1.18'
make: *** [all] Error 2

How can I continue from here to build it?
"./configure" ran (apparently) well.
This machine is only a webserver, with apache2 installed and working, and no 
X at all.
I intend to use mod_mono to serve some asp pages, and I think, from mono 
documentation, that I need first to install mono on my machine, is that ok?
Thank you

More information about the Mono-devel-list mailing list