Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 08:02:52 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@FreeBSD.ORG, bartosz@fabianowski.de
Subject:   Re: Updating to STABLE: buildkernel fails
Message-ID:  <3CC2D49C.1080509@owt.com>
References:  <3CC2C225.5090307@fabianowski.de>

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


Bartosz Fabianowski wrote:

> Hi,
> 
> I have been trying to update my system from 4.5 release to 4.x stable 
> and I ran into a problem I can't solve.
> 
> I was working on a fresh, clean install of FreeBSD with no XFree86. 
> First, I updated the source to RELENG_4 via CVSup and then I ran 
> buildworld, as described in chapter 19.4 of the FreeBSD handbook. I 
> built everything except for games (don't need them), ISDN 4 BSD (don't 
> need it) and Kerberos (no clue what it's for / guess I don't need it).
> 
> Much to my surprise, buildworld took only 30 minutes. It finished with:
> 
> ===> etc
> ===> etc/sendmail
> rm -f freebsd.cf
> (cd /usr/src/etc/sendmail &&  m4 
> -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ 
> /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) > 
> freebsd.cf
> chmod 444 freebsd.cf
> 
> I have no clue if that is a proper finish or if something went wrong, 
> but since I didn't see any errors, I went on to compile a new kernel.
> 
> I cd'd into /usr/src and ran make buildkernel. After a while, it failed 
> with:
> 
> ===> smbfs
> @ -> /usr/src/sys
> machine -> /usr/src/sys/i386/include
> perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
> touch opt_inet.h
> echo "#define INET 1" > opt_inet.h
> touch opt_ipx.h
> echo "#define NETSMB    1"  > opt_netsmb.h
> echo "#define NETSMBCRYPTO 1" >> opt_netsmb.h
> touch opt_smbfs.h
> touch opt_vmpage.h
> perl @/kern/makeops.pl -h @/libkern/iconv_converter_if.m
> make: don't know how to make des_enc.S. Stop
> *** Error code 2
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> I would be very thankful if anybody could give me any hints as to what 
> went wrong and what I can do to fix this.


You did not cvsup the full src. You need to use src-all. You used the 
old break down and that is no longer complete. If you are going to 
break the distribution down, you have to use what is in 
/usr/share/examples/cvsup/stable-supfile, which adds src-sys-crypto.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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