I am trying to compile this. 
When i define MFFS as module, i can't compile this. I looked at the source 
code and I think this feature is not supported. 
When i try to compile this into the kernel, i got the error:

gcc -D__KERNEL__ -I/usr/src/linux-mffs/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -fno-strength-reduce    -c -o extent.o extent.c
extent.c:742: #error FIXME 64 division on 32 arch.
extent.c: In function `mfFileOffsetToTtrAndOffset':
extent.c:730: warning: `residue' might be used uninitialized in this 
function
make[2]: *** [extent.o] Error 1


In extent.c this code is:


#ifndef __s390x__
    // gcc ��??�����ӽýȽ޽���ǣ����ӽýȤγ��??�?�Ǥ��ʤ�?�linux.h 
��?�?�?�
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,5)
#error FIXME 64 division on 32 arch.
#else
    /* 2.2.16 ��??�ս?�����?���Ǥ����¤?�?��Τ��̤�ʤ�?� */
    ASSERT(offsetInFile < 4294967295U);
    *tt = (unsigned short) ((int)(offsetInFile) / bytesInATrackUsedByOs);
    residue = (int)((int)(offsetInFile) % bytesInATrackUsedByOs);
#endif /* kernel 2.4.5 */




So, does it mean that i can't compile it on 2.4.7 kernel on 32bit 
architecture?



        WBR, Sergey


Reply via email to