crt1.o: In function `_start': undefined reference to `_init_tsl'
Ruslan Ermilov
ru at freebsd.org
Wed Aug 25 00:06:14 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040825/c105b59d/attachment.bin
More information about the freebsd-current
mailing list