From owner-freebsd-stable Tue Oct 2 8:11:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 3BB8237B40A for ; Tue, 2 Oct 2001 08:11:38 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id f92FB7I48668; Tue, 2 Oct 2001 18:11:07 +0300 (EEST) (envelope-from ru) Date: Tue, 2 Oct 2001 18:11:07 +0300 From: Ruslan Ermilov To: "Peter C. Verhage" Cc: stable@FreeBSD.ORG Subject: Re: Buildworld troubles (libcrypt related?!) Message-ID: <20011002181107.A45799@sunbay.com> References: <00a401c14b51$70aa55d0$0200000a@peter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00a401c14b51$70aa55d0$0200000a@peter>; from peter@no-nonsense.org on Tue, Oct 02, 2001 at 04:49:29PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmm, apparently your /usr/lib/libcrypt.a is broken. libcrypt compiles version of md5.c from lib/libmd that has this functions: # nm /usr/lib/libcrypt.a | grep MD5Init U __MD5Init 00000000 T __MD5Init I bet your output doesn't have the "T" line. Fix your /usr/lib/libcrypt.a first, then try again. Even back in crypto-restricted times, both libdescrypt.a and libscrypt.a had this compiled in. On Tue, Oct 02, 2001 at 04:49:29PM +0200, Peter C. Verhage wrote: > Hi, > > I wanted to update my FreeBSD 4.3 STABLE system to 4.4 STABLE today. > Unfortunately I have some troubles doing this. I've CVSupped the source tree > and removed /usr/obj, but when I do a make buildworld (-j4 or without -j4) I > keep getting stuck with building the static perl library. It has something > to do with libcrypt.a, at least that is what I think as I look at the > errors. > > The errors I keep getting: > -------------------------- > building static perl library > ranlib libperl.a > cd /usr/src/gnu/usr.bin/perl/miniperl && make build-tools > rm -f .depend /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/GPATH > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/GRTAGS > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/GSYMS > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/GTAGS > cd /usr/src/gnu/usr.bin/perl/miniperl && make miniperl > ln -sf /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/op.c > opmini.c > Extracting config.h (with variable substitutions) > cc -O -pipe -march=pentiumpro -I/usr/src/gnu/usr.bin/perl/miniperl/../../../ > ../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -c > /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/miniperlmain.c > cc -O -pipe -march=pentiumpro -I/usr/src/gnu/usr.bin/perl/miniperl/../../../ > ../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -c opmini.c > cc -O -pipe -march=pentiumpro -I/usr/src/gnu/usr.bin/perl/miniperl/../../../ > ../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -L/usr/obj > /usr/src/gnu/usr.bin/perl/miniperl/../libperl -static -o miniperl > miniperlmain.o opmini.o > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm -lcrypt > -lutil > /usr/lib/libcrypt.a(crypt-md5.o): In function `crypt_md5': > crypt-md5.o(.text+0xbc): undefined reference to `__MD5Init' > crypt-md5.o(.text+0xdc): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x101): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x117): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x129): undefined reference to `__MD5Init' > crypt-md5.o(.text+0x149): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x162): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x182): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x192): undefined reference to `__MD5Final' > crypt-md5.o(.text+0x1cd): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x22f): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x289): undefined reference to `__MD5Final' > crypt-md5.o(.text+0x2a9): undefined reference to `__MD5Init' > crypt-md5.o(.text+0x2e2): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x316): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x35b): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x394): undefined reference to `__MD5Update' > crypt-md5.o(.text+0x3a7): undefined reference to `__MD5Final' > *** Error code 1 > 1 error > *** Error code 2 > 1 error > etc. > > /etc/make.conf (build 4.3 STABLE with the same make.conf btw) > -------------- > CPUTYPE=i686 > CFLAGS= -O -pipe > COPTFLAGS= -O -pipe > NOPROFILE= true > > Could this be related to some issues I had recently which caused some file > to be erased (including libcrypt.a)? (but I installed libcrypt.a again by > going to the proper /usr/src / /usr/obj directory and do a make install > again (with the old source/object files) and everything which needed > libcrypt.a ran fine again.) > > Or is there something else going wrong? Bad source, or something totally > different...? > > Regards, > > Peter -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message