Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 16:53:00 +0100
From:      Dennis <4real@home.nl>
To:        freebsd-questions@FreeBSD.org
Subject:   compile errors
Message-ID:  <200301201653.00923.4real@home.nl>

next in thread | raw e-mail | index | archive | help
Hey...

I'm a bsdnewbie trying to make a custom kernel, but when i compile my new=
=20
kernel, i get several undefined reference errors like this:=20

umass.o(.text+0x1ae9): undefined reference to `xpt_done'
umass.o(.text+0x1b03): more undefined references to `xpt_done' follow
*** Error code 1
Stop in /usr/src/sys/compile/DENNIS.

maybe anyone could track the error?

this is my kernel config:

machine=09=09i386
cpu=09=09I686_CPU
ident=09=09DENNIS
maxusers=090

#makeoptions=09DEBUG=3D-g=09=09#Build kernel with gdb(1) debug symbols

options =09MATH_EMULATE=09=09#Support for x87 emulation
options =09INET=09=09=09#InterNETworking
options =09INET6=09=09=09#IPv6 communications protocols
options =09FFS=09=09=09#Berkeley Fast Filesystem
options =09FFS_ROOT=09=09#FFS usable as root device [keep this!]
options =09SOFTUPDATES=09=09#Enable FFS soft updates support
options =09UFS_DIRHASH=09=09#Improve performance on big directories
options =09MFS=09=09=09#Memory Filesystem
options =09MD_ROOT=09=09=09#MD is a potential root device
options =09NFS=09=09=09#Network Filesystem
options =09NFS_ROOT=09=09#NFS usable as root device, NFS required
options =09MSDOSFS=09=09=09#MSDOS Filesystem
options =09CD9660=09=09=09#ISO 9660 Filesystem
options =09CD9660_ROOT=09=09#CD-ROM usable as root, CD9660 required
options =09PROCFS=09=09=09#Process filesystem
options =09COMPAT_43=09=09#Compatible with BSD 4.3 [KEEP THIS!]
#options =09SCSI_DELAY=3D15000=09#Delay (in ms) before probing SCSI
options =09UCONSOLE=09=09#Allow users to grab the console
options =09USERCONFIG=09=09#boot -c editor
options =09VISUAL_USERCONFIG=09#visual boot -c editor
options =09KTRACE=09=09=09#ktrace(1) support
options =09SYSVSHM=09=09=09#SYSV-style shared memory
options =09SYSVMSG=09=09=09#SYSV-style message queues
options =09SYSVSEM=09=09=09#SYSV-style semaphores
options =09P1003_1B=09=09#Posix P1003_1B real-time extensions
options =09_KPOSIX_PRIORITY_SCHEDULING
options=09=09ICMP_BANDLIM=09=09#Rate limit bad replies
options =09KBD_INSTALL_CDEV=09# install a CDEV entry in /dev
options=09=09AHC_REG_PRETTY_PRINT=09# Print register bitfields in debug
=09=09=09=09=09# output.  Adds ~128k to driver.
options=09=09AHD_REG_PRETTY_PRINT=09# Print register bitfields in debug=20
=09=09=09=09=09# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#options =09SMP=09=09=09# Symmetric MultiProcessor Kernel
#options =09APIC_IO=09=09=09# Symmetric (APIC) I/O

device=09=09isa
device=09=09eisa
device=09=09pci

# Floppy drives
device=09=09fdc0=09at isa? port IO_FD1 irq 6 drq 2
device=09=09fd0=09at fdc0 drive 0
device=09=09fd1=09at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device=09=09fdc0

# ATA and ATAPI devices
device=09=09ata0=09at isa? port IO_WD1 irq 14
device=09=09ata1=09at isa? port IO_WD2 irq 15
device=09=09ata
device=09=09atadisk=09=09=09# ATA disk drives
device=09=09atapicd=09=09=09# ATAPI CDROM drives
#device=09=09atapifd=09=09=09# ATAPI floppy drives
#device=09=09atapist=09=09=09# ATAPI tape drives
options =09ATA_STATIC_ID=09=09#Static device numbering


# atkbdc0 controls both the keyboard and the PS/2 mouse
device=09=09atkbdc0=09at isa? port IO_KBD
device=09=09atkbd0=09at atkbdc? irq 1 flags 0x1
device=09=09psm0=09at atkbdc? irq 12

device=09=09vga0=09at isa?

# splash screen/screen saver
pseudo-device=09splash

# syscons is the default console driver, resembling an SCO console
device=09=09sc0=09at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device=09=09vt0=09at isa?
#options =09XSERVER=09=09=09# support for X server on a vt console
#options =09FAT_CURSOR=09=09# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT =
lines
#options =09PCVT_SCANSET=3D2=09=09# IBM keyboards are non-std

# Floating point support - do not disable.
device=09=09npx0=09at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device=09=09apm0=09at nexus? disable flags 0x20 # Advanced Power Manageme=
nt

# Serial (COM) ports
device=09=09sio0=09at isa? port IO_COM1 flags 0x10 irq 4
device=09=09sio1=09at isa? port IO_COM2 irq 3
device=09=09sio2=09at isa? disable port IO_COM3 irq 5
device=09=09sio3=09at isa? disable port IO_COM4 irq 9

# Parallel port
device=09=09ppc0=09at isa? irq 7
device=09=09ppbus=09=09# Parallel port bus (required)
device=09=09lpt=09=09# Printer
device=09=09plip=09=09# TCP/IP over parallel
device=09=09ppi=09=09# Parallel port interface device
#device=09=09vpo=09=09# Requires scbus and da


# PCI Ethernet NICs.
device=09=09de=09=09# DEC/Intel DC21x4x (``Tulip'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NI=
Cs!
device=09=09miibus=09=09# MII bus support
device=09=09dc=09=09# DEC/Intel 21143 and various workalikes



# Pseudo devices - the number indicates how many units to allocate.
pseudo-device=09loop=09=09# Network loopback
pseudo-device=09ether=09=09# Ethernet support
pseudo-device=09sl=091=09# Kernel SLIP
pseudo-device=09ppp=091=09# Kernel PPP
pseudo-device=09tun=09=09# Packet tunnel.
pseudo-device=09pty=09=09# Pseudo-ttys (telnet etc)
pseudo-device=09md=09=09# Memory "disks"
pseudo-device=09gif=09=09# IPv6 and IPv4 tunneling
pseudo-device=09faith=091=09# IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device=09bpf=09=09#Berkeley packet filter

# USB support
device=09=09uhci=09=09# UHCI PCI->USB interface
device=09=09ohci=09=09# OHCI PCI->USB interface
device=09=09usb=09=09# USB Bus (required)
device=09=09ugen=09=09# Generic
device=09=09uhid=09=09# "Human Interface Devices"
device=09=09ukbd=09=09# Keyboard
device=09=09ulpt=09=09# Printer
device=09=09umass=09=09# Disks/Mass storage - Requires scbus and da
device=09=09ums=09=09# Mouse
device=09=09uscanner=09# Scanners
device=09=09urio=09=09# Diamond Rio MP3 Player

# my soundcard
device=09=09pcm
device=09=09sbc

Greetz Dennis


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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