This is the mail archive of the java@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]

(user probs) Things I dont understand, which may be bugs...


as there is no "user" mailling list

1) the installation procedure as described on
http://forums.gentoo.org/viewtopic.php?t=108718&start=25
search for "ok, after a reboot (!)"...has some bugs - are they related to
a broken ebuild or some gcj-brokenness?
I now have the same problem as in the bug-report
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12179
when I do

bash-2.05b$ /usr/local/bin/gcj CountColumn.java
/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgcjcollect2: ld returned 1 exit status


2) I get strange compilation errors that I dont understand (classpath
errors?) I use
bash-2.05b$ cat /usr/local/bin/gcj
cp=.:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/java/libgcj-3.4.0.jar

export CLASSPATH=cp
export classpath=cp

gcj $*


in


bash-2.05b$ /usr/local/bin/gcj CountColumn.java CountColumnImpl.java
CountColumnImpl.java:9: error: Superinterface `CountColumn' of class
`binf1.gibbs_DEV.CountColumnImpl' not found.   public class CountColumnImpl implements CountColumn {
                                           ^
CountColumnImpl.java:11: error: Type `Alphabet' not found in declaration
of field `a'.        Alphabet a = null;
           ^
CountColumnImpl.java:15: error: Type `Alphabet' not found in the
declaration of the argument `a' of method `<init>'.        public CountColumnImpl(Alphabet a){
                                  ^
3 errors


bash-2.05b$ jikes binf1/gibbs_DEV/CountColumnImpl.java
workes fine (with the same CP)


any help appreciated
Anders



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