[Mono-list] mono with llvm build errors
Yaakoub El Khamra
yelkhamra at gmail.com
Sun Feb 28 05:59:51 UTC 2016
Greetings
I am running into lots of problems building mono with llvm (from git) on
fedora 21 with gcc 5.3.1. I am following directions here:
http://www.mono-project.com/docs/advanced/mono-llvm/
and I configured mono with the following options:
--enable-loadedllvm --enable-llvm --enable-llvm-runtime
--enable-parallel-mark --with-llvm=$MONO_INSTALL --with-large-heap=yes
the compile time errors are below. I could not get past these issues in
eglib and could not find a way around them. Did anyone build mono with llvm
recently on linux? Does anyone have any pointers?
Regards
Yaakoub
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_new':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:70: multiple
definition of `monoeg_g_array_new'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:70:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_sized_new':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:86: multiple
definition of `monoeg_g_array_sized_new'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:86:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_free':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:100: multiple
definition of `monoeg_g_array_free'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:100:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_append_vals':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:119: multiple
definition of `monoeg_g_array_append_vals'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:119:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_insert_vals':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:146: multiple
definition of `monoeg_g_array_insert_vals'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:146:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_remove_index':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:178: multiple
definition of `monoeg_g_array_remove_index'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:178:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_remove_index_fast':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:201: multiple
definition of `monoeg_g_array_remove_index_fast'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:201:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):
In function `monoeg_g_array_set_size':
/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:223: multiple
definition of `monoeg_g_array_set_size'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-garray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/garray.c:223:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):
In function `monoeg_g_byte_array_new':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:34: multiple
definition of `monoeg_g_byte_array_new'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:34:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):
In function `monoeg_g_byte_array_free':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:41: multiple
definition of `monoeg_g_byte_array_free'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:41:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):
In function `monoeg_g_byte_array_append':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:49: multiple
definition of `monoeg_g_byte_array_append'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:49:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):
In function `g_byte_array_set_size':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:55: multiple
definition of `g_byte_array_set_size'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gbytearray.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gbytearray.c:55:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):
In function `monoeg_g_error_new':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:37: multiple
definition of `monoeg_g_error_new'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:37:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):
In function `monoeg_g_clear_error':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:68: multiple
definition of `monoeg_g_clear_error'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:68:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):
In function `monoeg_g_error_free':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:77: multiple
definition of `monoeg_g_error_free'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:77:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):
In function `monoeg_g_set_error':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:86: multiple
definition of `monoeg_g_set_error'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:86:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):
In function `monoeg_g_propagate_error':
/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:98: multiple
definition of `monoeg_g_propagate_error'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-gerror.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/gerror.c:98:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-ghashtable.o):
In function `monoeg_g_spaced_primes_closest':
/work/mono_llvm/src/stock_mono/mono/eglib/src/ghashtable.c:97: multiple
definition of `monoeg_g_spaced_primes_closest'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-ghashtable.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/ghashtable.c:97:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-ghashtable.o):
In function `monoeg_g_hash_table_new':
/work/mono_llvm/src/stock_mono/mono/eglib/src/ghashtable.c:109: multiple
definition of `monoeg_g_hash_table_new'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-ghashtable.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/ghashtable.c:109:
first defined here
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-ghashtable.o):
In function `monoeg_g_direct_hash':
/work/mono_llvm/src/stock_mono/mono/eglib/src/ghashtable.c:639: multiple
definition of `monoeg_g_direct_hash'
/work/mono_llvm/src/stock_mono/mono/eglib/src/.libs/libeglib.a(libeglib_la-ghashtable.o):/work/mono_llvm/src/stock_mono/mono/eglib/src/ghashtable.c:639:
first defined here
Regards
Yaakoub El Khamra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20160227/e419660e/attachment.html>
More information about the Mono-list
mailing list