[3994] in arla-drinkers

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

Arla-0.43 on linux-2.6.17.4: Name clash over do_fsync

daemon@ATHENA.MIT.EDU (=?iso-8859-1?q?Niels_M=F6ller?=)
Tue Aug 22 09:55:49 2006

From arla-drinkers-bounces@stacken.kth.se Tue Aug 22 13:55:49 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 18164 invoked from network); 22 Aug 2006 13:55:49 -0000
Received: from mx1.kth.se (130.237.32.140)
  by charon.mit.edu with SMTP; 22 Aug 2006 13:55:49 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id 046B2141CAD;
	Tue, 22 Aug 2006 15:55:48 +0200 (CEST)
Received: from mx1.kth.se ([127.0.0.1])
 by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 22548-01-78; Tue, 22 Aug 2006 15:55:45 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx1.kth.se (Postfix) with ESMTP id 1425B1410AF;
	Tue, 22 Aug 2006 15:55:45 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 80715534FC;
	Tue, 22 Aug 2006 15:55:44 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 97A0D534FC
	for <arla-drinkers@tapas.stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:42 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k7MDteot003645
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:40 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 6E087140AEF
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:40 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP
	id 21393-01-22 for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:39 +0200 (CEST)
Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3])
	by mx3.kth.se (Postfix) with ESMTP id 2D77B14052F
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:39 +0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mail.lysator.liu.se (Postfix) with ESMTP id E4C54200A1E9
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:38 +0200 (CEST)
Received: from mail.lysator.liu.se ([127.0.0.1])
	by localhost (lenin.lysator.liu.se [127.0.0.1]) (amavisd-new,
	port 10024)
	with LMTP id 10633-01-94 for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:27 +0200 (CEST)
Received: from sellafield.lysator.liu.se (sellafield.lysator.liu.se
	[130.236.254.103])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.lysator.liu.se (Postfix) with ESMTP id 2A760200A1F1
	for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:27 +0200 (CEST)
Received: from sellafield.lysator.liu.se (localhost [127.0.0.1])
	by sellafield.lysator.liu.se (8.13.4+Sun/8.13.4) with ESMTP id
	k7MDtNvF010739 for <arla-drinkers@stacken.kth.se>;
	Tue, 22 Aug 2006 15:55:24 +0200 (MEST)
Received: (from nisse@localhost)
	by sellafield.lysator.liu.se (8.13.4+Sun/8.12.8/Submit) id
	k7MDtK6G010735; Tue, 22 Aug 2006 15:55:21 +0200 (MEST)
X-Authentication-Warning: sellafield.lysator.liu.se: nisse set sender to
	nisse@lysator.liu.se using -f
To: arla-drinkers@stacken.kth.se
Subject: Arla-0.43 on linux-2.6.17.4: Name clash over do_fsync
From: nisse@lysator.liu.se (=?iso-8859-1?q?Niels_M=F6ller?=)
Date: 22 Aug 2006 15:55:11 +0200
Message-ID: <nnd5asan9c.fsf@sellafield.lysator.liu.se>
Lines: 37
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lysator.liu.se
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level: 
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se

I'm trying to build arla-0.43 for linux-2.6.17.4, with

  ./configure --with-pthreads --with-sys=/usr/local/src/linux-2.6.17.4
  make

I get the following compilation error:

make[3]: Entering directory `/home/local/src/arla-0.43/nnpfs/linux/kernel-source-tree'
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_load.o
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_dev.o
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_common.o
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_vfsops.o
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_node.o
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_message.o
  CC [M]  /home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_inodeops.o
/home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_inodeops.c:59: error: conflicting types for `do_fsync'
include/linux/fs.h:1494: error: previous declaration of `do_fsync'
make[4]: *** [/home/local/src/arla-0.43/nnpfs/linux/kbuild-work/nnpfs_inodeops.o] Error 1
make[3]: *** [_module_/home/local/src/arla-0.43/nnpfs/linux/kbuild-work] Error 2
make[3]: Leaving directory `/home/local/src/arla-0.43/nnpfs/linux/kernel-source-tree'
make[2]: *** [kbuild] Error 2

The linux header file fs.h declares

extern long do_fsync(struct file *file, int datasync);

and then arla's nnpfs_inodeps.c uses

static int
do_fsync(struct nnpfs *nnpfsp, struct nnpfs_node *xn, u_int flag);

After a replacing all occurences of do_fsync with do_nnpfs_fsync in
that file, compilation continues. I'll report any further problems in
separate mails.

Regards,
/Niels
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

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