*BSD News Article 18318


Return to BSD News archive

Xref: sserve comp.unix.solaris:4436 comp.unix.internals:6000 comp.unix.bsd:12252 comp.unix.programmer:10457
Newsgroups: comp.unix.solaris,comp.unix.internals,comp.unix.bsd,comp.unix.programmer,comp.unix.programmers
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!nctuccca.edu.tw!news!comserv.itri.org.tw!ccloa1.ccl.itri.org.tw!hcc
From: hcc@ccloa1.ccl.itri.org.tw (³\«Ø©÷)
Subject: help: SunOS 4.1.1 shared library problems.
Message-ID: <hcc.26.0@ccloa1.ccl.itri.org.tw>
Lines: 33
Sender: usenet@comserv.itri.org.tw
Organization: CCL/ITRI
Date: Tue, 13 Jul 1993 06:07:14 GMT

Hi,


We are building and testing a large shared library on SunOs 4.1.1. When 
running a testing program which uses the shared library, sometimes it is 
passed without any error and yet sometimes some symbols cannot be resolved
by ld.so with the same program and inputs. And more, each time 
running the program, the undefined symbols are different if there is any.

We doubt whether there is a bug in ld.so of sunOs 4.1.1 for a large shared 
library?

The error message looks like:(for example)

	ld.so: call to undefined procedure _vprintf from 0xf774155c

We use the -PIC option of sun cc compiler to build our shared library.

Any suggestions and helps are greatly appreciated.



Chien-Chan


-------------------------------
Chien-Chan Hsu					email: hcc@dcs.ccl.itri.org.tw
Software Engineer 				tel: 885-35-917390
Distributed Computing System Dept.		fax: 885-35-917697
CCL/ITRI					
k200, Bldg. 14, 195 Sec. 4, Chung-Hsing Rd.,
HsinChu 31015
Taiwan