From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sangwan, Vikas (CORP, GEITC)" To: gcc@gcc.gnu.org Subject: Clarification Date: Tue, 13 Feb 2001 13:43:00 -0000 Message-id: <4DE51758E7CDD411A78700508B6FEB1E0120A54B@ban03xbindge.geind.ge.com> X-SW-Source: 2001-02/msg00445.html 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 " 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 0x14 tcp_scb.o 0x18 tcp_scb.o 0x30 tcp_scb.o 0x34 tcp_scb.o 0x3c tcp_scb.o 0x40 tcp_scb.o 0x69c tcp_scb.o 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