Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 1998 16:47:21 -0400 (EDT)
From:      Jim Flowers <jflowers@ezo.net>
To:        Fred Gilham <gilham@csl.sri.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Pesky ld Problem 
Message-ID:  <Pine.BSI.3.91.980411164037.18390B-100000@lily.ezo.net>
In-Reply-To: <199804111701.KAA07030@snapdragon.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jflowers@ezo.net>
#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.980411164037.18390B-100000>