[Mono-list] Error building from master

Matt Calder mvcalder at gmail.com
Thu Jul 26 14:01:18 UTC 2012


Rodrigo,

Thanks for the quick response. As near as I can tell, what happened is
this. Yesterday, I accidentally built/installed monodevelop using a prefix
of /usr/local (I typically install using a prefix of /usr). I removed that
by hand and quite possibly removed a piece of mono. Coincidentally, Ubuntu
upgraded mono this morning. In fact, it was that the prompted me to rebuild
mono from master knowing that what Ubuntu offers is typically a bit behind.
One or a combination of these events left mono in a bad way and the
bootstrap process was broken. I uninstalled the Ubuntu mono packages,
reinstalled them, and rebuilt mono and am back in business. Thanks again
for the quick response.

Matt

On Thu, Jul 26, 2012 at 9:32 AM, Rodrigo Kumpera <kumpera at gmail.com> wrote:

> Did you perform a clean build? If not, did you reconfigure mono? This
> usually happens when new files are added
> and you build without reconfiguring.
>
> On Thu, Jul 26, 2012 at 10:00 AM, Matt Calder <mvcalder at gmail.com> wrote:
>
>> I am trying to build mono from the current master and the compile fails
>> with numerous "undefined reference" to errors:
>>
>>
>> /home/calder/tmp/mono/mono/metadata/sgen-cardtable.c:661: undefined
>> reference to `sgen_alloc_os_memory'
>> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-sgen-debug.o):
>> In function `sgen_check_whole_heap':
>> /home/calder/tmp/mono/mono/metadata/sgen-debug.c:367: undefined reference
>> to `sgen_alloc_os_memory'
>> /usr/bin/ld: .libs/libmonosgen-2.0.so.0.0.0: hidden symbol
>> `sgen_memgov_major_collection_start' isn't defined
>> /usr/bin/ld: final link failed: Bad value
>> collect2: ld returned 1 exit status
>>
>> I rebuild mono every couple of weeks and this is a new error for me.
>>
>> calder at pharos:~/tmp/mono$ uname -a
>> Linux pharos 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> Matt
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120726/e8242e11/attachment.html>


More information about the Mono-list mailing list