*BSD News Article 33265


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!grapevine.lcs.mit.edu!ginger.lcs.mit.edu!wollman
From: wollman@ginger.lcs.mit.edu (Garrett Wollman)
Newsgroups: comp.os.386bsd.questions
Subject: Re: What is __DYNAMIC ?
Date: 21 Jul 1994 18:49:17 GMT
Organization: MIT Laboratory for Computer Science
Lines: 18
Message-ID: <30mfvd$lum@GRAPEVINE.LCS.MIT.EDU>
References: <30lmnj$t76@imag.imag.fr>
NNTP-Posting-Host: ginger.lcs.mit.edu

In article <30lmnj$t76@imag.imag.fr>,
Christian Damsgaard Jensen <jensen@ngulu> wrote:
>I'm trying to compile emacs 19.25, but the linker fails with the following
>error message: "ld: No reference to __DYNAMIC"

Apparently, however you managed to configure Emacs, it decided to use
its own version of crt0.o, but did not bother to specify the -static
flag.  What `ld' is telling you is that, to compile with shared
libraries, you have to have some support for them in the program
startup code.

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant