*BSD News Article 8605


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!monu6!mukluk!bryan
From: bryan@euler.maths.monash.edu.au (Bryan Seng Hpa)
Subject: Compiling new kernel (386BSD) 
Message-ID: <1992Dec8.035717.14397@monu6.cc.monash.edu.au>
Sender: news@monu6.cc.monash.edu.au (Usenet system)
Organization: Monash University
Date: Tue, 8 Dec 1992 03:57:17 GMT
Lines: 52

Having put up with only 4 pty's  and a broken ps and other bugs I tried to compile
a new kernel.

Yes , I know there are sites where I can get the patched binaries but I want to feel like a real sysadmin on my machine - well lots of people have posted to this group claiming success in building a new kernel 

Can anyone give me a novices guide to re-compiling the kernel ?

There must be others out there wanting to know the answer ?

Isn't it a FAQ ? I looked on agate for an answer - no luck.

I have extracted the bin etc and src distributions increased swap space to 30Mb
-now that was in the FAQ on agate- (btw have 8Mb ram and 486DX/33 cpu) and partitioned the 1/2Gb scsi disk to allow 300Mb for 386bsd.

0/ 
1/ tried compiling without the patches just to see if it would work
2/ used the original gcc
3/ copied the GENERICISA config file
4/ did a config,make depend and make

I thought the config and make depend were quite fast

make barfs with the error:

......
loading 386bsd
init_main.o: Undefined symbol _version referenced from text segment
**** Error code 1



Stop.


Can someone explain how to fix this and other probable error messages that will follow ? (these errors never occur in ones I have noticed) 
Is the compiler too pedantic ?
I seem to recall that somebody else posted for help on this but no reply was
posted.

I would like to hear directly by email from anyone who knows - you should post your reply too if you feel that it is of general interest

Well enough waffle. Thanks for any help.


Bryan

------------------------------------------------------------------------------
Bryan Seng Hpa                        email: bryan@mobius.maths.monash.edu.au 
Computer Systems Officer              voice: +61 3 565 4427 
Mathematics Dept, Monash University     fax: +61 3 565 4403 
Clayton, Victoria 3168, Australia       
------------------------------------------------------------------------------