This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: gcj and handling own packages question


>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

Ranjit> Florian Weitling wrote:
>> $ gcj -I . --main=Anonymizer *.o
>> /Temp/cc7ATHYp.o(.text+0x39): In function `main':
>> /Temp/cc7qOYPg.i: undefined reference to `Anonymizer::class$'
>> collect2: ld returned 1 exit status

Ranjit> You haven't given much information and this might
Ranjit> sound "Duh!", but are you *sure* that you spelled
Ranjit> "Anonymizer" correctly for the class definition
Ranjit> inside the corresponding Java source file?

Another common problem in this area is not to use the fully qualified
class name.

Tom


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