From owner-freebsd-stable Tue Apr 6 14:51:37 1999 Delivered-To: freebsd-stable@freebsd.org Received: from discover.laker.net (discover.laker.net [205.245.74.3]) by hub.freebsd.org (Postfix) with ESMTP id 648AB14BE0 for ; Tue, 6 Apr 1999 14:51:27 -0700 (PDT) (envelope-from gabriel@discover.laker.net) Received: (from gabriel@localhost) by discover.laker.net (8.9.1/8.9.1-LAKERNET+8.9.1-MOD) id RAA28951 for freebsd-stable@FreeBSD.ORG; Tue, 6 Apr 1999 17:49:28 -0400 From: Gabriel Message-Id: <199904062149.RAA28951@discover.laker.net> Subject: Re: Buildworld problem w/ 2.2.8-19990120-SNAP To: freebsd-stable@FreeBSD.ORG Date: Tue, 6 Apr 1999 17:49:28 -0400 (EDT) Content-Type: text Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello again, I just tried to buildworld on a 2.2.5R box and had the same DES warnings as the 2.2.8-19990120-SNAP box. After fbsd compiled the lkms (2.2.5R), it stopped compiling (w/o any errors). I assume that means it has completed buildworld (a text message saying that Buildworld was completed successfully would have been nice for people who have never built the world before). Can safely I installworld now, or should I worry about those DES errors? The first time I tried buildworld w/ -j4 (this is on a Pentium Classic 166 MHz). Could the ccd.c errors have been caused by the -j4 option? I wiped /usr/obj and avoided using the -j4 option for later buildworld attempts (since I used -DNOLKM, I dont know if removing -j4 fixed the ccd.c errors). > I have been trying to buildworld on FBSD 2.2.8-19990120-SNAP. > I cvsupped before buildworld. > Compilation stopped with many warnings and parse errors when reaching ccd.c: > Here are some of the errors or ccd.c (there were about 160 errors): > > ===> lkm/ccd > --- ccd.h --- > --- vnode_if.h --- > --- ccd.o --- > --- ccd.h --- > echo "#define NCCD 4" > ccd.h > --- vnode_if.h --- > sh /usr/src/lkm/ccd/../../sys/kern/vnode_if.sh /usr/src/lkm/ccd/../../sys/kern/vnode_if.src > --- ccd.o --- > cc -nostdinc -O -pipe -I. -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/ccd/../../sys -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -I/usr/obj/usr/src/tmp/usr/include -DPSEUDO_LKM -c /usr/src/lkm/ccd/../../sys/dev/ccd/ccd.c > /usr/src/lkm/ccd/../../sys/sys/vnode.h: In function `VOP_BMAP': > In file included from /usr/src/lkm/ccd/../../sys/dev/ccd/ccd.c:116: > /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: `V' undeclared (first use this function) > /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: (Each undeclared identifier is reported only once > /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: for each function it appears in.) > /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: parse error before `struct' > /usr/src/lkm/ccd/../../sys/sys/vnode.h:395: warning: nested extern declaration of `bdevvp' > > I don't need lkms, so I wiped out /usr/obj and compiled with -DNOLKM. > > Now it stops compiling here: > > building shared des library (version 3.0) > cp /usr/src/secure/lib/libdes/des_crypt.man des_crypt.3 > gzip -c des_crypt.3 > des_crypt.3.gz > ===> secure/usr.bin > ===> secure/usr.bin/bdes > cc -nostdinc -O -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/secure/usr.bin/bdes/bdes.c > cc -nostdinc -O -pipe -I/usr/obj/usr/src/tmp/usr/include -L/usr/obj/usr/src/secure/usr.bin/bdes/../../lib/libcipher -o bdes bdes.o -lcipher > bdes.o: WARNING! des_setkey(3) not present in the system! > bdes.o: WARNING! des_cipher(3) not present in the system! > gzip -c /usr/src/secure/usr.bin/bdes/bdes.1 > bdes.1.gz > > > I ftped 2.2.8-19990120-SNAP from > ftp://ftp7.de.freebsd.org/pub/FreeBSD/snapshots/i386/2.2.8-19990120-SNAP > > Does this mean that it does not have DES since it came from a non-US ftp > site? > > I selected DES sources during installation and tried reinstalling it later > from /stand/sysinstall. This did not fix the problem. > > I type 'make -DNOLKM buildworld' in /usr/src to buildworld. > If there is a way to fix the problem, can I use -DNOCLEAN or do I have to > recompile from scratch? > Thank you. -- Gabriel ghannawi@cse.fau.edu http://www.laker.net/gabriel ------------------------------------------------------------------------------ Netscrape: We'll make your Plentium crawl, http://www.netscrape.com Windows 95/NT: 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition. (UGU) My brain is backed up on tape... somewhere.. GANTA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message