Linking problem
Colin Walters
walters@verbum.org
Tue Aug 28 19:27:00 GMT 2001
Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
> BTW, a lot of people find the class$ error report confusing, I
> personally do. The problem has been noted (java/2370) and as Hans
> wrote, solutions are open to discussions.
Maybe it could just be added to the FAQ for now? I was having the
same problem.
Here's what I'm thinking of; this looks like it could be question 4.2:
4.2 Why do I get "undefined reference to a symbol ending in `class$'"?
This problem is usually caused by passing an incorrect class name
to the --main argument. The class name needs to be fully
qualified with the package name, and names should be separated by
`.'.
More information about the Java
mailing list