This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Clarification
- To: gcc at gcc dot gnu dot org
- Subject: Clarification
- From: "Sangwan, Vikas (CORP, GEITC)" <Vikas dot Sangwan at geind dot ge dot com>
- Date: Wed, 14 Feb 2001 03:17:16 +0530
Hello All,
I am trying to build a shared library from a set of '.o's. Reason
being, trying to use JNI to invoke some API code and it expects a shared
library.
What have I done so far ?
Earler I had static libraries with me i.e the '.a's, so used "ar -x
<file.a>" and extracted out the ..o's. However I am trying to build a
shared object on Solaris using the folloiwiing command but there are a lof
external reference symbols thrown back.
Text relocation remains referenced
against symbol offset in file
<unknown> 0x14 tcp_scb.o
<unknown> 0x18 tcp_scb.o
<unknown> 0x30 tcp_scb.o
<unknown> 0x34 tcp_scb.o
<unknown> 0x3c tcp_scb.o
<unknown> 0x40 tcp_scb.o
<unknown> 0x69c tcp_scb.o
<unknown> 0x6a0 tcp_scb.o
inet_ntoa 0x790 tcp_scb.o
gethostbyaddr 0x744 tcp_scb.o
strdup 0x6e0 tcp_scb.o
GuStrMake 0x6c8 tcp_scb.o
com_addr_tcpaddr_str 0x694 tcp_scb.o
strcpy 0x620 tcp_scb.o
strcpy 0x674 tcp_scb.o
strcpy 0x7b4 tcp_scb.o
GuComAddrFree 0x4d4 tcp_scb.o
ComRemoteAddr 0x43c tcp_scb.o
ComTcpSetAddr 0x3b8 tcp_scb.o
If any of you could shared your experiences, it will ge great.
Rgds
Vikas