[878] in arla-drinkers

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

Minor source code bug in Linux port

daemon@ATHENA.MIT.EDU (Jon Leonard)
Fri Jun 18 05:26:42 1999

From owner-arla-drinkers@stacken.kth.se Fri Jun 18 09:26:42 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 25440 invoked from network); 18 Jun 1999 09:26:41 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 18 Jun 1999 09:26:41 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id LAA08184
	for arla-drinkers-list; Fri, 18 Jun 1999 11:18:38 +0200 (MET DST)
Received: from turbot.pdc.kth.se (turbot.pdc.kth.se [130.237.221.42])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id LAA08179
	for <arla-drinkers@stacken.kth.se>; Fri, 18 Jun 1999 11:18:31 +0200 (MET DST)
Received: (from d95-mah@localhost)
	by turbot.pdc.kth.se (8.8.7/8.8.7) id LAA19442;
	Fri, 18 Jun 1999 11:18:30 +0200 (MET DST)
Original-Sender: jbwl@runningman.rs.itd.umich.edu
Message-ID: <37695778.EC7F9D8A@umich.edu>
Date: Thu, 17 Jun 1999 20:15:52 +0000
From: Jon Leonard <jbwl@umich.edu>
Reply-To: jon.leonard@umich.edu
Organization: School of Information
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: arla-drinkers@stacken.kth.se
Subject: Minor source code bug in Linux port
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 17
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Compiling the arla-0.25 on Linux 2.2.5 smp, there's a minor problem in
xfs/linux/xfs_syscalls.c.  The lock_kernel() function uses
&kernel_flag.  The real name of kernel_flag is
kernel_flag_R__ver_kernel_flag, at least on my system, so xfs.o won't
load.  There's certainly a right way to fix this, but I just stuck

#define kernel_flag     kernel_flag_R__ver_kernel_flag

before all the #includes.  With that change, it loads and runs fine.

Regards,
Jon
------------------------------------------------------------------------
Jon Leonard                                               jbwl@umich.edu
CycleStealer, School of Information, Umich             +1 (734) 615-2726
"Steel coasters roll, but wooden ones ROCK!"


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