DragonFly BSD
DragonFly bugs List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Kernel compile returns error regarding SCSI emulation. Details included.


From: "K. G. Suarez" <kgs245@xxxxxxxxxxxxx>
Date: Sat, 31 Jul 2004 17:59:18 -0400

Hello everyone.

I installed DragonFly yesterday afternoon and had spent most of the evening waiting for the updating to finish. While running running "make buildkernel KERNCONF=KOCHAVIT" I received an error:

/*****************************START*******************************/

'

atapi-cam.o: In function `cam_rescan':
/usr/src/sys/dev/disk/ata/atapi-cam.c:645: undefined reference to `xpt_periph'
/usr/src/sys/dev/disk/ata/atapi-cam.c:645: undefined reference to `xpt_creat_path'
/usr/src/sys/dev/disk/ata/atapi-cam.c:646: undefined reference to `xpt_setup_ccb'


/usr/src/sys/dev/disk/ata/atapi-cam.c:651: undefined reference to `xpt_action'
atapi-cam.o: In function `free_softc':
/usr/src/sys/dev/disk/ata/atapi-cam.c:690: undefined reference to `xpt_free_path'


/usr/src/sys/dev/disk/ata/atapi-cam.c:693: undefined reference to `xpt_bus_deregister'
/usr/src/sys/dev/disk/ata/atapi-cam.c:118: undefined reference to `cam_sim_free'


*** Error code 1

Stop in /usr/obj/usr/src/sys/KOCHAVIT.
*** Error code 1

Stop in /usr/src
Kochatvit#


/****************************END*********************************/


When I reedited my kernel config file and commented out a line that enables SCSI emulation I was able to finish the build, install, and reboot. This is the line, under "# ATA and ATAPI devices":

/*****************************START*******************************/

device atapicam # Emulate ATAPI devices as SCSI via CAM

/*******************************END******************************/

Everything seems to be working fine after removing that line. Does anyone know what could have caused the build error?

--
K. G. Suarez




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]