[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

port-mac68k/2860: Undefined symbol _nfsbootdevname (fwd)



Does anyone see a problem with changing the dependence for
nfs_boot.c:nfsbootdevname to #if NFSCLIENT instead of #if NETHER > 0?
Does it really require ethernet, or would it work over some other
interface (perhaps with some more work)?

-allen

Forwarded message:
> From: paul_(_at_)_pgoyette_(_dot_)_bdt_(_dot_)_com
> To: gnats-bugs_(_at_)_gnats_(_dot_)_netbsd_(_dot_)_org
> Subject: port-mac68k/2860: Undefined symbol _nfsbootdevname
> 
> 
> >Number:         2860
> >Category:       port-mac68k
> >Synopsis:       Undefined symbol _nfsbootdevname
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    gnats-admin (GNATS administrator)
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Fri Oct 18 00:20:06 1996
> >Last-Modified:
> >Originator:     Paul Goyette
> >Organization:
> >Release:        1.2A
> >Environment:
> System: NetBSD pgoyette.bdt.com 1.2 NetBSD 1.2 (PGOYETTE) #92: Sun Sep 22 17:26:40 PDT 1996 paul_(_at_)_pgoyette_(_dot_)_bdt_(_dot_)_com:/home/paul/src/sys/arch/mac68k/compile/PGOYETTE mac68k
> 
> 
> >Description:
> Symbol _nfsbootdevname is defined in src/sys/nfs/nfs_boot.c only if NETHER
> is non-zero.  But src/sys/arch/mac68k/mac68k/autoconf.c references the
> symbol if NFSCLIENT is defined, regardless of NETHER.  This results in an
> undefined symbol in the linker if the kernel was built with NFSCLIENT but
> without any Ethernet interface.
> >How-To-Repeat:
> See above.
> >Fix:
> The following patch modifies autoconf.c to not reference the symbol unless
> an Ethernet interface was configured.  This is probably not the best 
> solution, but at least it let's you build the kernel.  :)
> 
> A more correct solution would probably be to define the symbol whenever
> NFSCLIENT is selected, regardless of whether an Ethernet interface is
> configured.


Visit your host, monkey.org