Hi,<br> I downloaded openjdk today and modified some source files in hotspot.<br> I made a building script but the build failed after executing the script. The error message is shown below<br><br>==============================
<br>....................<br>            echo Linking launcher...; \<br>             \<br>           
gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586 -export-dynamic  -L
`pwd` -o gamma launcher.o -ljvm -lm -ldl -lpthread; \<br>             \<br>        }<br><br>Linking launcher...<br>/usr/bin/ld: cannot find -ljvm     <-----ERROR<br>================================<br><br>The build script is below. I dont know why 
<a rel="nofollow" target="_blank" href="http://libjvm.so/"><span class="yshortcuts" id="lw_1196546476_0">libjvm.so</span></a>
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!<br><br>===================================<br>#!/bin/bash<br><br>unset JAVA_HOME CLASSPATH LD_LIBRARY_PATH<br><br>export ALT_DEVTOOLS_PATH="/usr/bin"
<br>export ALT_BOOTDIR="/home/fxian/jdk1.6.0_03"<br>export ALT_BINARY_PLUGS_PATH="/home/fxian/openjdk"<br>export ALT_JDK_IMPORT_PATH="/home/fxian/jdk1.6.0_03"<br>export ALT_MOZILLA_HEADERS_PATH="/home/fxian/openjdk/share/plugin"
<br>export MILESTONE="TerryJDK7"<br>export DEV_ONLY=true<br>export INSANE=true<br>export MAKE_VERBOSE=true<br>export BUILD_LANGTOOLS=false<br>export DEBUG_GDB3=true<br>export ARCH_DATA_MODEL=32<br><br>make hotspot
<br>======================================<br clear="all"><br>-- <br>Addr: 1025N, 23rd str, APT 33,<br>         Lincoln, NE, 68503<br>Phone: (402)310-9826<br>WWW: <a href="http://cse.unl.edu/~fxian">cse.unl.edu/~fxian</a>