NetBSD Problem Report #35855

From wiz@hiro.nih.at  Tue Feb 27 08:43:56 2007
Return-Path: <wiz@hiro.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9420963B8A5
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 27 Feb 2007 08:43:56 +0000 (UTC)
Message-Id: <20070227084352.EEB1D2787549@hiro.nih.at>
Date: Tue, 27 Feb 2007 09:43:52 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: iop/sbp seem to depend on scsi code, but it is not enforced
X-Send-Pr-Version: 3.95

>Number:         35855
>Category:       kern
>Synopsis:       iop/sbp seem to depend on scsi code, but it is not enforced
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 27 08:45:00 +0000 2007
>Last-Modified:  Tue Feb 27 09:01:02 +0000 2007
>Originator:     Thomas Klausner
>Release:        NetBSD 4.99.12
>Organization:
Dis-
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
Compiling a kernel with iop and sbp enabled, but all scsi
stuff removed fails with:
iopsp.o: In function `iopsp_attach':
iopsp.c:(.text+0xb88): undefined reference to `scsi_bustype'
iopsp.c:(.text+0xc2d): undefined reference to `scsiprint'
sbp.o: In function `sbp_scsipi_scan_target':
sbp.c:(.text+0x11f0): undefined reference to `scsi_probe_bus'
sbp.o: In function `sbpattach':
sbp.c:(.text+0x27ae): undefined reference to `scsiprint'
sbp.c:(.text+0x27e7): undefined reference to `scsi_bustype'
>How-To-Repeat:
Remove all SCSI-related stuff from amd64/GENERIC.
>Fix:
Add some dependency somewhere...

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.