From owner-freebsd-hackers Sat Apr 11 13:47:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA04552 for freebsd-hackers-outgoing; Sat, 11 Apr 1998 13:47:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lily.ezo.net (root@lily.ezo.net [206.102.130.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA04509 for ; Sat, 11 Apr 1998 13:47:35 -0700 (PDT) (envelope-from jflowers@ezo.net) Received: from lily.ezo.net (jflowers@localhost.ezo.net [127.0.0.1]) by lily.ezo.net (8.8.7/8.8.7) with SMTP id QAA18613; Sat, 11 Apr 1998 16:47:21 -0400 (EDT) Date: Sat, 11 Apr 1998 16:47:21 -0400 (EDT) From: Jim Flowers To: Fred Gilham cc: hackers@FreeBSD.ORG Subject: Re: Pesky ld Problem In-Reply-To: <199804111701.KAA07030@snapdragon.csl.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yep, that's the right answer. Thanks. I checked all the libraries and they were ok. The script I was using was patching the source as you indicate and then using the existing (shared) object files without recompiling first. Now if I can just figure out why the pci lnc1 interface can be ifconfiged but fails to initialise. Jim Flowers #4 ISP on C|NET, #1 in Ohio On Sat, 11 Apr 1998, Fred Gilham wrote: > > Jim Flowers wrote: > > > > Help. I am trying to compile picobsd .31 which proceeds quite nicely > > until it comes time to link all of the crunched object files. This is > > done with: > > > > cc -static -o outputfile objectfiles.o objectfiles.lo -libraryfiles > > > > but aborts with: > > > > Digesting symbol information: > > > > ld: No reference to __DYNAMIC > > > > This symbol doesn't appear in any of the object files or libraries so I > > don't know where to start to fix it. > > > > Any clues? > > > > > > I've seen this happen when you try to link a shared (pic) object into > a static binary. Make sure all your object files and libraries are > static (compiled without the -fpic or -fPIC option to GCC), or link > dynamically. > > > -Fred Gilham gilham@csl.sri.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message