NetBSD Problem Report #39991

From www@NetBSD.org  Fri Nov 21 09:41:26 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 972F863BD2D
	for <gnats-bugs@gnats.netbsd.org>; Fri, 21 Nov 2008 09:41:26 +0000 (UTC)
Message-Id: <20081121094126.6D03E63B908@narn.NetBSD.org>
Date: Fri, 21 Nov 2008 09:41:26 +0000 (UTC)
From: xtraeme@gmail.com
Reply-To: xtraeme@gmail.com
To: gnats-bugs@NetBSD.org
Subject: modules/compat_linux: build fix
X-Send-Pr-Version: www-1.0

>Number:         39991
>Category:       port-amd64
>Synopsis:       modules/compat_linux: build fix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 21 09:45:00 +0000 2008
>Closed-Date:    Fri Nov 21 10:06:26 +0000 2008
>Last-Modified:  Fri Nov 21 10:10:02 +0000 2008
>Originator:     Juan RP
>Release:        Latest
>Organization:
>Environment:
>Description:
modules/compat_linux doesn't currently build. There's a missing
_KERNEL_OPT ifdef in machine/frameasm.h.
>How-To-Repeat:

>Fix:
Index: frameasm.h
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/include/frameasm.h,v
retrieving revision 1.12
diff -b -u -p -r1.12 frameasm.h
--- frameasm.h  21 Apr 2008 15:15:33 -0000      1.12
+++ frameasm.h  21 Nov 2008 09:41:04 -0000
@@ -2,7 +2,10 @@

 #ifndef _AMD64_MACHINE_FRAMEASM_H
 #define _AMD64_MACHINE_FRAMEASM_H
+
+#ifdef _KERNEL_OPT
 #include "opt_xen.h"
+#endif

 /*
  * Macros to define pushing/popping frames for interrupts, traps

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: ad@NetBSD.org
State-Changed-When: Fri, 21 Nov 2008 10:06:26 +0000
State-Changed-Why:
fixed, thanks


From: Andrew Doran <ad@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39991 CVS commit: src/sys/arch/amd64/include
Date: Fri, 21 Nov 2008 10:05:41 +0000 (UTC)

 Module Name:	src
 Committed By:	ad
 Date:		Fri Nov 21 10:05:41 UTC 2008

 Modified Files:
 	src/sys/arch/amd64/include: frameasm.h

 Log Message:
 PR port-amd64/39991 modules/compat_linux: build fix


 To generate a diff of this commit:
 cvs rdiff -r1.12 -r1.13 src/sys/arch/amd64/include/frameasm.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>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.