reHello, I read, somewhere but I don't remenber where, a class which is compile with gcj can call a non compiling class. I try to do this but I have some errors. $ gcj -C test2.java $ gcjh test2 $ gcj -c test2.java -o test2.o $ gcj --shared -o libtest2.so test2.o $ g++ -o test2 testcc2.cc -l test2 -L . ./libtest2.so: undefined reference to `test2bis::test2bis[in-charge]()' ./libtest2.so: undefined reference to `test2bis::class$' collect2: ld returned 1 exit status Version : gcj : 3.3.2 g++ : 3.3.2 Linux(debian) Testing So any body have an idea ? Thank Etienne -------------- next part -------------- A non-text attachment was scrubbed... Name: test2.java Type: text/x-java Size: 174 bytes Desc: not available URL: <http://gcc.gnu.org/pipermail/java/attachments/20031008/2a02a90e/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: test2bis.java Type: text/x-java Size: 130 bytes Desc: not available URL: <http://gcc.gnu.org/pipermail/java/attachments/20031008/2a02a90e/attachment-0001.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: testcc2.cc Type: text/x-c++src Size: 298 bytes Desc: not available URL: <http://gcc.gnu.org/pipermail/java/attachments/20031008/2a02a90e/attachment-0002.bin>