Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 18:13:18 -0500 (EST)
From:      Todd Cohen <cohentl@clarkson.edu>
To:        freebsd-scsi@freebsd.org
Subject:   compile error/DC315U
Message-ID:  <Pine.GSO.4.10.10102081812080.5687-100000@vador.aoc.clarkson.edu>

next in thread | raw e-mail | index | archive | help
I figured I'd forward this here since someone else may be able to help.
Sorry if it's not on-topic enough.

-Todd

---------- Forwarded message ----------
Date: Wed, 7 Feb 2001 18:43:14 -0500 (EST)
From: Todd Cohen <cohentl@clarkson.edu>
To: erich@tekram.com.tw
Subject: compile error

Hi,
	I'm trying to compile in support for my DC315U into FreeBSD
4.2-STABLE. I used the files you sent me in an e-mail a few weeks ago and
made the following changes:

I copied dc395x_trm.c and dc395x_trm.h to /usr/src/sys/pci

I added the following to /usr/src/sys/conf/files

pci/dc395x_trm.c        optional tekram_trm 

(NOTE: I removed device-driver, since config complained about it)

I then added the following to the end of my kernel config file
device  tekram_trm0 

when I tried compiling, I got the following error, any ideas on how to fix
this?

-Todd


 cc -c -O -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing
-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions
-ansi  -no
stdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include opt_global.h
-elf 
 -mpreferred-stack-boundary=2  vers.c
linking kernel
dc395x_trm.o: In function `DC395x_trm_ExecuteSRB':
dc395x_trm.o(.text+0x31e): undefined reference to `xpt_done'
dc395x_trm.o: In function `DC395x_trm_action':
dc395x_trm.o(.text+0x58f): undefined reference to `xpt_done'
dc395x_trm.o(.text+0x616): undefined reference to `xpt_freeze_simq'
dc395x_trm.o(.text+0x672): undefined reference to `xpt_done'
dc395x_trm.o(.text+0x94c): undefined reference to `xpt_done'
dc395x_trm.o(.text+0x9b5): undefined reference to `xpt_done'
dc395x_trm.o: In function `DC395x_trm_reset':
dc395x_trm.o(.text+0xbab): undefined reference to `xpt_async'
dc395x_trm.o: In function `DC395x_trm_SetXferRate':
dc395x_trm.o(.text+0x1b3d): undefined reference to `xpt_setup_ccb'
dc395x_trm.o(.text+0x1b4b): undefined reference to `xpt_async'
dc395x_trm.o: In function `DC395x_trm_SRBdone':
dc395x_trm.o(.text+0x217d): undefined reference to `xpt_done'
dc395x_trm.o: In function `DC395x_trm_DoingSRB_Done':
dc395x_trm.o(.text+0x21e0): undefined reference to `xpt_done'
dc395x_trm.o: In function `DC395x_trm_attach':
dc395x_trm.o(.text+0x2fc6): undefined reference to `cam_simq_alloc'
dc395x_trm.o(.text+0x2ffe): undefined reference to `cam_sim_alloc'
dc395x_trm.o(.text+0x3019): undefined reference to `cam_simq_free'
dc395x_trm.o(.text+0x3026): undefined reference to `xpt_bus_register'
dc395x_trm.o(.text+0x3051): undefined reference to `xpt_create_path'
dc395x_trm.o(.text+0x3079): undefined reference to `xpt_bus_deregister'
dc395x_trm.o(.text+0x3083): undefined reference to `cam_sim_free'
*** Error code 1

Stop in /usr/src/sys/compile/TOAD.
supertoad#  


__________________________________________________________________________
ICMP: The protocol that goes PING!    I like angles, but only to a degree.
cthread. cthread_fork(). Fork, thread, fork!             Black holes suck.
http://wckn.clarkson.edu/~cohentl/          Real_men_don't_need_spacebars.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10102081812080.5687-100000>