[Mono-dev] Building error on profiler.c. maybe gc_init not work.

J.P. mailing at mono.developer.kr
Sun Nov 7 21:52:36 EST 2010


At this time, I got a similar error during build.

# ./autogen.sh --prefix=/my/mono --enable-llvm=yes --enable-large-heap=yes
--with-large-heap=yes --with-ikvm-native=no --with-xen_opt=no
--enable=dtrace=yes --with-profile4=yes
...
# make get-monolite-latest
...
# EXTERNAL_MCS=false EXTERNAL_MONO=false EXTERNAL_RUNTIME=false make
...
make[3]: Leaving directory `/my/src/mono/git/mono/mono/arch'
Making all in mini
make[3]: Entering directory `/my/src/mono/git/mono/mono/mini'
make  all-am
make[4]: Entering directory `/my/src/mono/git/mono/mono/mini'
CC mini-llvm-cpp.lo
mini-llvm-cpp.cpp: In function ‘LLVMOpaqueExecutionEngine*
mono_llvm_create_ee(LLVMOpaqueModuleProvider*, unsigned char*
(*)(LLVMOpaqueValue*, int), void (*)(LLVMOpaqueValue*, void*, void*), void
(*)(void*))’:
mini-llvm-cpp.cpp:477: error: ‘initializeCore’ was not declared in this
scope
mini-llvm-cpp.cpp:478: error: ‘initializeScalarOpts’ was not declared in
this scope
mini-llvm-cpp.cpp:480: error: ‘initializeAnalysis’ was not declared in this
scope
mini-llvm-cpp.cpp:481: error: ‘initializeIPA’ was not declared in this scope
mini-llvm-cpp.cpp:482: error: ‘initializeTransformUtils’ was not declared in
this scope
mini-llvm-cpp.cpp:483: error: ‘initializeInstCombine’ was not declared in
this scope
mini-llvm-cpp.cpp:485: error: ‘initializeTarget’ was not declared in this
scope
make[4]: *** [mini-llvm-cpp.lo] Error 1
make[4]: Leaving directory `/my/src/mono/git/mono/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/my/src/mono/git/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/my/src/mono/git/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/my/src/mono/git/mono'
make: *** [all] Error 2


2010/11/4 Paolo Molaro <lupus at ximian.com>

> On 11/03/10 J.P. wrote:
> > I have a error while compile the mono of git source. I think it caused by
> > mono_gc_base_init function.
> >
> > Please correct this problem. I have configured normally on my x64 linux
> > machine.
>
> You likely need to run autogen.sh in the top dir again.
> Using autogen is required when building from git.
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101108/d287684b/attachment-0001.html 


More information about the Mono-devel-list mailing list