[257] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: arla 0.9 : cannot compile on linux

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Tue Sep 15 11:35:15 1998

From owner-arla-drinkers@stacken.kth.se Tue Sep 15 15:35:14 1998
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 25685 invoked from network); 15 Sep 1998 15:35:13 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 15 Sep 1998 15:35:13 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id RAA13388
	for arla-drinkers-list; Tue, 15 Sep 1998 17:29:13 +0200 (MET DST)
Received: from tux.mit.edu (amu@TUX.MIT.EDU [18.239.1.134])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id RAA13381
	for <arla-drinkers@stacken.kth.se>; Tue, 15 Sep 1998 17:29:06 +0200 (MET DST)
Received: (from amu@localhost)
	by tux.mit.edu (8.8.7/8.8.7) id LAA06762;
	Tue, 15 Sep 1998 11:28:41 -0400
To: Love <lha@elixir.e.kth.se>
Cc: mc8644.com@mclink.it, arla-drinkers@stacken.kth.se
Subject: Re: arla 0.9 : cannot compile on linux
References: <arla-drinkers:255@unknown-discuss-server>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: amu@mit.edu (Aaron M. Ucko)
Date: 15 Sep 1998 11:28:41 -0400
In-Reply-To: Love's message of "15 Sep 1998 17:08:48 +0200"
Message-ID: <udlk935v1hy.fsf@tux.mit.edu>
Lines: 44
X-Mailer: Gnus v5.6.43/Emacs 20.3
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

<lha@elexir.e.kth.se> (Love) writes:

> --- xfs_locl.h  1998/07/19 01:24:38     1.15
> +++ xfs_locl.h  1998/09/15 14:54:20
> @@ -44,7 +44,9 @@
>  #endif
>  
>  #include <linux/version.h>
> +#ifdef HAVE_LINUX_MODVERSIONS_H
>  #include <linux/modversions.h>
> +#endif
>  #include <linux/errno.h>
>  #include <linux/fs.h>
>  #include <linux/malloc.h>

I believe the recommended approach is more along the lines of

--- /home/amu/arla-0.9/xfs/linux/xfs_locl.h	Thu Jul 30 20:07:29 1998
+++ xfs_locl.h	Tue Sep 15 11:26:12 1998
@@ -43,8 +43,11 @@
 #include <config.h>
 #endif
 
-#include <linux/version.h>
-#include <linux/modversions.h>
+#ifdef HAVE_LINUX_MODVERSIONS_H
+#define MODVERSIONS
+#endif
+
+#include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/fs.h>
 #include <linux/malloc.h>
@@ -52,7 +55,6 @@
 #include <linux/stat.h>
 #include <linux/string.h>
 #include <linux/locks.h>
-#include <linux/module.h>
 
 #if LINUX_VERSION_CODE > 131238
 #define LINUX2_1 1

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

home help back first fref pref prev next nref lref last post