Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!yarrina.connect.com.au!harbinger.cc.monash.edu.au!msuinfo!agate!deep.rsoft.bc.ca!giant!a09878 From: a09878@giant.rsoft.bc.ca (Curt Sampson) Newsgroups: comp.os.386bsd.bugs Subject: iso_localifa() used when ISO not defined? Date: 3 Dec 93 03:45:51 GMT Organization: MIND LINK! Communications Corp Lines: 152 Message-ID: <a09878.754890351@giant> NNTP-Posting-Host: giant.rsoft.bc.ca I'm trying to compile a kernel for a friend, and I'm having a strange problem. The source set I'm using, which is a tar archive from sun-lamp's NetBSD-current a couple of weeks old, works fine for me. However, my friend's configuration fails. I'm wondering if anyone has or can suggust a fix for it. His configuration definitions do not produce a file configuration with ISO defined. Thus, the routine iso_localifa() in netiso/iso.c is not compiled into an object file. Unfortunately, this routine is called from line 572 of netiso/tp_subr2.c, even if ISO isn't defined. So of course the link fails. Here are the version strings for the two files: $Id: iso.c,v 1.2 1993/05/20 05:27:13 cgd Exp $ $Id: tp_subr2.c,v 1.3 1993/09/06 18:08:02 mycroft Exp $ These are the latest versions of these two files on agate as of the time of posting this article. The config file is appended. Thanks for any help you can give. cjs ---8<---8<---8<---cut here---8<---8<---8< # # LIEZOLA -- Mike Leizola's system # # GENERICAHA,v 1.20.2.3 1993/08/05 02:45:02 cgd Exp # # Revision History: # 93.11.28 mb Derived from ??? # 93.12.02 cjs Changed for new ed0 driver, removed ISOFS (you can't use a # CD-ROM w/o a SCSI driver!), added xxxPAGER options, added # ISO definitions. # machine "i386" cpu "I386_CPU" cpu "I486_CPU" ident LEIZOLA timezone 8 dst maxusers 10 options SWAPPAGER,VNODEPAGER,DEVPAGER options INET,NFSCLIENT,NFSSERVER options NFS options TPIP options "COMPAT_43" options "TCP_COMPAT_42" options XSERVER,UCONSOLE options MSDOSFS options KERNFS,FDESC,DDB options "MATH_EMULATE" options "COMPAT_NOMID" # I think that there's a bug in the code that means this has to be defined. # I don't know what defines it in my config file that isn't in this one # however. :-( -cjs 93.12.02 # #options ISO config netbsd root on wd0 swap on wd0 controller isa0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 #controller aha0 at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr #disk sd0 at aha0 flags 0 drive ? #disk sd1 at aha0 flags 0 drive ? #disk sd2 at aha0 flags 0 drive ? #disk sd3 at aha0 flags 0 drive ? #tape st0 at aha0 flags 1 drive ? #tape st1 at aha0 flags 1 drive ? #disk cd0 at aha0 flags 2 drive ? #disk cd1 at aha0 flags 2 drive ? #controller uha0 at isa? port "IO_UHA0" bio irq 11 drq 5 vector uhaintr #disk sd0 at uha0 flags 0 drive ? #disk sd1 at uha0 flags 0 drive ? #disk sd2 at uha0 flags 0 drive ? #disk sd3 at uha0 flags 0 drive ? #tape st0 at uha0 flags 1 drive ? #tape st1 at uha0 flags 1 drive ? #disk cd0 at uha0 flags 2 drive ? #disk cd1 at uha0 flags 2 drive ? device pc0 at isa? port "IO_KBD" tty irq 1 vector pcrint device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device com0 at isa? port "IO_COM1" tty irq 4 vector comintr device com1 at isa? port "IO_COM2" tty irq 3 vector comintr #device com2 at isa? port "IO_COM3" tty irq 5 vector comintr #device com3 at isa? port "IO_COM4" tty irq 9 vector comintr #device lpt0 at isa? port "IO_LPT3" tty irq 7 vector lptintr device lpa0 at isa? port "IO_LPT1" tty #device lpa1 at isa? port "IO_LPT2" tty #device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr #device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr #device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr # ************************************************************************** # this ne0 was Mike's original driver selection. I've replaced it with the # new ed0 device because that seems to be a better driver # #device ne0 at isa? port 0x320 net irq 5 vector neintr device ed0 at isa? port 0x320 net irq 5 vector edintr # ************************************************************************** #device is0 at isa? port 0x320 net irq 10 drq 7 vector isintr #device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr pseudo-device ether pseudo-device log pseudo-device loop pseudo-device pty 4 pseudo-device sl 1 pseudo-device speaker pseudo-device swappager pseudo-device vnodepager pseudo-device devpager -- Curt Sampson a09878@giant.rsoft.bc.ca "There are two major products that come Fluor Daniel 604 691 5458 out of Berkeley: LSD and Unix. We don't 1444 Alberni Street believe this to be a coincidence." Vanouver, B.C., V6G 2Z4 --Jeremey S. Anderson