Hello, I've an problem with building the kernel module for kernel 2.6.18.
I'll packaging lustre v1.6.0.1 for debian and found an problem compiling the kernel modules. I patched this kernel and build it without any problems, but when I started to build the kernel modules I got this error indepentend from the choice of the compiler. CC [M] /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.o In file included from /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.c:36: /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/llite_internal.h: In function âll_nd2itâ: /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/llite_internal.h:43: warning: return from incompatible pointer type /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.c: In function âll_lookup_ndâ: /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.c:582: warning: passing argument 3 of âll_lookup_itâ from incompatible pointer type /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.c: In function âll_create_ndâ: /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.c:927: error: âunion <anonymous>â has no member named âdâ /usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.c:931: warning: passing argument 4 of âll_create_itâ from incompatible pointer type make[8]: *** [/usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite/namei.o] Error 1 make[7]: *** [/usr/src/modules/lustre/lustre-1.6.0.1/lustre/llite] Error 2 make[6]: *** [/usr/src/modules/lustre/lustre-1.6.0.1/lustre] Error 2 make[5]: *** [_module_/usr/src/modules/lustre/lustre-1.6.0.1] Error 2 make[5]: Leaving directory `/usr/src/linux-source-2.6.18' Does anybody know what is going wrong here? Greetings Patrick Winnertz -- Patrick Winnertz Telefon: 0 21 61 - 46 43 - 0 credativ GmbH, HRB Mönchengladbach 12080 Hohenzollernstr. 133, 41061 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
