Building wrapfs FileSystem using fistgen
Sir,
I have to build wrapfs filesystem from FiST using fistgen-0.2
I have then explore the fistgen-0.2.tar file on Desktop in root login
then , in the terminal, path/to/Desktop/fistgen-0.2
as......
[root@dhcppc0 ~]# cd Desktop/fistgen-0.2
[root@dhcppc0 fistgen-0.2]# ./configure
...............
.................
............
.............
..........
[root@dhcppc0 fistgen-0.2]# make
...............
.................
............
.............
.............
[root@dhcppc0 fistgen-0.2]# ./fistgen tests/wrapfs.fist
...............
.................
............
.............
..........
[root@dhcppc0 fistgen-0.2]# cd out/Linux-2.6/wrapfs
[root@dhcppc0 wrapfs]# make
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Now it is giving msg as ...........>
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
make -C /lib/modules/2.6.21-1.3194.fc7/build SUBDIRS=/root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs modules
make[1]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs/main.o
In file included from /root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs/main.c:24:
/root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs/wrapfs.h:121: warning: ‘kmem_cache_t’ is deprecated
/root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs/main.c:389: error: size of array ‘type name’ is negative
make[2]: *** [/root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs/main.o] Error 1
make[1]: *** [_module_/root/Desktop/fistgen-0.2/out/Linux-2.6/wrapfs] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [all] Error 2
---------------------------------------------------------------------------
How to solve this error : size of array 'type name' is negative
|