Date: Mon, 27 Jul 1998 11:52:35 +0930 (CST) From: "Daniel J. O'Connor" <darius@dons.net.au> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/7404: Linux LKM won't compile under -current (easy fix) Message-ID: <199807270222.LAA12166@midget.dons.net.au>
index | next in thread | raw e-mail
>Number: 7404
>Category: kern
>Synopsis: Linux LKM won't compile under -current (easy fix)
>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 Jul 26 19:30:00 PDT 1998
>Last-Modified:
>Originator: Daniel J. O'Connor
>Organization:
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
The -current tree was checked out about 2 weeks ago, updated the Linux emultaor
tree this morning (ie cd /usr/src/sys/i386/linux ; cvs update).
>Description:
Won't compile because opt_linux.h is wanted by linux_util.h.
>How-To-Repeat:
cd /usr/src/lkm/linux
make
>Fix:
Make the #include of opt_linux.h conditional on LKM
*** linux_util.h Mon Jul 27 11:48:14 1998
--- linux_util.h.old Sun Jul 26 13:04:11 1998
***************
*** 39,45 ****
--- 39,47 ----
#ifndef _LINUX_UTIL_H_
#define _LINUX_UTIL_H_
+ #ifndef LKM
#include "opt_linux.h"
+ #endif
#include <vm/vm.h>
#include <vm/vm_param.h>
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807270222.LAA12166>
