Patrick Winnertz
2007-Jul-16 02:13 UTC
[Lustre-discuss] kernel module build failed with gcc-3.4 & gcc-4.1
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