Hi,
I downloaded openjdk today and modified some source files in hotspot.
I made a building script but the build failed after executing the script.
The error message is shown below
==============================
....................
echo Linking launcher...; \
\
gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586
-export-dynamic -L `pwd` -o gamma launcher.o -ljvm -lm -ldl -lpthread; \
\
}
Linking launcher...
/usr/bin/ld: cannot find -ljvm <-----ERROR
================================
The build script is below. I dont know why libjvm.so couldn't be found ( the
library still couldn't be found even I set LD_LIBRARY_PATH). Could someone
help me out on this? Thanks!
===================================
#!/bin/bash
unset JAVA_HOME CLASSPATH LD_LIBRARY_PATH
export ALT_DEVTOOLS_PATH="/usr/bin"
export ALT_BOOTDIR="/home/fxian/jdk1.6.0_03"
export ALT_BINARY_PLUGS_PATH="/home/fxian/openjdk"
export ALT_JDK_IMPORT_PATH="/home/fxian/jdk1.6.0_03"
export ALT_MOZILLA_HEADERS_PATH="/home/fxian/openjdk/share/plugin"
export MILESTONE="TerryJDK7"
export DEV_ONLY=true
export INSANE=true
export MAKE_VERBOSE=true
export BUILD_LANGTOOLS=false
export DEBUG_GDB3=true
export ARCH_DATA_MODEL=32
make hotspot
======================================
--
Addr: 1025N, 23rd str, APT 33,
Lincoln, NE, 68503
Phone: (402)310-9826
WWW: cse.unl.edu/~fxian