Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 21:59:02 -0500
From:      Bill Moran <wmoran@mail.iowna.com>
To:        kstewart@urx.com
Cc:        anthony <apryan@mail.away.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD4.2-RELEASE kernel rebuilding errors
Message-ID:  <3A665BF6.B8947EB0@mail.iowna.com>
References:  <Pine.BSF.4.21.0101172056530.8204-100000@mail.away.net> <3A665915.BE881396@urx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart wrote:
> 
> anthony wrote:
> >
> >         Hi, I was wondering if anyone might have any suggestions
> >         to this unusal error I have obtained when attempting to
> >         build a new kernel from /usr/src's make buildkernel=APRYAN.
> >         From there I obtained the bellow errors.
> >
> >         Prior to doing it via /usr/src's Makefile, I config'd and
> >         made it manually via /usr/src/sys/compile/APRYAN. 'APRYAN'
> >         being the kernel config.
> >
> >         Since the kernel obviously didnt install via 'make buildkernel',
> >         would the manual way of doing it work? Would I have to recompile
> >         the modules as well?
> >         Thanks in advanced.
> >         -anthony
> >         ERRORS (after the wi install from 'make buildkernel'):
> > ===> wi
> > @ -> /usr/src/sys
> > machine -> /usr/src/sys/i386/include
> > perl @/kern/makedevops.pl -h @/kern/device_if.m
> > perl @/kern/makedevops.pl -h @/kern/bus_if.m
> > rm -f .depend
> > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
> > -I@/../include -I/usr/obj/usr/src/i386/usr/include
> > /usr/src/sys/modules/wi/../../i386/isa/if_wi.c
> > cd /usr/obj/usr/src/sys/APRYAN;  MAKEOBJDIRPREFIX=/usr/obj
> > COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin
> > LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib
> > OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
> > PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
> > DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh
> > /usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> > MACHINE=i386 make KERNEL=kernel all
> > cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> > -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-
> > -I. -I/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -include
> > opt_global.h -elf  -mpreferred-stack-boundary=2
> > /usr/src/sys/i386/i386/locore.s
> 
> Typical message from doing a buildkernel with out doing a buildworld
> first. Buildkernel depends on /usr/obj being populated by the
> buildworld.
> 
> Kent

Would it compile fine by using the handbook method (config, make depend,
make?) without /usr/obj being populated??

-Bill


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?3A665BF6.B8947EB0>