[Mono-dev] Compilation issue

rmd at altec.com.ar rmd at altec.com.ar
Sat Nov 4 08:07:48 EST 2006


Con fecha 3/11/2006, "Robert Jordan" <robertj at gmx.net> escribió:

>RMD wrote:
>> 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)
>>
>> /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'
>
>Apply this patch:
>
>Index: mono/mini/ldscript.mono
>===================================================================
>--- mono/mini/ldscript.mono     (revision 67332)
>+++ mono/mini/ldscript.mono     (working copy)
>@@ -1,4 +1,4 @@
>-{
>+VER_0 {
>        global:
>                mono_*;
>                GC_push_all_stack;
>
>
>Robert
>

Thank you!
Applying this patch solved part of the problem. but I still cannot
compile.
The error now is:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP
-D_FILE_OFFSET_BITS=3D64 -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 -MT libtest_la-libtest.lo -MD -MP -MF
deps/libtest_la-libtest.Tpo -c libtest.c  -fPIC -DPIC -o
libs/libtest_la-libtest.o
libtest.c:36: warning: no previous prototype for `test_lpwstr_marshal'
libtest.c:62: warning: no previous prototype for `mono_union_test_1'
libtest.c:68: warning: no previous prototype for `mono_return_int'
libtest.c:79: warning: no previous prototype for `mono_return_int_ss'
libtest.c:85: warning: no previous prototype for `mono_return_ss'
libtest.c:97: warning: no previous prototype for `mono_return_sc1'
libtest.c:110: warning: no previous prototype for `mono_return_sc3'
libtest.c:124: warning: no previous prototype for `mono_return_sc5'
libtest.c:141: warning: no previous prototype for `mono_return_int_su'
libtest.c:170: warning: no previous prototype for
`mono_test_many_byte_arguments'
libtest.c:176: warning: no previous prototype for
`mono_test_many_float_arguments'
libtest.c:182: warning: no previous prototype for
`mono_test_many_double_arguments'
libtest.c:188: warning: no previous prototype for
`mono_test_split_double_arguments'
libtest.c:194: warning: no previous prototype for `mono_test_puts_static'
libtest.c:203: warning: no previous prototype for `mono_invoke_delegate'
libtest.c:217: warning: no previous prototype for
`mono_test_marshal_char'
libtest.c:226: warning: no previous prototype for
`mono_test_marshal_char_array'
libtest.c:241: warning: no previous prototype for
`mono_test_empty_pinvoke'
libtest.c:247: warning: no previous prototype for
`mono_test_marshal_bool_byref'
libtest.c:257: warning: no previous prototype for
`mono_test_marshal_array'
libtest.c:268: warning: no previous prototype for
`mono_test_marshal_inout_array'
libtest.c:281: warning: no previous prototype for
`mono_test_marshal_out_array'
libtest.c:293: warning: no previous prototype for
`mono_test_marshal_inout_nonblittable_array'
libtest.c:318: warning: no previous prototype for
`mono_test_return_vtype'
libtest.c:333: warning: no previous prototype for
`mono_test_delegate_struct'
libtest.c:341: warning: no previous prototype for
`mono_test_return_string'
libtest.c:357: warning: no previous prototype for `mono_test_ref_vtype'
libtest.c:375: warning: no previous prototype for
`mono_test_marshal_out_struct'
libtest.c:394: warning: no previous prototype for
`mono_test_marshal_delegate_struct'
libtest.c:406: warning: no previous prototype for
`mono_test_marshal_struct'
libtest.c:416: warning: no previous prototype for
`mono_test_marshal_byref_struct'
libtest.c:440: warning: no previous prototype for
`mono_test_marshal_struct2'
libtest.c:452: warning: no previous prototype for
`mono_test_marshal_struct2_2'
libtest.c:465: warning: no previous prototype for
`mono_test_marshal_lpstruct'
libtest.c:475: warning: no previous prototype for
`mono_test_marshal_lpstruct_blittable'
libtest.c:484: warning: no previous prototype for
`mono_test_marshal_struct_array'
libtest.c:506: warning: no previous prototype for
`mono_test_marshal_long_align_struct_array'
libtest.c:512: warning: no previous prototype for
`mono_test_marshal_class'
libtest.c:533: warning: no previous prototype for
`mono_test_marshal_byref_class'
libtest.c:563: warning: no previous prototype for `reliable_delegate'
libtest.c:584: warning: no previous prototype for
`mono_test_marshal_delegate'
libtest.c:600: warning: no previous prototype for
`mono_test_marshal_return_delegate'
libtest.c:612: warning: function declaration isn't a prototype
libtest.c:633: warning: no previous prototype for
`mono_test_marshal_delegate2'
libtest.c:653: warning: no previous prototype for
`mono_test_marshal_delegate4'
libtest.c:683: warning: no previous prototype for
`mono_test_marshal_delegate5'
libtest.c:707: warning: no previous prototype for
`mono_test_marshal_delegate6'
libtest.c:719: warning: no previous prototype for
`mono_test_marshal_delegate7'
libtest.c:740: warning: no previous prototype for
`mono_test_marshal_inout_byval_class_delegate'
libtest.c:763: warning: no previous prototype for
`mono_test_marshal_delegate8'
libtest.c:772: warning: no previous prototype for
`mono_test_marshal_delegate9'
libtest.c:784: warning: no previous prototype for
`mono_test_marshal_delegate10'
libtest.c:792: warning: no previous prototype for
`mono_test_marshal_primitive_byref_delegate'
libtest.c:811: warning: no previous prototype for
`mono_test_marshal_return_delegate_delegate'
libtest.c:817: warning: no previous prototype for
`mono_test_marshal_stringbuilder'
libtest.c:829: warning: no previous prototype for
`mono_test_marshal_stringbuilder_default'
libtest.c:839: warning: no previous prototype for
`mono_test_marshal_stringbuilder_unicode'
libtest.c:864: warning: no previous prototype for
`mono_test_marshal_empty_string_array'
libtest.c:870: warning: no previous prototype for
`mono_test_marshal_string_array'
libtest.c:884: warning: no previous prototype for
`mono_test_marshal_byref_string_array'
libtest.c:900: warning: no previous prototype for
`mono_test_marshal_stringbuilder_array'
libtest.c:914: warning: no previous prototype for
`mono_test_marshal_unicode_string_array'
libtest.c:946: warning: no previous prototype for
`mono_test_empty_struct'
libtest.c: In function `mono_test_empty_struct':
libtest.c:957: Internal compiler error in ix86_compute_frame_size, at
config/i386/i386.c:1876
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[4]: *** [libtest_la-libtest.lo] Error 1
make[4]: Leaving directory `/home/rmd/mono-1.1.18/mono/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rmd/mono-1.1.18/mono/tests'
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

Any clue?
Thank you very much

Ricardo



More information about the Mono-devel-list mailing list