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>

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

--CGDBiGfvSTbxKZlW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 24, 2004 at 07:41:47PM +0200, Hanspeter Roth wrote:
>   On Aug 24 at 10:03, Steve Kargl spoke:
>=20
> > On Tue, Aug 24, 2004 at 06:42:23PM +0200, Hanspeter Roth wrote:
> > > Hello,
> > >=20
> > > I have upgraded to 5.3-Beta1 from CD.
> > > I had removed /usr/src before upgrading.
> > > Now building the kernel fails:
> > >=20
> [...]
> > > /usr/lib/crt1.o(.text+0x64): In function `_start':
> > > : undefined reference to `_init_tls'
> > >=20
> > > Is it expected to build world first or to build a GENERIC kernel
> > > first?
> > >=20
> >=20
> > more /usr/src/UPDATING
> >=20
> > Skip to this section:
> >=20
> >         To build a kernel
> >         -----------------
> >         If you are updating from a prior version of FreeBSD (even one j=
ust
> >         a few days old), you should follow this procedure. With a
> >         /usr/obj tree with a fresh buildworld,
> >=20
> > and start reading.
>=20
> Ok. I've tried buildworld. It results in the same undefined
> reference probably when building tcsh.
>=20
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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--CGDBiGfvSTbxKZlW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

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

--CGDBiGfvSTbxKZlW--



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