*BSD News Article 38734


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!lll-winken.llnl.gov!uwm.edu!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!news.iastate.edu!michaelv
From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [NetBSD 1.0] re-build kernel
Date: 30 Nov 1994 16:29:03 GMT
Organization: HeadCandy Associates... Sweets for the lobes.
Lines: 36
Message-ID: <MICHAELV.94Nov30102914@MindBender.HeadCandy.com>
References: <3bfrd0$hm8@hpscit.sc.hp.com>
NNTP-Posting-Host: mindbender.headcandy.iastate.edu
In-reply-to: ayang@ppg01.sc.hp.com's message of 29 Nov 1994 18:20:16 GMT

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


--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Michael L. VanLoon     michaelv@HeadCandy.com     michaelv@iastate.edu
  Free your mind and your machine -- NetBSD free un*x for PC/Mac/Amiga/etc.
     Working NetBSD ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4c, PC532
               In progress: DEC pmax (MIPS R2k/3k), VAX, Sun4m
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -