This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Problem with AClass.class


>>>>> "Ryszard" == Ryszard Kabatek <Ryszard.Kabatek@softax.pl> writes:

>> >/tmp/cc3aa1t7.o: In function `main':
>> >/tmp/cc3aa1t7.o(.text+0x1d): undefined reference to `AClass::class$'
>> >collect2: ld returned 1 exit status

Bryce> Given that the undefined reference is in "main", it seems like
Bryce> you specified an incorrect --main class, or forgot to link in
Bryce> AClass?

Ryszard> Hm, AClass is the --main class.

Then we need more information.  How exactly did you compile your
program?  Is it short enough to post here?  What platform are you on?

Tom


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