arla 0.36.2

Asheesh Laroia arlaafs at asheeshenterprises.com
Tue Jun 29 19:47:03 CEST 2004


Trying to compile this on i386 Linux 2.4.26 kernel, I get this error from gcc 
3.3:

make: Entering directory `/usr/src/arla-0.36.2/nnpfs/linux'
gcc -c  -DHAVE_CONFIG_H  -I/usr/src/kernel-headers-2.4.26-1-686//include 
-DMODULE -D__KERNEL__    -DDEBUG -I. -I. -I. -I./../include -I../../include 
-I./../../include -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer 
nnpfs_load.c
In file included from 
/usr/src/kernel-headers-2.4.26-1-686/include/linux/spinlock.h:6,
                  from 
/usr/src/kernel-headers-2.4.26-1-686/include/linux/module.h:11,
                  from nnpfs/nnpfs_locl.h:56,
                  from nnpfs_load.c:37:
/usr/src/kernel-headers-2.4.26-1-686/include/asm/system.h: In function 
`__set_64bit_var':
/usr/src/kernel-headers-2.4.26-1-686/include/asm/system.h:190: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/kernel-headers-2.4.26-1-686/include/asm/system.h:190: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
make: *** [nnpfs_load.o] Error 1

I added -fno-strict-aliasing to nnpfs/linux/Makefile, did make clean, and 
recompiled.  The kernel module compiled, so I insmod'd it.

I then did make clean again, set my compiler to gcc 2.95 (export CC=gcc-2.95 ; 
export CXX=gcc-2.95) to see if I could get it to build on my Debian sid system.

After waiting for that to compile, I discover now that I get the same error:
# ls: /afs: No such device

Drat.  Tomas, do you have a working arlad binary (or maybe a package with the 
other binaries) that works on Debian that I could use?  Developers in general, 
any advice on making arla work here?

-- Asheesh.

-- 
Your mode of life will be changed for the better because of new developments.





More information about the Arla-drinkers mailing list