Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 12:45:28 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-questions@FreeBSD.org
Cc:        af@spb.cityline.ru
Subject:   Re: make fails
Message-ID:  <20010721124528.L60521@everest.wananchi.com>
In-Reply-To: <3B594624.9060702@spb.cityline.ru>
References:  <3B594624.9060702@spb.cityline.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
* Anton Fedotow <af@spb.cityline.ru> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010721124528.L60521>