🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42875

ld: No reference to __DYNAMIC

#42875
From: Rick Tyler
Date: Wed, 01 Nov 1995 00:00
8 lines
815 bytes
I get this error when trying to link an executable with a shared library that I
created.  I used "gcc -fpic" to build the objects which went into the shared
library, "ld -Bshareable" to build the shared library itself, and using "ld
-dynamic" to link the executable.

What am I doing wrong?

- RT
Technical Details
Message-ID: <478agf$7hd@kadath.zeitgeist.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,86e66569afdedfb6,start
X-Google-Attributes: gid11318c,public
From: Rick Tyler <rick@tyler.org>
Subject: ld: No reference to __DYNAMIC
Date: 1995/11/01
Message-ID: <478agf$7hd@kadath.zeitgeist.net>
X-Deja-AN: 118397440
content-type: text/plain; charset=us-ascii
organization: TLGnet, a division of RGNet, Inc.
x-url: news:gnu.gcc.help
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 1.12 (X11; I; BSD/386 uname failed)