*BSD News Article 38612


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!agate!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: [NetBSD 1.0] re-build kernel
Date: 29 Nov 1994 18:20:16 GMT
Organization: Hewlett Packard
Lines: 32
Message-ID: <3bfrd0$hm8@hpscit.sc.hp.com>
NNTP-Posting-Host: ppg01.sc.hp.com
X-Newsreader: TIN [version 1.2 PL1.4]

Hi,

  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
  data segment.  

  Some related files are:
  -  GENERICAHA, it has pseudo_device bpf 16 in it
  -  ioconf.c, it has
     extern void bpfattach __P((int));
     struct pdevinit pdevinit[] = {
              ...
            { bdfattach, 16 },
              ...
  -  ~/sys/net/bpf.c has the bpfattach() function defined.
  
  Was I missing something?  I do want the bpf functionalities.

  Thanks in advance.

alan
--
  Alan Yang, MS53UFG                 | ayang@ppg01.sc.hp.com
  Hewlett-Packard                    | phone:  (408)553-3752
  5301 Stevens Creek Blvd.           |
  Santa Clara, CA 95052-8059         |