Ralf Utermann wrote, On 2009. 10. 29. 10:03: > check modules/lustre/config.log to see, where it really goes wrong. >
Sorry for the late answer. Actually I almost out of ideas. Here is, what I did already: Without deb specific steps. I'm sure, something is missing, or something I do wrong, but I have no clue. Basically I do what I would do on Fedora, except it's working there. I tried it with the relevant linux-header*deb packages, but also I tried to compile a kernel by myself from linux-source*deb package (linux source + Ubuntu patches), and used that tree. *Jaunty + b1_8* -> failure /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:422: error: unknown field âprepare_writeâ specified in initializer cc1: warnings being treated as errors /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:422: error: initialization from incompatible pointer type /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:423: error: unknown field âcommit_writeâ specified in initializer /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:423: error: initialization from incompatible pointer type make[6]: *** [/usr/src/lustre-b1_8/lustre/lustre/llite/rw26.o] Error 1 make[5]: *** [/usr/src/lustre-b1_8/lustre/lustre/llite] Error 2 make[4]: *** [/usr/src/lustre-b1_8/lustre/lustre] Error 2 make[3]: *** [_module_/usr/src/lustre-b1_8/lustre] Error 2 make[3]: Leaving directory `/usr/src/linux-source-2.6.28' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/lustre-b1_8/lustre' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lustre-b1_8/lustre' make: *** [all] Error 2 *Intrepid + 1.8.1.1* -> failure make[3]: Entering directory `/usr/src/linux-headers-2.6.27-15-server' CC [M] /root/1/lustre-1.8.1.1/lnet/libcfs/linux/linux-debug.o cc1: warnings being treated as errors /root/1/lustre-1.8.1.1/lnet/libcfs/linux/linux-debug.c: In function âprint_trace_warning_symbolâ: /root/1/lustre-1.8.1.1/lnet/libcfs/linux/linux-debug.c:216: error: format not a string literal and no format arguments make[6]: *** [/root/1/lustre-1.8.1.1/lnet/libcfs/linux/linux-debug.o] Error 1 make[5]: *** [/root/1/lustre-1.8.1.1/lnet/libcfs] Error 2 make[4]: *** [/root/1/lustre-1.8.1.1/lnet] Error 2 make[3]: *** [_module_/root/1/lustre-1.8.1.1] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.27-15-server' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/1/lustre-1.8.1.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/1/lustre-1.8.1.1' make: *** [all] Error 2 *Hardy +1.8.1.1* -> failure make[3]: Entering directory `/usr/src/linux-headers-2.6.24-25-server' CC [M] /root/1/lustre-1.8.1.1/lustre/llite/rw.o cc1: warnings being treated as errors /root/1/lustre-1.8.1.1/lustre/llite/rw.c: In function âll_file_lockless_ioâ: /root/1/lustre-1.8.1.1/lustre/llite/rw.c:2376: warning: passing argument 1 of âremove_suidâ from incompatible pointer type /root/1/lustre-1.8.1.1/lustre/llite/rw.c:2376: error: too many arguments to function âremove_suidâ make[6]: *** [/root/1/lustre-1.8.1.1/lustre/llite/rw.o] Error 1 make[5]: *** [/root/1/lustre-1.8.1.1/lustre/llite] Error 2 make[4]: *** [/root/1/lustre-1.8.1.1/lustre] Error 2 make[3]: *** [_module_/root/1/lustre-1.8.1.1] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-25-server' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/1/lustre-1.8.1.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/1/lustre-1.8.1.1' make: *** [all] Error 2 The debian specific way: # apt-get install [build-deps] # debian/rules # debian/rules binary # dpkg -i *deb # m-a build lustre -> view -> "/usr/share/modass/overrides/lustre-source: 1: debian/rules: Permission denied" # ls -l /usr/src/modules/lustre/debian/rules -rw-r--r-- 1 root root 13793 2009-10-30 14:51 /usr/src/modules/lustre/debian/rules # chmod +x /usr/src/modules/lustre/debian/rules # m-a build lustre -> Permission denied again # ls -l /usr/src/modules/lustre/debian/rules -rw-r--r-- 1 root root 13793 2009-10-30 14:51 /usr/src/modules/lustre/debian/rules What do I wrong? Please give me some advice:) Thank you, tamas _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
