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


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

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

Does a simple "HelloWorld.java" program work
for you as expected with GCJ?

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/



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