Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 10:32:34 -0800
From:      "RTI- Alexey Katz" <alexeyk@retailpro.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   kernel compiling
Message-ID:  <36C1D0C2.A33A7116@retailpro.com>

next in thread | raw e-mail | index | archive | help
Hi there,

I just installed FreeBSD 3.0-RELEASE and tried to recompile kernel.
First of all I installed all sources from CDROM (CD number 1 from
4-disks pack). Then I created custom configuration file naed GREENWITCH
where I turned on ncr0 driver. Then I tried to start "config GREENWITCH"
- it worked. Then I switched to compile/GREENWITCH directory and issued
"make depend". After some time it reported that file scsi/scsiconf.h
referenced in pci/tek390.c can't be found. After examination I've found
that files scsi/scsi*.h referenced in the following files

alpha/tc/esp.c:#include <scsi/scsi_all.h>
alpha/tc/esp.c:#include <scsi/scsiconf.h>
^^^^^^^^ (this one is referenced if compiling for NetBSD, but not for
FreeBSD)
alpha/tc/esp.c:#include <scsi/scsi_message.h>
alpha/tc/tcds_dma.c:#include <scsi/scsi_all.h>
alpha/tc/tcds_dma.c:#include <scsi/scsiconf.h>
dev/dpt/dpt_control.c:#include <scsi/scsiconf.h>
dev/isp/isp_freebsd.h:#include <scsi/scsiconf.h>
i386/isa/aic6360.c:#include <scsi/scsiconf.h>
i386/isa/aic6360.c:#include <scsi/scsi_debug.h>
i386/isa/bs/bsif.h:#include <scsi/scsi_all.h>
i386/isa/bs/bsif.h:#include <scsi/scsiconf.h>
i386/isa/bs/bsif.h:#include <scsi/scsi_disk.h>
i386/isa/bs/bsif.h:#include <scsi/scsi_all.h>
i386/isa/bs/bsif.h:#include <scsi/scsiconf.h>
i386/isa/bs/bsif.h:#include <scsi/scsi_disk.h>
i386/isa/ncr5380.c:#include <scsi/scsiconf.h>
i386/isa/seagate.c:#include <scsi/scsiconf.h>
i386/isa/ultra14f.c:#include <scsi/scsiconf.h>
i386/isa/ultra14f.c:#include <scsi/scsi_debug.h>
i386/isa/wd7000.c:#include <scsi/scsiconf.h>
pci/tek390.c:#include <scsi/scsiconf.h>
^^^^^^^^^^ (this one uses .h file in all configuration)

can't be found simply because directory /usr/src/sys/scsi/ is missing.
I've copied them from my old 2.2.7 system and finally was able to finish
"make depend". But I can't compile - there're some undefined symbols in
pci/tek390.c. I know that ncr driver is not supported by CAM and should
use old SCSI subsystem but I can't find it. I've looked to
ftp://ftp.freebsd.org to /pub/FreeBSD/3.0-STABLE/src/sys/ but there is
no scsi/*.h files. There are cam/scsi/*.h files but the file scsiconf.h
is not there, so I assume that it's not what I'm looking for. Can you
give me any advise where to look?

-- 
Bye
Alexey Kats
alexeyk@retailpro.com

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?36C1D0C2.A33A7116>