This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

missing symbol on cross compile


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

------------------------------------------------------------------------------

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