Was "Problem with AClass.class"

Ryszard Kabatek Ryszard.Kabatek@softax.pl
Tue May 7 23:23:00 GMT 2002


"Brian.Hong" wrote:
>> Hi! my name is Brian I read the mail-list archives and saw your email.
> I got the same problem, like
>> If I try it (gcj --main=mypackage.AClass) I get:
> /tmp/ccjmo6vc.o: In function `main':
> /tmp/ccjmo6vc.o(.text+0x1d): undefined reference to `mypackage::AClass::class$'
> collect2: ld returned 1 exit status
>> (actually, this is yours, but in my case,
>> [sungil@briannet ~/ssfnet/src/SSF/Net]% gcj --main=Net -o Net --CLASSPATH=/home/sungil/ssfnet/lib/cernlite.jar:/home/sungil/ssfnet/lib/raceway.jar:/home/sungil/ssfnet/lib/regexp.jar:/home/sungil/ssfnet/src Net.java
> /tmp/ccUP0CkQ.o: In function `main':
> /tmp/cc18RxLN.i(.text+0x1d): undefined reference to `Net::class$'
> /tmp/ccUUV9tK.o: In function `SSF::Net::Net::Net()':
> /home/sungil/ssfnet/src/SSF/Net/Net.java(.text+0x3c): undefined reference to `com::renesys::raceway::SSF::Entity::Entity()'
> ...
>> lots of these...
>> in addition, could you tell me now can I join the mailing list, if possible? (not java-announce, but 'java' mailing list)

Take a look on http://gcc.gnu.org/lists.html Subscribing/unsubscribing
>> Thanks.
> *****************************************
> Brian Sungil Hong
> Graduate Student of Univ. of Minnesota,
> Computer Science Department.
>> sungil@cs.umn.edu or moreinf@dreamwiz.com
>> -------------------------------------------------
> DreamWiz Free Mail @ http://www.dreamwiz.com/
> DreamSearch Click the world!!! http://search.dreamwiz.com/

I was on holiday for some days, I have no time to test it in the near future.
-- 
Ryszard Kabatek


More information about the Java mailing list

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