Hi all,
I want to compile jamvm statically.
First I call autogen:
$ ./autogen.sh --with-java-runtime-library=openjdk8 --enable-static
then make:
$ make -j $(nproc)
compiling runs through, but i get the following error while linking:
libtool: link: gcc -shared -fPIC -DPIC -Wl,--whole-archive
./.libs/libcore.a -Wl,--no-whole-archive -lz -ldl -lm -lrt -lpthread
-g -O2 -Wl,-soname -Wl,libjvm.so -o .libs/libjvm.so
jam.o: In function `showVersionAndCopyright':
/home/goltzsch/git/jamvm/src/jam.c:110: undefined reference to
`getExecutionEngineName'
jam.o: In function `parseCommandLine':
/home/goltzsch/git/jamvm/src/jam.c:156: undefined reference to
`parseCommonOpts'
/home/goltzsch/git/jamvm/src/jam.c:142: undefined reference to `sysMalloc'
[... more undefined references ... ]
Any suggestions?
Thanks!
David
--
M.Sc. David Goltzsche
Institute of Operating Systems and Computer Networks
Distributed Systems Group
TU Braunschweig
www: https://www.ibr.cs.tu-bs.de/users/goltzsch
mail: gol...@ib...
|