Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 10:06:04 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:    Re: crt1.o: In function `_start': undefined reference to `_init_tsl'
Message-ID:  <20040825070604.GE2916@ip.net.ua>
In-Reply-To: <20040824174147.GA2041@gicco.homeip.net>
References:  <20040824164223.GA6359@gicco.homeip.net> <20040824170357.GA46720@troutmask.apl.washington.edu> <20040824174147.GA2041@gicco.homeip.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBLDpcqRfpzJluFF4RAg7jAJ0aMP5MY/c5u7fTtLzAqUS1ws8NCgCfSUpd
Df0tJbUvG1wt35Lg0lqKDeY=
=/+eE
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040825070604.GE2916>