On Sat, 5 Jan 2008 05:25:29 -0800 (PST) Unga wrote:
> --- Boris Samorodov <[EMAIL PROTECTED]> wrote:

> > > I'm making a kernel upgrade on 7.0-BETA4 with the
> > > today's sources downloaded by cvsup.
> > 
> > Upgrade to what? (RELENG_7, RELENG_7_0, HEAD, etc.)
> RELENG_7

> > What architecture do you use (i386, amd64, etc.)
> i386

> > Did you use startdard make.conf (i.e. empty)?
> Yep, startdard make.conf.

> cat /etc/make.conf
> # added by use.perl 2007-12-23 12:18:54
> PERL_VER=5.8.8
> PERL_VERSION=5.8.8

> > Did you use GENERIC kernel?
> Yep, its GENERIC.

Hm, all this is just plain generic...

> > > make installworld fails with following error:

...but none should be compiled at installworld stage:

> > > cc -O2 -fno-strict-aliasing -pipe 
> > > -I/usr/src/lib/csu/i386-elf/../common  -I/usr
> > > /src/lib/csu/i386-elf/../../libc/include
> > > -Wsystem-headers -Wall -Wno-format-y2k
> > > -W -Wno-unused-parameter -Wstrict-prototypes
> > > -Wmissing-prototypes -Wpointer-arit
> > > h -Wreturn-type -Wcast-qual -Wwrite-strings
> > -Wswitch
> > > -Wshadow -Wcast-align -Wunu
> > > sed-parameter -Wchar-subscripts -Winline
> > > -Wnested-externs -Wredundant-decls -Wno
> > > -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c
> > > /usr/src/lib/csu/i386-elf/crt1.c:33:20: error:
> > > stdlib.h: No such file or directory
> > > In file included from
> > > /usr/src/lib/csu/i386-elf/crt1.c:35:
> > >
> >
> /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:178:24:
> > > error: sys/_types.h: No such file or directory
> > 
> > This may be caused by incorrect system clocks.
> >
> My CMOS and date matches, date shows the time-zone

Did you by any chance change time while source updating or
world building?

> correctly, therefore, these are the steps I did after
> reboot to singe-user:
> fsck -p
> mount -u /
> mount -a
> swapon -a

> /usr/local/bin/bash

> cd /usr/src/
> adjkerntz -i

> /usr/src/usr.sbin/mergemaster/mergemaster.sh -p

> env -i make installworld >& installworld.log

This may be an overkill but should do the job:
# rm -r /usr/src /usr/obj
<restore sources>
# cd /usr/src
# make buildworld
# make kernel
# mergemaster -p
# make installworld
# mergemaster -i


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to