Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 16:49:29 +0200
From:      "Peter C. Verhage" <peter@no-nonsense.org>
To:        <stable@freebsd.org>
Subject:   Buildworld troubles (libcrypt related?!)
Message-ID:  <00a401c14b51$70aa55d0$0200000a@peter>

next in thread | raw e-mail | index | archive | help
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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a401c14b51$70aa55d0$0200000a>