Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!lll-winken.llnl.gov!sol.ctr.columbia.edu!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!apollo.hp.com!lf.hp.com!hpscit.sc.hp.com!ayang From: ayang@ppg01.sc.hp.com (Alan Yang) Newsgroups: comp.os.386bsd.questions Subject: Re: [NetBSD 1.0] re-build kernel Date: 1 Dec 1994 19:21:18 GMT Organization: Hewlett Packard Lines: 43 Message-ID: <3bl7ne$f14@hpscit.sc.hp.com> References: <3bfrd0$hm8@hpscit.sc.hp.com> <MICHAELV.94Nov30102914@MindBender.HeadCandy.com> NNTP-Posting-Host: ppg01.sc.hp.com X-Newsreader: TIN [version 1.2 PL1.4] Michael L. VanLoon (michaelv@MindBender.HeadCandy.com) wrote: : In article <3bfrd0$hm8@hpscit.sc.hp.com> ayang@ppg01.sc.hp.com (Alan Yang) writes: : Trying to rebuild the NetBSD 1.0 kernel, I ran into the : following error. Can somebody shed some lights? Really : appreciate! : The linking of netbsd failed. The ioconf.o has an undefined : symbol. It outputs something like: : "ioconf.o: Undefined symbol '_bpfattach' referenced from : Did you ``make clean'' before trying to build a new kernel? This is : necessary if the sources have changed, your you change the config : file. Did you ``make depend'' after doing ``config KERNEL'', and : before doing ``make''? : The steps are: : cd /sys/arch/i386/conf : # edit CONFIGFILE : # if CONFIGFILE changed : cd /sys/arch/i386/compile/CONFIGFILE : make clean : cd /sys/arch/i386/conf : # do this no matter what : config CONFIGFILE : cd /sys/arch/i386/compile/CONFIGFILE : make depend all Yes, I did the above. Everything went fine except the final linking of netbsd. Few things do look peculiar: 1. why '_bpfattach' is an undefined symbol in data segment instead of text? 2. bpf.o has only 93 bytes in size after the compiling. Is that the correct object? alan -- Alan Yang, MS53UFG | ayang@ppg01.sc.hp.com Hewlett-Packard | phone: (408)553-3752 5301 Stevens Creek Blvd. | Santa Clara, CA 95052-8059 |