*BSD News Article 68473


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!agate!theos.com!riscan.riscan.com!n1van.istar!news.vancouver.istar.net!west.news.istar.net!van-bc,bofh.dot!news.mindlink.net!uniserve!news.sol.net!uwm.edu!math.ohio-state.edu!jussieu.fr!oleane!tank.news.pipex.net!pipex!news.sprintlink.net!new-news.sprintlink.net!ns1.tstt.net.tt!feisal
From: feisal@tstt.net.tt (Feisal Mohammed)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Dynamic libraries
Date: 14 May 1996 01:47:57 GMT
Organization: University of the West Indies
Lines: 16
Message-ID: <slrn4pfq47.5mc.feisal@lancelot.valsayn.tt>
NNTP-Posting-Host: cuscon13.tstt.net.tt
X-Newsreader: slrn (0.8.7.1 UNIX)

Hi,

I am building some dynamic (.so) libraries for RLaB. I had built
them before as static (.a) and would prefer to have dynamic.
I compiled all the objects with "gcc -fPIC ..." then linked
with "gcc -shared -o library.so ....", but I get this error message
"ld: No reference to __DYNAMIC"
What have I missed? It seemed pretty straightforward :-(
I'll appreciate any help given.

-Feisal
-- 
Feisal Mohammed <feisal@tstt.net.tt>   Ph: 1-809-662-2002 x3171
Dept. of Mechanical Engineering, University of the West Indies.