This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
missing symbol on cross compile
- To: java-discuss at sourceware dot cygnus dot com
- Subject: missing symbol on cross compile
- From: Lincoln Spiteri <lincoln at st dot com>
- Date: Mon, 22 Nov 1999 11:03:30 +0100
- Organization: STMicroelectronics
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
------------------------------------------------------------------------------