From owner-freebsd-questions Sun Apr 21 8: 3: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id CABE937B404 for ; Sun, 21 Apr 2002 08:02:54 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id IAA30856; Sun, 21 Apr 2002 08:02:54 -0700 Message-ID: <3CC2D49C.1080509@owt.com> Date: Sun, 21 Apr 2002 08:02:52 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, bartosz@fabianowski.de Subject: Re: Updating to STABLE: buildkernel fails References: <3CC2C225.5090307@fabianowski.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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