From owner-freebsd-bugs Sun May 5 14:11: 0 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F1A3B37B410 for ; Sun, 5 May 2002 14:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g45LA2e06417; Sun, 5 May 2002 14:10:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 4ABA237B400 for ; Sun, 5 May 2002 14:02:46 -0700 (PDT) Received: from nwww.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g45L46hG080978 for ; Sun, 5 May 2002 14:04:06 -0700 (PDT) (envelope-from nobody@nwww.freebsd.org) Received: (from nobody@localhost) by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g45L46lq080977; Sun, 5 May 2002 14:04:06 -0700 (PDT) Message-Id: <200205052104.g45L46lq080977@nwww.freebsd.org> Date: Sun, 5 May 2002 14:04:06 -0700 (PDT) From: Piet Honkoop To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/37775: netsmb/smb_subr.c needs opt_global.h in SMP environment Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37775 >Category: misc >Synopsis: netsmb/smb_subr.c needs opt_global.h in SMP environment >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 05 14:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Piet Honkoop >Release: 4.6-PRERELEASE >Organization: Wirehub! Internet >Environment: FreeBSD mefisto.wirehub.nl 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #13: Sun May 5 13:02:49 CEST 2002 root@mefisto.wirehub.nl:/usr/obj/usr/src/sys/mefisto i386 >Description: netsmb/smb_subr.c tests for SMP environment as set by kernel options (line 373). As opt_global.h is not included, the produced module will not load on a SMP system. Error: error: module compiled without SMP support >How-To-Repeat: kernel config: options SMP and use a box with > 1 CPU :) >Fix: #include "opt_global.h" (my only problem is that I don't know enough of the kernel include structure to do that without a hard path; /usr/obj/src/sys/ should be in the includepaths, I presume? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message