Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 19:26:36 +0400
From:      "Alexander A. Chistyakov" <salmonNOSPAM@reksoft.ru>
To:        <freebsd-questions@freebsd.org>
Subject:   make buildworld failed when upgrading from 3.4-RELEASE to 4.2-RELEASE
Message-ID:  <NEBBKDGKLJPEIJKEEFHMAENIDFAA.salmonNOSPAM@reksoft.ru>

next in thread | raw e-mail | index | archive | help
Hello,

My current system is FreeBSD 3.4-RELEASE and I plan to upgrade it to 4.2-STABLE. I have to upgrade it to 4.2-RELEASE first, as far
as I know from previous postings. This is because 3.4-RELEASE doesn't upgrade to 4.2-STABLE directly. So, I've cvsup'd my /usr/src
tree to RELENG_4_2_0_RELEASE tag and tried to "make buildworld". Build has failed with following message:

-----------------------------------------
su-2.03# uname -a
FreeBSD XXXXXXX.ru 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Tue Jun 20 18:26:23 GMT 2000
XXXXXX@XXXXXXX.ru:/usr/src/sys/compile/FIREBALL  i386
su-2.03# make buildworld
...........<skipped>...............
building standard 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/GSY
MS /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/GTAGS
cd /usr/src/gnu/usr.bin/perl/miniperl && make miniperl
Extracting config.h (with variable substitutions)
cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/us
r/obj/usr/src/gnu/usr.bin/perl/miniperl   -c /usr/src/gnu/usr.bin/perl/miniperl/
../../../../contrib/perl5/miniperlmain.c
ln -sf /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/op.c opmini.
c
cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/us
r/obj/usr/src/gnu/usr.bin/perl/miniperl   -c opmini.c
cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/us
r/obj/usr/src/gnu/usr.bin/perl/miniperl    -L/usr/obj/usr/src/gnu/usr.bin/perl/m
iniperl/../libperl -static -o miniperl miniperlmain.o opmini.o  /usr/obj/usr/src
/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm -lcrypt -lutil
/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a(pp_hot.o): In fu
nction `Perl_pp_aassign':
pp_hot.o(.text+0x16a1): undefined reference to `setresuid'
pp_hot.o(.text+0x16d4): undefined reference to `setresgid'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
su-2.03#
-----------------------------------------

I think this is because 3.4-RELEASE doesn't upgrade directly to 4.2-RELEASE too. Some libraries are missed as I can guess. What
should I do to fix my current problems? What is the right way to update my system? My system is production server and I can't simply
reinstall FreeBSD from distribution CD.

--
Sincerely yours,
Alexander A. Chistyakov,
mailto:salmonNOSPAM@reksoft.ru, remove NOSPAM in order to avoid delivery errors


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?NEBBKDGKLJPEIJKEEFHMAENIDFAA.salmonNOSPAM>