Subject: Re: Link errors when building current.
To: None <neil@demon.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 10/09/1995 11:29:11
On Mon, 9 Oct 1995 16:44:59 +0000 (BST)
"Neil J. McRae" <neil@demon.net> wrote:
> loading netbsd
> locore.o: Definition of symbol `_bzero' (multiply defined)
> locore.o: Definition of symbol `_ffs' (multiply defined)
> locore.o: Definition of symbol `___builtin_saveregs' (multiply defined)
> locore.o: Definition of symbol `_setjmp' (multiply defined)
> locore.o: Definition of symbol `_longjmp' (multiply defined)
Eek. Well, first of all, make sure you've re-run `config' so that your
makefile is updated...
Next, make sure your locore.s is up-to-date. I just rebuild the world on
my SS1 and 4/260 without any of these errors.
> lib/kern/libkern.o: Undefined symbol `_longjmperror' referenced from text segment
> lib/kern/libkern.o: Undefined symbol `_longjmperror' referenced from text segment
> lib/kern/libkern.o: Undefined symbol `cerror' referenced
> lib/kern/libkern.o: Definition of symbol `___builtin_saveregs' (multiply defined)
> lib/kern/libkern.o: Definition of symbol `_setjmp' (multiply defined)
> lib/kern/libkern.o: Definition of symbol `_longjmp' (multiply defined)
> lib/kern/libkern.o: Definition of symbol `_bzero' (multiply defined)
> lib/kern/libkern.o: Definition of symbol `_ffs' (multiply defined)
> *** Error code 1
>
> Help Please!
>
> Neil.
>
> --
> Neil J. McRae. Demon Internet
> neil@demon.net
> NetBSD: Free the daemon in your <a href="http://www.NetBSD.ORG/">computer!</a>
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939