Page 1 of 1

Mysterious Error "/tmp/ccFBRCxemain.i(.text+0x12):&quo

Posted: Mon May 17, 2004 11:31 pm
by cobrahc
Hi All,

I upload a source in java... and online judge return this for me
Here are the compiler error messages:

/tmp/ccP5w8mqmain.o: In function `main':
/tmp/ccFBRCxemain.i(.text+0x12): undefined reference to `_CL_4Main'
collect2: ld returned 1 exit status
My program java is working normally in desktop

thx

Posted: Tue Jan 18, 2005 12:17 pm
by Muntasir
Make sure your driver class is named Main when you submit.

Posted: Wed Jan 19, 2005 11:15 am
by Cahoun
Maybe you forgot type JAVA in JUDGEID: as language in which you are programming.