*BSD News Article 25086


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!noc.near.net!analog.com!analog.com!nwd2sun2.analog.com!Mike.Long
From: Mike.Long@analog.com (Michael W. Long)
Subject: Re: ld error No reference to __DYNAMIC
In-Reply-To: storm@cs.mcgill.ca's message of 15 Dec 1993 18:51:34 -0500
Message-ID: <MIKE.LONG.93Dec16173733@cthulhu.analog.com>
Lines: 25
Sender: usenet@analog.com
Reply-To: Mike Long <Mike.Long@Analog.com>
Organization: Analog Devices Inc, Norwood MA, USA
References: <CI3H8t.50K@news.iastate.edu> <2eo7u6$a11@homer.cs.mcgill.ca>
Date: Thu, 16 Dec 1993 22:37:33 GMT

In article <2eo7u6$a11@homer.cs.mcgill.ca> storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes:

>In article <CI3H8t.50K@news.iastate.edu>,
>Tamber Kelsain <griffon@iastate.edu> wrote:
>>
>>	I've been trying to compile emacs-19.22 for my shared libs NetBSD
>>system.  Everything compiles fine, but when it tries to link, I get this
>>error:
>>ld: No reference to __DYNAMIC
>>
>>This happens whether I compile with -static or not.
>
>	this is defined in the new crt0.o.  a new crt0.o needs to
>	be compiled (and installed) in the shared libs scene.
>
>	it's in /usr/src/lib/csu/i386.

Emacs uses its own version of crt0.o by default.  Try copying the
system's crt0.o into your .../emacs-19.22/src directory, to keep Emacs
from using its own.
--
Mike Long                                         Mike.Long@Analog.com
VLSI Design Engineer                              voice: (617)461-4030
Analog Devices, SPD Div.                            FAX: (617)461-3010
Norwood, MA 02062                            *this = !opinion(Analog);