[kaffe] classlibrary compile error

jin_leon jin_leon at 126.com
Wed Jul 28 23:25:19 PDT 2004


hi ,all
Thank you very much for all of your great support, and my program has got a lot progress.

Now i want to get a compact rt.jar and i have creat a custom folder under the folder 'profiles' named 'custom' ,in which there are some  .files file (i removed jaxp.files, xml.files ,inet.files and rmi.files) , and creat a 'profile' file which list all the .files files under the current folder. Then I do as below:
 1.
./configure --with-class-library-profile=$src_Kaffe-1.1.4/libraries/javalib/profiles/custom
 2.
cd to javalib#
make

but compilation is failed and the error message is:

rm -rf lib
mkdir lib
/bin/sh ./rebuildLib @essential.files
Compiling classes from  @essential.files  using  /usr/local/j2sdk1.4.0/bin/javac
/bin/sh ./rebuildLib
/bin/sh ./rebuildLib @pure_java_math.files
Compiling classes from  @pure_java_math.files  using  /usr/local/j2sdk1.4.0/bin/javac
for i in `cat ./profiles//home/SOFT/kaffe-1.1.4/libraries/javalib/profiles/custom/profile` ;  do \
        /bin/sh ./rebuildLib @profiles//home/SOFT/kaffe-1.1.4/libraries/javalib/profiles/custom/$i || exit $? ; \
done
cat: ./profiles//home/SOFT/kaffe-1.1.4/libraries/javalib/profiles/custom/profile: No such file or directory
echo timestamp > lib/stamp
if [ ! -d lib/kaffe ] ; then \
       mkdir lib/kaffe ; \
       mkdir lib/kaffe/io ; \
fi
for i in kaffe/io/ByteToChar8859_2.ser kaffe/io/ByteToChar8859_3.ser kaffe/io/ByteToChar8859_4.ser kaffe/io/ByteToChar8859_5.ser kaffe/io/ByteToChar8859_6.ser kaffe/io/ByteToChar8859_7.ser kaffe/io/ByteToChar8859_8.ser kaffe/io/ByteToChar8859_9.ser kaffe/io/ByteToCharASCII.ser kaffe/io/ByteToCharCP037.ser kaffe/io/ByteToCharCP1026.ser kaffe/io/ByteToCharCP1046.ser kaffe/io/ByteToCharCP1250.ser kaffe/io/ByteToCharCP1251.ser kaffe/io/ByteToCharCP1252.ser kaffe/io/ByteToCharCP1253.ser kaffe/io/ByteToCharCP1254.ser kaffe/io/ByteToCharCP1255.ser kaffe/io/ByteToCharCP1256.ser kaffe/io/ByteToCharCP1257.ser kaffe/io/ByteToCharCP1258.ser kaffe/io/ByteToCharCP850.ser kaffe/io/ByteToCharCP852.ser kaffe/io/ByteToCharCP855.ser kaffe/io/ByteToCharCP857.ser kaffe/io/ByteToCharCP860.ser kaffe/io/ByteToCharCP861.ser kaffe/io/ByteToCharCP862.ser kaffe/io/ByteToCharCP863.ser kaffe/io/ByteToCharCP864.ser kaffe/io/ByteToCharCP865.ser kaffe/io/ByteToCharCP866.ser kaffe/io/ByteToCharCP868.ser kaffe/io/ByteToCharCP869.ser kaffe/io/ByteToCharCP870.ser kaffe/io/ByteToCharCP871.ser kaffe/io/ByteToCharCP875.ser kaffe/io/ByteToCharCP918.ser kaffe/io/ByteToCharKOI8_R.ser kaffe/io/CharToByte8859_2.ser kaffe/io/CharToByte8859_3.ser kaffe/io/CharToByte8859_4.ser kaffe/io/CharToByte8859_5.ser kaffe/io/CharToByte8859_6.ser kaffe/io/CharToByte8859_7.ser kaffe/io/CharToByte8859_8.ser kaffe/io/CharToByte8859_9.ser kaffe/io/CharToByteASCII.ser kaffe/io/CharToByteCP037.ser kaffe/io/CharToByteCP1026.ser kaffe/io/CharToByteCP1046.ser kaffe/io/CharToByteCP1250.ser kaffe/io/CharToByteCP1251.ser kaffe/io/CharToByteCP1252.ser kaffe/io/CharToByteCP1253.ser kaffe/io/CharToByteCP1254.ser kaffe/io/CharToByteCP1255.ser kaffe/io/CharToByteCP1256.ser kaffe/io/CharToByteCP1257.ser kaffe/io/CharToByteCP1258.ser kaffe/io/CharToByteCP850.ser kaffe/io/CharToByteCP852.ser kaffe/io/CharToByteCP855.ser kaffe/io/CharToByteCP857.ser kaffe/io/CharToByteCP860.ser kaffe/io/CharToByteCP861.ser kaffe/io/CharToByteCP862.ser kaffe/io/CharToByteCP863.ser kaffe/io/CharToByteCP864.ser kaffe/io/CharToByteCP865.ser kaffe/io/CharToByteCP866.ser kaffe/io/CharToByteCP868.ser kaffe/io/CharToByteCP869.ser kaffe/io/CharToByteCP870.ser kaffe/io/CharToByteCP871.ser kaffe/io/CharToByteCP875.ser kaffe/io/CharToByteCP918.ser kaffe/io/CharToByteKOI8_R.ser ; do cp ./$i lib/$i ; done
if [ ! -d lib/gnu ] ; then \
        mkdir lib/gnu ; \
        mkdir lib/gnu/regexp ; \
        mkdir lib/gnu/java ; \
        mkdir lib/gnu/java/locale ; \
fi
for i in gnu/regexp/MessagesBundle_fr.properties gnu/regexp/MessagesBundle.properties gnu/java/locale/iso3166-a3.properties gnu/java/locale/iso3166_de.properties gnu/java/locale/iso3166.properties gnu/java/locale/iso639-a2-old.properties gnu/java/locale/iso639-a3.properties gnu/java/locale/iso639_de.properties gnu/java/locale/iso639_fr.properties gnu/java/locale/iso639_ga.properties gnu/java/locale/iso639.properties ; do cp ./$i lib/$i ; done
cp: cannot create regular file `lib/gnu/java/locale/iso3166-a3.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso3166_de.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso3166.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639-a2-old.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639-a3.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639_de.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639_fr.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639_ga.properties': No such file or directory
cp: cannot create regular file `lib/gnu/java/locale/iso639.properties': No such file or directory
make: *** [rt.jar] Error 1
Does anybody can help me find and solve the problem?Thanks!

PS: I have successfully compiled the rt.jar with default option.
and My enviroment Value:
JAVAC=$J2SDK_HOME/bin/javac
JAVAC_FLAGS="-g:none -bootclasspath $J2SDK_HOME/lib"

cheers 
Jin Leon


-----------------------------------------------------------
马上到http://www.126.com申请260M全国最大免费邮箱!
提供新邮件到达手机短信提醒功能, 随时掌握邮件信息!


More information about the kaffe mailing list