Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!news.acsu.buffalo.edu!newsstand.cit.cornell.edu!portc01.blue.aol.com!news-e2a.gnn.com!howland.erols.net!newsfeed.internetmci.com!news-in2.uu.net!news.htp.net!vangogh.wic.net!ockers From: ockers@vangogh.wic.net (Jim Ockers) Newsgroups: comp.unix.bsd.bsdi.misc Subject: can't compile BSDI kernel without libkern.a! Date: 12 Oct 1996 17:12:50 GMT Organization: HTP Net, Inc. 516-757-2599 Lines: 69 Message-ID: <53ojii$eee@news.htp.net> NNTP-Posting-Host: vangogh.wic.net X-Newsreader: TIN [version 1.2 PL2] 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