Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 1996 18:02:22 -0500 (EST)
From:      jlrobins@zappa.cs.uncc.edu (James Robinson)
To:        freebsd-questions@freebsd.org
Subject:   Problem compiling stable kernel -- memcmp
Message-ID:  <9602212302.AA07134@zappa.cs.uncc.edu>

next in thread | raw e-mail | index | archive | help
Here's the gist of it (stable sup as of a ~Feb 20?):

loading kernel
scsi_base.o: Undefined symbol `_memcmp' referenced from text segment
*** Error code 1

I've worked around this in the past by simply writing a memcmp into
scsi_base.c. There's got to be a better way! Anyone else see this?


Here's the config file:

machine         "i386"
cpu             "I586_CPU"
ident           sofa
maxusers 15


options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         "SCSI_DELAY=15"         #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         "COMPAT_LINUX"
options         "COMPAT_IBCS2"

options         USER_LDT
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         KTRACE                  #kernel tracing
pseudo-device   bpfilter        1       #Berkeley packet filter
pseudo-device   vn              #Vnode driver (turns a file into a device)
options         "AUTO_EOI_1"


config          kernel  root on sd0 

controller      isa0
controller      pci0

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
tape            ft0     at fdc0 drive 2

controller      ncr0

controller      scbus0
device          sd0
device          st0
device          cd0


# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
#options                "PCVT_FREEBSD=210"      # pcvt running on FreeBSD 2.1
#options                XSERVER                 # include code for XFree86

device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr

#Sound card stuff
controller snd0
device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
options "SBC_IRQ=5"
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330


# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0 at isa? port 0x280 net irq  15 iomem 0xd0000 vector edintr

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   ppp     1
pseudo-device   slip    1
pseudo-device   tun     1
# ijppp uses tun instead of ppp device
pseudo-device   pty     16
pseudo-device   gzip


Thanks!
James




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602212302.AA07134>