From owner-freebsd-questions Sat Jul 21 2:45:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from everest.wananchi.com (everest.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id C936C37B401 for ; Sat, 21 Jul 2001 02:45:28 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by everest.wananchi.com with local (Exim 3.31 #5) id 15NtKC-000Lcm-00; Sat, 21 Jul 2001 12:45:28 +0300 Date: Sat, 21 Jul 2001 12:45:28 +0300 From: Odhiambo Washington To: freebsd-questions@FreeBSD.org Cc: af@spb.cityline.ru Subject: Re: make fails Message-ID: <20010721124528.L60521@everest.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@FreeBSD.org, af@spb.cityline.ru References: <3B594624.9060702@spb.cityline.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <3B594624.9060702@spb.cityline.ru> User-Agent: Mutt/1.3.19i X-Disclaimer: My opinions do not necessarily represent those of my employer. X-Operating-System: FreeBSD 4.3-STABLE i386 X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 12:42PM up 19:04, 1 user, load averages: 0.21, 0.16, 0.10 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Anton Fedotow [20010721 12:08]: writing on the subje= ct 'make fails' Anton> Hello! Anton>=20 Anton> when I say "make", I get this: Anton> ----------------- Anton>=20 Anton> linking kernel Anton> umass.o: In function `umass_cam_attach_sim': Anton> umass.o(.text+0x1257): undefined reference to `cam_simq_alloc' Anton> umass.o(.text+0x127d): undefined reference to `cam_sim_alloc' Anton> umass.o(.text+0x1296): undefined reference to `xpt_bus_register' Anton> umass.o(.text+0x12a6): undefined reference to `cam_simq_free' Anton> umass.o: In function `umass_cam_rescan_callback': Anton> umass.o(.text+0x12bf): undefined reference to `xpt_free_path' Anton> umass.o: In function `umass_cam_rescan': Anton> umass.o(.text+0x1309): undefined reference to `xpt_periph' Anton> umass.o(.text+0x1312): undefined reference to `xpt_create_path' Anton> umass.o(.text+0x1325): undefined reference to `xpt_setup_ccb' Anton> umass.o(.text+0x1340): undefined reference to `xpt_action' Anton> umass.o: In function `umass_cam_detach_sim': Anton> umass.o(.text+0x13f7): undefined reference to `xpt_bus_deregister' Anton> umass.o(.text+0x1415): undefined reference to `cam_sim_free' Anton> umass.o: In function `umass_cam_detach': Anton> umass.o(.text+0x1456): undefined reference to `xpt_create_path' Anton> umass.o(.text+0x1477): undefined reference to `xpt_async' Anton> umass.o(.text+0x147f): undefined reference to `xpt_free_path' Anton> umass.o: In function `umass_cam_action': Anton> umass.o(.text+0x179d): undefined reference to `xpt_done' Anton> umass.o(.text+0x17ad): undefined reference to `xpt_done' Anton> umass.o: In function `umass_cam_cb': Anton> umass.o(.text+0x18a1): undefined reference to `xpt_done' Anton> umass.o: In function `umass_cam_sense_cb': Anton> umass.o(.text+0x1918): undefined reference to `xpt_done' Anton> umass.o(.text+0x1929): undefined reference to `xpt_done' Anton> *** Error code 1 Anton>=20 Anton> Stop in /usr/src/sys/compile/NARR1. Anton>=20 Anton>=20 Your problem seems to be that you removed an important section of the kernel that is required. umass requires scbus which you seem not to have! =46rom GENERIC, there is this section # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) Try to add those to your kernel filr and recompile. Hope that helps. -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. Fear is that little darkroom where negatives are developed.=20 -Michael Pritchard=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message