This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/27823] Found a problem with the JNI methods declared and implemented



------- Comment #8 from lucier at math dot purdue dot edu  2006-07-08 22:04 -------
Subject: Re:  Found a problem with the JNI methods declared and implemented

Things really seem screwed up in my build log.

Here's what I see:

make[7]: Entering directory `/export/users/lucier/programs/gcc/ 
gcc-4.1.1/objdir/sparc-sun-solaris2.9/libjava/classpath/native/jni'
cd ../../../../../../libjava/classpath && /usr/bin/ksh ./scripts/ 
check_jni_methods.sh

If you count the number of ../'s in the cd, you see you're back in  
'the source directory'/libjava/classpath when you execute the script,  
so you get

zuse-182% /bin/ksh ./libjava/classpath/scripts/check_jni_methods.sh
find: native/jni: No such file or directory
find: native/jni: No such file or directory
find: native/jni: No such file or directory

If you execute it by hand in the directory where it should be run, it  
seems to work just fine (this is after the completed bootstrap, though):

zuse-185% pu sparc-sun-solaris2.9/libjava/classpath/
~/programs/gcc/gcc-4.1.1/objdir/sparc-sun-solaris2.9/libjava/ 
classpath ~/programs/gcc/gcc-4.1.1/objdir ~/programs/gcc/gcc-4.1.1/ 
objdir/sparc-sun-solaris2.9/sparcv9/libjava/classpath/native/jni ~
zuse-186% /bin/ksh ../../../../libjava/classpath/scripts/ 
check_jni_methods.sh


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27823


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]