newbie linker question

mabramso@gmu.edu mabramso@gmu.edu
Fri Oct 18 12:12:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /