From owner-freebsd-questions Wed Feb 10 10:32:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00943 for freebsd-questions-outgoing; Wed, 10 Feb 1999 10:32:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from clavin.retailpro.com ([204.86.245.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00936 for ; Wed, 10 Feb 1999 10:32:35 -0800 (PST) (envelope-from alexeyk@retailpro.com) Received: from retailpro.com ([204.86.245.4]) by clavin.retailpro.com (Netscape Messaging Server 3.6) with ESMTP id 237 for ; Wed, 10 Feb 1999 10:34:37 -0800 Message-ID: <36C1D0C2.A33A7116@retailpro.com> Date: Wed, 10 Feb 1999 10:32:34 -0800 From: "RTI- Alexey Katz" Organization: RTI X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: kernel compiling Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 alpha/tc/esp.c:#include ^^^^^^^^ (this one is referenced if compiling for NetBSD, but not for FreeBSD) alpha/tc/esp.c:#include alpha/tc/tcds_dma.c:#include alpha/tc/tcds_dma.c:#include dev/dpt/dpt_control.c:#include dev/isp/isp_freebsd.h:#include i386/isa/aic6360.c:#include i386/isa/aic6360.c:#include i386/isa/bs/bsif.h:#include i386/isa/bs/bsif.h:#include i386/isa/bs/bsif.h:#include i386/isa/bs/bsif.h:#include i386/isa/bs/bsif.h:#include i386/isa/bs/bsif.h:#include i386/isa/ncr5380.c:#include i386/isa/seagate.c:#include i386/isa/ultra14f.c:#include i386/isa/ultra14f.c:#include i386/isa/wd7000.c:#include pci/tek390.c:#include ^^^^^^^^^^ (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