This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
newbie linker question
- From: mabramso at gmu dot edu
- To: java at gcc dot gnu dot org
- Date: 18 Oct 2002 15:12:37 -0400
- Subject: newbie linker question
- Reply-to: mabramso at gmu dot edu
Hi!
I installed gcc 3.1 for Redhat 7.3 from their rpms.
I have the classpath set correctly and HelloWorld compiles and execute
okay.
But when I try to compile a java class referring to other java classes
in the same directory I get a linker error:
gcj3 --main=package.Main -o Main Main.java
gives me "Undefined reference to package::Utils.class"
What am I missing?
TIA
myriam