*BSD News Article 80682


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!nntp-hub2.barrnet.net!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!news-peer.gsl.net!news.gsl.net!news-stkh.gsl.net!news.gsl.net!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!nntp.uio.no!sn.no!newsfeed.tip.net!news.jos.net!dos.canit.se!seunet!mn7.swip.net!mn6.swip.net!seunet!news2.swip.net
!nike.volvo.se!cyklop.volvo.se!peter
From: peter@cyklop.volvo.se (peter hakanson)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: can't compile BSDI kernel without libkern.a!
Date: 13 Oct 1996 09:05:27 GMT
Organization: Volvo Corp.
Lines: 88
Message-ID: <53qbcn$nje@nike.volvo.se>
References: <53ojii$eee@news.htp.net>
NNTP-Posting-Host: cyklop.volvo.se
X-Newsreader: TIN [version 1.2 PL2]

I guess this will fixed by reinstalling kernel objects from
distribution media.   

You might also (with proper licensing) install from scratch
in a temporary machine just to get a feeling of the admin
for bsd/os. There you could build a new kernel and move to
your target system.

Or even better, use your support "rights" to get 2.1 and install
that instead. Have the goal to reinstall your production
machine to a known state.      

(with > 20 bsdi from 1.0 to 2.1 "in the air" world-wide)
peter h
Jim Ockers (ockers@vangogh.wic.net) wrote:
: Hi all,

: I inherited an admin nightmare: a BSDI 2.0.0 system that was installed by
: someone who doesn't know much about unix, and which I can't reinstall
: everything on because it is a production system and can't be taken down.

: I am attempting to recompile the kernel to fix some of the problems that
: BSDI has addressed in the K200-* series of patches.  Unfortunately, the
: compile fails because there is no libkern.a .  (See typescript output
: attached after my sig.)  The file I need is /sys/libkern/obj/libkern.a .

: I can't make libkern.a because apparently these guys don't have a source
: license; I can't find that file anywhere on the CD nor are the source files
: (listed in the libkern Makefile) found anywhere on disk or on the CD.  

: Can anyone PLEASE help me to understand a) where do I get libkern.a or
: b) where do I get the source files, including adddi3.c, to make libkern.a
: myself?  I have done admin work on other unixes but this is my first BSDI
: job and there are some things I may not understand about this..  I'm attemp-
: ting to follow the instructions in the book, which seem to make sense, but
: they do not work given the absence of libkern.a .

: --
: Jim  (ockers@davidalan.com)                  Ask me about Linux!

: My own site!            Check out http://ducktape.davidalan.com/
: Contact info:           finger info@ockers.org


: Script started on Sat Oct 12 11:02:28 1996

: [1] vangogh.wic.net:/ockers > cd /sys/i386/conf
: [2] vangogh.wic.net:/usr/src/sys/i386/conf > cp GENERIC LOCAL
: overwrite LOCAL? y
: [3] vangogh.wic.net:/usr/src/sys/i386/conf > config LOCAL
: Don't forget to run "make depend"
: [4] vangogh.wic.net:/usr/src/sys/i386/conf > make depend
: make: don't know how to make depend. Stop

: [5] vangogh.wic.net:/usr/src/sys/compile/LOCAL > cd /sys/libkern
: [6] vangogh.wic.net:/usr/src/sys/libkern > make obj
: /usr/src/sys/libkern -> /usr/obj/sys/libkern
: [7] vangogh.wic.net:/usr/src/sys/libkern > make depend
: make: don't know how to make adddi3.c. Stop

: [8] vangogh.wic.net:/usr/src/sys/libkern > cd /sys/compile/LOCAL
: [9] vangogh.wic.net:/usr/src/sys/compile/LOCAL > make clean
: rm -f eddep *bsd bsd.gdb genassym *.o [a-z]*.s  Errs errs linterrs makelinks

: [10] vangogh.wic.net:/usr/src/sys/compile/LOCAL > make depend
: [5 successful make-depend lines deleted]

: [11] vangogh.wic.net:/usr/src/sys/compile/LOCAL > make

: [LOTS of successful compile stuff deleted]

: ln -s ../../libkern/obj/libkern.a libkern.a
: *** ../../libkern/obj/libkern.a must be built before kernel
: do:
:         cd ../../libkern
:         make depend
:         make
: *** Error code 1

: Stop.
: [10] vangogh.wic.net:/usr/src/sys/compile/LOCAL > exit

: Script done on Sat Oct 12 11:06:41 1996


--
--
Peter Hakanson  VolvoData Dep 2580 phone +46 31 66 74 27