[836] in arla-drinkers

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

Re: FreeBSD 4.0-CURRENT, arla-0.23

daemon@ATHENA.MIT.EDU (assar@stacken.kth.se)
Sun May 16 19:03:49 1999

From owner-arla-drinkers@stacken.kth.se Sun May 16 23:03:48 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 18135 invoked from network); 16 May 1999 23:03:47 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 16 May 1999 23:03:47 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id AAA24185
	for arla-drinkers-list; Mon, 17 May 1999 00:55:39 +0200 (MET DST)
Received: from assaris.sics.se (assaris.sics.se [193.10.66.108])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id AAA24181
	for <arla-drinkers@stacken.kth.se>; Mon, 17 May 1999 00:55:34 +0200 (MET DST)
Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.7.3) id AAA00552; Mon, 17 May 1999 00:58:52 +0200 (CEST)
From: assar@stacken.kth.se
To: Robert Watson <robert+freebsd@cyrus.watson.org>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: FreeBSD 4.0-CURRENT, arla-0.23
References: <Pine.BSF.3.96.990516183935.9930D-100000@fledge.watson.org>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII
Date: 17 May 1999 00:58:51 +0200
In-Reply-To: Robert Watson's message of "Sun, 16 May 1999 18:41:19 -0400 (EDT)"
Message-ID: <5llneoliz8.fsf@assaris.sics.se>
Lines: 51
X-Mailer: Gnus v5.5/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Robert Watson <robert@cyrus.watson.org> writes:
> If you want access to a recent 4.0 machine, I could set up an
> account for you on one of my workstations.

I guess I should try to update my machine to a more recent -current instead.

> gcc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include
> -I./../inclu
> de  -I/usr/athena/include -DXFS_DEBUG -g  -Wall -DKERNEL -D_KERNEL
> -DVFS_KLD -DK
> LD_MODULE -I/sys/arch -I/sys -I. -Wno-unused xfs_wrap-bsd.c
> xfs_wrap-bsd.c:135: parse error before `('
> xfs_wrap-bsd.c:135: warning: type defaults to `int' in declaration of
> `CDEV_MODU
> LE'
> xfs_wrap-bsd.c:135: `CDEV_MODULE' declared as function returning a
> function
> xfs_wrap-bsd.c:135: warning: type defaults to `int' in declaration of
> `xfs_dev'
> xfs_wrap-bsd.c:135: conflicting types for `xfs_dev'
> xfs_wrap-bsd.c:89: previous declaration of `xfs_dev'
> xfs_wrap-bsd.c:135: warning: type defaults to `int' in declaration of
> `xfs_load'
> xfs_wrap-bsd.c:135: `xfs_load' redeclared as different kind of symbol
> xfs_wrap-bsd.c:103: previous declaration of `xfs_load'
> xfs_wrap-bsd.c:135: parse error before `0'

Hm, that's because they killed cdevs, my -current was just before
that.  My quick fix for that is appended.

/assar

Index: xfs/bsd/xfs_wrap-bsd.c
===================================================================
RCS file: /usr/local/cvsroot/arla/xfs/bsd/xfs_wrap-bsd.c,v
retrieving revision 1.16
diff -u -w -u -w -r1.16 xfs_wrap-bsd.c
--- xfs_wrap-bsd.c	1999/01/10 06:28:26	1.16
+++ xfs_wrap-bsd.c	1999/05/16 22:54:39
@@ -132,7 +132,11 @@
 #define AFS_SYSCALL 210
 
 VFS_SET(xfs_vfsops, xfs, 0);
+#ifdef DEV_MODULE
+DEV_MODULE(xfs_dev, NODEV, NODEV, xfs_dev, xfs_load, NULL);
+#else
 CDEV_MODULE(xfs_dev, NODEV, xfs_dev, xfs_load, NULL);
+#endif
 #ifdef SYSCALL_MODULE
 static int offset = NO_SYSCALL;
 

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