This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/27823] Found a problem with the JNI methods declared and implemented
- From: "lucier at math dot purdue dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 8 Jul 2006 22:05:00 -0000
- Subject: [Bug libgcj/27823] Found a problem with the JNI methods declared and implemented
- References: <bug-27823-12755@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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