Re: crt1.o: In function `_start': undefined reference to `_init_tsl'

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Wed, 25 Aug 2004 10:06:04 +0300
On Tue, Aug 24, 2004 at 07:41:47PM +0200, Hanspeter Roth wrote:
>   On Aug 24 at 10:03, Steve Kargl spoke:
> 
> > On Tue, Aug 24, 2004 at 06:42:23PM +0200, Hanspeter Roth wrote:
> > > Hello,
> > > 
> > > I have upgraded to 5.3-Beta1 from CD.
> > > I had removed /usr/src before upgrading.
> > > Now building the kernel fails:
> > > 
> [...]
> > > /usr/lib/crt1.o(.text+0x64): In function `_start':
> > > : undefined reference to `_init_tls'
> > > 
> > > Is it expected to build world first or to build a GENERIC kernel
> > > first?
> > > 
> > 
> > more /usr/src/UPDATING
> > 
> > Skip to this section:
> > 
> >         To build a kernel
> >         -----------------
> >         If you are updating from a prior version of FreeBSD (even one just
> >         a few days old), you should follow this procedure. With a
> >         /usr/obj tree with a fresh buildworld,
> > 
> > and start reading.
> 
> Ok. I've tried buildworld. It results in the same undefined
> reference probably when building tcsh.
> 
I recall you upgrading your libc without updating the rest
of the world -- this ruined your build system.  To try to
recover from it, you may need to build/install in lib/csu:

	cd /usr/src/lib/csu
	make obj && make && make install

Then try again to buildworld.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Wed Aug 25 2004 - 05:06:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC