Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, I tried to compile the mentioned version of DRBD on a SLES10 SP2 and got the following error messages: --- snip --- make -C /lib/modules/2.6.16.60-0.23-smp/build SUBDIRS=/usr/src/evolver/drbd-8.0.12/drbd modules make[1]: Entering directory `/usr/src/linux-2.6.16.60-0.23-obj/x86_64/smp' make -C ../../../linux-2.6.16.60-0.23 O=../linux-2.6.16.60-0.23-obj/x86_64/smp modules CC [M] /usr/src/evolver/drbd-8.0.12/drbd/drbd_buildtag.o CC [M] /usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.o In file included from /usr/src/evolver/drbd-8.0.12/drbd/drbd_int.h:1228, from /usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.c:34: /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:241:1: warning: "CRYPTO_ALG_ASYNC" redefined In file included from /usr/src/evolver/drbd-8.0.12/drbd/drbd_int.h:37, from /usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.c:34: /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:44:1: warning: this is the location of the previous definition In file included from /usr/src/evolver/drbd-8.0.12/drbd/drbd_int.h:1228, from /usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.c:34: /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:242:1: warning: "CRYPTO_ALG_TYPE_HASH" redefined In file included from /usr/src/evolver/drbd-8.0.12/drbd/drbd_int.h:37, from /usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.c:34: /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:35:1: warning: this is the location of the previous definition In file included from /usr/src/evolver/drbd-8.0.12/drbd/drbd_int.h:1228, from /usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.c:34: /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:244: error: redefinition of 'struct crypto_hash' /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:250: error: redefinition of 'struct hash_desc' /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:257: error: conflicting types for 'crypto_alloc_hash' /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:886: error: previous definition of 'crypto_alloc_hash' was here /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:283: error: redefinition of 'crypto_hash_setkey' /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:974: error: previous definition of 'crypto_hash_setkey' was here /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:293: error: redefinition of 'crypto_hash_digest' /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:968: error: previous definition of 'crypto_hash_digest' was here /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h: In function 'crypto_hash_digest': /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:295: error: implicit declaration of function 'crypto_hmac' /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h: At top level: /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:303: error: redefinition of 'crypto_free_hash' /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:900: error: previous definition of 'crypto_free_hash' was here /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:309: error: redefinition of 'crypto_hash_digestsize' /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:929: error: previous definition of 'crypto_hash_digestsize' was here /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h: In function 'crypto_hash_digestsize': /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:310: error: implicit declaration of function 'crypto_tfm_alg_digestsize' /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h: At top level: /usr/src/evolver/drbd-8.0.12/drbd/drbd_compat_wrappers.h:314: error: redefinition of 'crypto_hash_tfm' /usr/src/linux-2.6.16.60-0.23/include/linux/crypto.h:895: error: previous definition of 'crypto_hash_tfm' was here make[4]: *** [/usr/src/evolver/drbd-8.0.12/drbd/drbd_bitmap.o] Fehler 1 make[3]: *** [_module_/usr/src/evolver/drbd-8.0.12/drbd] Fehler 2 make[2]: *** [modules] Fehler 2 make[1]: *** [modules] Fehler 2 make[1]: Leaving directory `/usr/src/linux-2.6.16.60-0.23-obj/x86_64/smp' make: *** [kbuild] Fehler 2 --- snap --- Installed kernel is 2.6.16.60-0.23-smp. What can I do to make the DRBD compile? -- Mit freundlichen Gruessen Andreas Haase Administration und Technik evolver services GmbH Fon +49 / (0)3 71 / 4 00 03 70 Fax +49 / (0)3 71 / 4 00 03 79 E-Mail andreas.haase at evolver.de Web http://www.evolver.de Sitz der Gesellschaft: Chemnitz Handelsregister: Amtsgericht Chemnitz, HRB 22649 Geschaeftsfuehrer: Dirk Neubauer