[vmkit-commits] How to build VMkit without N3; How to build at all?

nicolas geoffray nicolas.geoffray at gmail.com
Sun Jul 11 22:22:20 PDT 2010


Hi Minas,

Glad you found the solution. Indeed, not providing any n3 related stuff will
make configure disable compilation of n3.

For your build problems, I have experienced similar errors due to order of
linkage in the Makefile files. Try to move around Allocator.a in
tools/vmjc/Makefile to see if that fixes the problem.

Nicolas

On Sun, Jul 11, 2010 at 9:53 PM, Minas Abrahamyan <minas.subs at gmail.com>wrote:

> I'm still trying to build vmkit.
> Since N3 part is not buildable, I've tryed to turn its compilation off,
> But there was no any halp to do this:
> ./configure --help prints how to build without J3, but no word how to build
> without N3.
>
> But I've found solution:
> ***
> To build vmkit without N3 (currently it is not buildable)
> run ./configure without both of these keys:
> --with-pnet-local-prefix
> --with-mono
> ***
>
> Please, add this asterisk-separated text to docs and to ./configure --help
> part
> Thanks
>
> ==
>
> Now, however it doesn't build too, Although now at last no single word
> about N3,
> but:
>
> <<<
> make[1]: Leaving directory `/home/mn/tests/VMkit/vmkit/lib'
> make[1]: Entering directory `/home/mn/tests/VMkit/vmkit/tools/vmjc'
> llvm[1]: Compiling vmjc.cpp for Debug build
> llvm[1]: Linking Debug executable vmjc
> /home/mn/tests/VMkit/vmkit/Debug/lib/libGCMmap2.a(gcinit.o): In function
> `mvm::Collector::initialise()':
> /home/mn/tests/VMkit/vmkit/lib/Mvm/GCMmap2/gcinit.cpp:22: undefined
> reference to `GCAllocator::operator new(unsigned long)'
> /home/mn/tests/VMkit/vmkit/lib/Mvm/GCMmap2/gcinit.cpp:22: undefined
> reference to `GCAllocator::GCAllocator()'
> /home/mn/tests/VMkit/vmkit/Debug/lib/libGCMmap2.a(gcinit.o): In function
> `mvm::Collector::destroy()':
> /home/mn/tests/VMkit/vmkit/lib/Mvm/GCMmap2/gcinit.cpp:42: undefined
> reference to `GCAllocator::~GCAllocator()'
> /home/mn/tests/VMkit/vmkit/lib/Mvm/GCMmap2/gcinit.cpp:42: undefined
> reference to `GCAllocator::operator delete(void*)'
> collect2: ld returned 1 exit status
> make[1]: *** [/home/mn/tests/VMkit/vmkit/Debug/bin/vmjc] Error 1
> make[1]: Leaving directory `/home/mn/tests/VMkit/vmkit/tools/vmjc'
> make: *** [all] Error 1
> >>>
>
> Is'not this related with latest GC checkins?
>
> Regards,
> Minas
>
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20100711/74c31056/attachment.html>


More information about the vmkit-commits mailing list