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]

gcj compile question


Hi!

I had a problem when I tried to compile a java source code with oracle
driver imported as follows:
-----------------------------------------
import java.sql.*;
import oracle.jdbc.driver.*;
------------------------------------------------

I got the error message:

-------------------------------------------------
ModelSwarm.java:216: undefined reference to
`oracle::jdbc::driver::OracleDriver::class$'
ModelSwarm.java:216: undefined reference to
`oracle::jdbc::driver::OracleDriver::OracleDriver[in-charge]()'
----------------------------------------------------

Is there anyone compile the java code successfully using gcj? Any
suggestion? Thank you very much.

Xiaorong


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