From owner-freebsd-scsi Thu Feb 8 15:15:17 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mail2.clarkson.edu (mail2.clarkson.edu [128.153.4.13]) by hub.freebsd.org (Postfix) with SMTP id C697137C157 for ; Thu, 8 Feb 2001 15:14:58 -0800 (PST) Received: (qmail 27736 invoked by uid 0); 8 Feb 2001 23:14:56 -0000 Received: from vador.aoc.clarkson.edu (128.153.130.33) by mail.clarkson.edu with SMTP; 8 Feb 2001 23:14:56 -0000 Date: Thu, 8 Feb 2001 18:13:18 -0500 (EST) From: Todd Cohen X-Sender: cohentl@vador.aoc.clarkson.edu To: freebsd-scsi@freebsd.org Subject: compile error/DC315U Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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