[4076] in arla-drinkers

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

arla-block-TR1 compilation problem

daemon@ATHENA.MIT.EDU (Anders Selander)
Wed Nov 15 11:18:39 2006

From arla-drinkers-bounces@stacken.kth.se Wed Nov 15 16:18:39 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 8081 invoked from network); 15 Nov 2006 16:18:39 -0000
Received: from mx3.kth.se (130.237.48.97)
  by charon.mit.edu with SMTP; 15 Nov 2006 16:18:39 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 460E4140DEA;
	Wed, 15 Nov 2006 17:18:38 +0100 (CET)
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 28754-01-83; Wed, 15 Nov 2006 17:18:34 +0100 (CET)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx3.kth.se (Postfix) with ESMTP id 012F1140A82;
	Wed, 15 Nov 2006 17:18:30 +0100 (CET)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 8472A534FE;
	Wed, 15 Nov 2006 17:18:30 +0100 (CET)
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 14BE2534FE
	for <arla-drinkers@tapas.stacken.kth.se>;
	Wed, 15 Nov 2006 17:18:29 +0100 (CET)
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 kAFGISea029018
	for <arla-drinkers@stacken.kth.se>;
	Wed, 15 Nov 2006 17:18:28 +0100 (MET)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 5F3A6140E02
	for <arla-drinkers@stacken.kth.se>;
	Wed, 15 Nov 2006 17:18:28 +0100 (CET)
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 29727-01-37 for <arla-drinkers@stacken.kth.se>;
	Wed, 15 Nov 2006 17:18:23 +0100 (CET)
Received: from ratatosk.pdc.kth.se (ratatosk.pdc.kth.se [130.237.232.41])
	by mx3.kth.se (Postfix) with ESMTP id 7ECFF140DEA
	for <arla-drinkers@stacken.kth.se>;
	Wed, 15 Nov 2006 17:18:23 +0100 (CET)
X-PDC-Rcpt-To: <arla-drinkers@stacken.kth.se>
X-PDC-Mail-From: selander@pdc.kth.se
X-PDC-Client: aioli.pdc.kth.se (130.237.221.64)
Received: from localhost.pdc.kth.se (aioli.pdc.kth.se [130.237.221.64])
	by ratatosk.pdc.kth.se (8.13.1/8.13.1) with ESMTP id kAFGIN7F434184
	for <arla-drinkers@stacken.kth.se>;
	Wed, 15 Nov 2006 17:18:23 +0100 (CET)
Received: by localhost.pdc.kth.se (Postfix, from userid 1000)
	id 152AA17DF3; Wed, 15 Nov 2006 17:17:45 +0100 (CET)
Date: Wed, 15 Nov 2006 17:17:45 +0100
From: Anders Selander <selander@pdc.kth.se>
To: arla-drinkers@stacken.kth.se
Subject: arla-block-TR1 compilation problem
Message-ID: <20061115161745.GI15570@aioli.pdc.kth.se>
Mime-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
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 just got yelled at by haba for confessing that I didn't report
my problems the first time I tried to compile arla-block-TR1, so
to repent my wicked ways, I will do it now instead. 

I already have the normal arla working (see
http://www.manja.se/selander/ubuntu_t22/#arla), but think that 
arla-on-blocks will have something to offer when one saves an email 
in an already very huge folder stored in afs. ;-)

You might find configure.out and make.out in 

  /afs/pdc.kth.se/home/s/selander/Public/arla-block-TR1/

interesting.

I have included the outline and the problematic section below.
The "tar: Cowardly refusing to create an empty archive" I can
get rid of by changing Kconfig to kconfig in the nnpfs/linux
Makefile. Why there is no Kconfig but kconfig directories in my 
distribution is beyond me.

However, the three warnings still remains and unfortunately seem
to topple the whole compilation:

  arla-block-TR1/nnpfs/linux/nnpfs/nnpfs_locl.h:163: warning: "struct nnpfs_cache_handle" declared inside parameter list
  arla-block-TR1/nnpfs/linux/nnpfs/nnpfs_locl.h:163: warning: its scope is only this definition or declaration, which is probably not what you want
  arla-block-TR1/nnpfs/linux/nnpfs/nnpfs_dev.h:62: warning: "struct nnpfs_message_wakeup_data" declared inside parameter list

Where are theu supposed to be defined and included? I am especially
intriqued over the nnpfs_message_wakeup_data struct, which a recursive
grep only indicates being defined in ./doc/nnpfs.txt. 

I have tried to compile both with gcc 3.4.5 and 4.0.2 with the same
result.

What crucial information has I failed to convey?

Regards /Selander

> uname -a
Linux aioli 2.6.12-10-686 #1 Tue Jul 18 22:26:10 UTC 2006 i686 GNU/Linux
> cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=5.10
DISTRIB_CODENAME=breezy
DISTRIB_DESCRIPTION="Ubuntu (The Breezy Badger Release)"

> tar xzf /afs/stacken.kth.se/ftp/pub/arla/snap/arla-block-TR1.tar.gz
> cd cd arla-block-TR1/
> ./configure 2>&1 | tee ./configure.out
...
> make 2>&1 | tee ./make.out
...
Making all in nnpfs
make[1]: Entering directory `/home/selander/build/arla-block-TR1/nnpfs'
SUBDIRS='linux '; \
        for i in $SUBDIRS; \
        do (cd $i && make -w all); done
make[2]: Entering directory
`/home/selander/build/arla-block-TR1/nnpfs/linux'
mkdir -p kbuild-work
cp nnpfs_load.c kbuild-work/nnpfs_load.c
mkdir -p kbuild-work
cp nnpfs_dev.c kbuild-work/nnpfs_dev.c
mkdir -p kbuild-work
cp nnpfs_common.c kbuild-work/nnpfs_common.c
mkdir -p kbuild-work
cp nnpfs_vfsops.c kbuild-work/nnpfs_vfsops.c
mkdir -p kbuild-work
cp nnpfs_node.c kbuild-work/nnpfs_node.c
mkdir -p kbuild-work
cp nnpfs_message.c kbuild-work/nnpfs_message.c
mkdir -p kbuild-work
cp nnpfs_inodeops.c kbuild-work/nnpfs_inodeops.c
mkdir -p kbuild-work
cp nnpfs_deb.c kbuild-work/nnpfs_deb.c
mkdir -p kbuild-work
cp nnpfs_syscalls.c kbuild-work/nnpfs_syscalls.c
mkdir -p kbuild-work
cp nnpfs_syscalls-lossage.c kbuild-work/nnpfs_syscalls-lossage.c
mkdir -p kbuild-work
echo  >kbuild-work/Makefile 'EXTRA_CFLAGS+=     -DHAVE_CONFIG_H -DDEBUG -Wall -Werror -Wstrict-prototypes -fno-strict-aliasing -I/home/selander/build/arla-block-TR1/nnpfs/include -I/home/selander/build/arla-block-TR1/include -I/home/selander/build/arla-block-TR1/include -I/home/selander/build/arla-block-TR1/nnpfs/linux'
echo >>kbuild-work/Makefile 'obj-m:=            nnpfs.o'
echo >>kbuild-work/Makefile 'nnpfs-objs:=       nnpfs_load.o nnpfs_dev.o nnpfs_common.o nnpfs_vfsops.o nnpfs_node.o nnpfs_message.o nnpfs_inodeops.o nnpfs_deb.o
 nnpfs_syscalls.o nnpfs_syscalls-lossage.o'
rm -rf kernel-source-tree.tmp
mkdir kernel-source-tree.tmp && \
( cd /lib/modules/2.6.12-10-686/build && \
tar -c -h $(find . -name Kconfig'*') | \
tar -x -C /home/selander/build/arla-block-TR1/nnpfs/linux/kernel-source-tree.tmp
 && \
tar -c -h \
        init scripts Makefile arch .config include Module.symvers | \
tar -x -C /home/selander/build/arla-block-TR1/nnpfs/linux/kernel-source-tree.tmp
 ) && \
mv kernel-source-tree.tmp kernel-source-tree
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
make -C kernel-source-tree SUBDIRS=/home/selander/build/arla-block-TR1/nnpfs/linux/kbuild-work modules
make[3]: Entering directory `/home/selander/build/arla-block-TR1/nnpfs/linux/ker
nel-source-tree'
  CC [M]  /home/selander/build/arla-block-TR1/nnpfs/linux/kbuild-work/nnpfs_load.o
In file included from /home/selander/build/arla-block-TR1/nnpfs/linux/kbuild-work/nnpfs_load.c:37:
/home/selander/build/arla-block-TR1/nnpfs/linux/nnpfs/nnpfs_locl.h:163: warning: "struct nnpfs_cache_handle" declared inside parameter list
/home/selander/build/arla-block-TR1/nnpfs/linux/nnpfs/nnpfs_locl.h:163: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /home/selander/build/arla-block-TR1/nnpfs/linux/kbuild-work/nnpfs_load.c:45:
/home/selander/build/arla-block-TR1/nnpfs/linux/nnpfs/nnpfs_dev.h:62: warning: "struct nnpfs_message_wakeup_data" declared inside parameter list
make[4]: *** [/home/selander/build/arla-block-TR1/nnpfs/linux/kbuild-work/nnpfs_load.o] Error 1
make[3]: *** [_module_/home/selander/build/arla-block-TR1/nnpfs/linux/kbuild-work] Error 2
make[3]: Leaving directory `/home/selander/build/arla-block-TR1/nnpfs/linux/kernel-source-tree'
make[2]: *** [kbuild] Error 2
make[2]: Leaving directory `/home/selander/build/arla-block-TR1/nnpfs/linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/selander/build/arla-block-TR1/nnpfs'
make: *** [all-recursive] Error 1
_______________________________________________
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