missing symbol on cross compile

Lincoln Spiteri lincoln@st.com
Mon Nov 22 01:14:00 GMT 1999


Hello,
I built a gcj cross-compiler redhat 6.1-> solaris 2.5.1. I am getting a problem
when linking. I get:
/tmp/cc091jDjmain.o: In function `main':
/tmp/cca9jh6cmain.i(.text+0xc): undefined reference to `_Jv_Compiler_Properties'
/tmp/cca9jh6cmain.i(.text+0x10): undefined reference to `_Jv_Compiler_Properties'
I have already had to include -lsocket and -lzgcj, which library containes
this symbol.
BTW the cross build of libgcj has greatly improved with the recent snapshots.
Before I had to make some minor adjustments to the Makefile to fix gcj and zlib
related issues. Now it builds straight away.
Regards
Lincoln 
 -- 
------------------------------------------------------------------------------
Lincoln Spiteri
Manufacturing Systems
STMicroelectronics, Malta
e-mail: lincoln.spiteri@st.com
------------------------------------------------------------------------------


More information about the Java mailing list

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