Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 1998 10:36:33 -0400 (EDT)
From:      "Viren R. Shah" <viren@rstcorp.com>
To:        dag-erli@ifi.uio.no (Dag-Erling =?ISO-8859-1?Q?Co=EFdanSm=F8rgrav?= )
Cc:        current@FreeBSD.ORG
Subject:   Re:Upgrading 2.2.2 to 3.0
Message-ID:  <199809131436.KAA22040@jabberwock.rstcorp.com>
In-Reply-To: <xzpogskxr99.fsf@hrotti.ifi.uio.no>
References:  <xzpogskxr99.fsf@hrotti.ifi.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "DES" == Dag-Erling =?iso-8859-1?Q?Co=EFdan?= =?iso-8859-1?Q?Sm=F8rgrav?= <dag-erli@ifi.uio.no> writes:

 DES> I've tried (as an experiment) running make aout-to-elf on a stock
 DES> 2.2.2 box, but it stops while bootstrap make, complaining about an
 DES> 'undefined symbol _sysctlbyname'. Has anyone had any success upgrading
 DES> directly? Does anyone have time to try and make it work, then mail me
 DES> a detailed account of the procedure and results? (In the meantime, I'm
 DES> trying to upgrade it to -stable first, and from there to -current)

I'm currently trying to upgrade my 2.2.7-STABLE box to -current using
the "make aout-to-elf-build" target. It successfully completes the
aout build, then errors out in the elf build with a problem in
building perl. This was happenning for the last couple of days. I just
cvsup'ed today at 10:00am EST, and am now trying again. I'll let you
know how it goes. I did not have a problem with bootstrapping make.

Updating to -stable and trying it should allow you to bootstrap make
successfully. 

Here's the place where the elf part of the build stops on so far:

Writing Makefile for DynaLoader
mkdir /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader
/usr/obj/aout/usr/src/tmp/usr/bin/miniperl -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib DynaLoader_pm.PL
cp DynaLoader.pm /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/DynaLoader.pm
AutoSplitting /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/DynaLoader.pm (/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader)
cp dl_dlopen.xs DynaLoader.xs
/usr/obj/aout/usr/src/tmp/usr/bin/miniperl -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/ExtUtils/xsubpp -noprototypes -typemap /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/ExtUtils/typemap DynaLoader.xs >xstmp.c && mv xstmp.c DynaLoader.c
cc -c   -O     -DVERSION=\"1.03\"  -DXS_VERSION=\"1.03\" -DPIC -fpic -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl -DPERL_CORE -DLIBC="" DynaLoader.c
rm -rf /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader/DynaLoader.a
ar cr /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && /usr/bin/ranlib /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader/DynaLoader.a
chmod 755 /usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/lib/auto/DynaLoader/DynaLoader.a
cc -O -pipe -I/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5 -I/usr/obj/elf/home/FreeBSD/current-src/src/gnu/usr.bin/perl/perl   -I/usr/obj/elf/usr/src/tmp/usr/include  -o perl perlmain.o  lib/auto/DynaLoader/DynaLoader.a -lperl -lm -lcrypt
*** Error code 1

Stop.


 DES> DES


Viren
-- 
Viren R. Shah                  | viren@rstcorp.com
Research Associate             | viren@viren.org
Reliable Software Technologies | http://www.rstcorp.com/~vshah


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809131436.KAA22040>