[Mono-dev] Compilation issue

Dave Gress david.gress at acision.com
Mon Feb 4 19:56:03 EST 2008


/usr/bin/ld:./ldscript.mono:1: parse error in VERSION script
collect2: ld returned 1 exit status

* Found referenct to this patch (maybe I did not setup it up correctly ?
[root  mono-1.2.6]# cat mono.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;



[root  mono-1.2.6]# patch mono/mini/ldscript.mono ./mono.patch
patching file mono/mini/ldscript.mono
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file mono/mini/ldscript.mono.rej


[root  mono-1.2.6]#  cat mono/mini/ldscript.mono.rej
***************
*** 1,4 ****
- {
         global:
                 mono_*;
                 GC_push_all_stack;
--- 1,4 ----
+ VER_0 {
         global:
                 mono_*;
                 GC_push_all_stack;

Any help appriciated.


[root  mono-1.2.6]# cat /etc/redhat-release
Red Hat Linux release 7.2 (Enigma)
[root  mono-1.2.6]# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: ./configure --prefix=/usr/local
Thread model: posix
gcc version 3.2.3






This e-mail and any attachment is for authorised use by the intended recipient(s) only. This email contains confidential information. It should not be copied, disclosed to, retained or used by, any party other than the intended recipient. Any unauthorised distribution, dissemination or copying of this E-mail or its attachments, and/or any use of any information contained in them, is strictly prohibited and may be illegal. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender directly via email. Any emails that you send to us may be monitored by systems or persons other than the named communicant for the purposes of ascertaining whether the communication complies with the law and company policies.



More information about the Mono-devel-list mailing list