Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 14:04:06 -0700 (PDT)
From:      Piet Honkoop <piet.honkoop@softcontrol.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/37775: netsmb/smb_subr.c needs opt_global.h in SMP environment
Message-ID:  <200205052104.g45L46lq080977@nwww.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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/<kernelname> 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




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