Building etercifs 5.4.3 for 3.1.10-1.16-vanilla Linux kernel (headers in /lib/modules/3.1.10-1.16-vanilla/build) /usr/bin/gcc Checking the kernel configuration... OK Setting etercifs version: OK make: Entering directory `/usr/src/linux-3.1.10-1.16-obj/x86_64/vanilla' make: Leaving directory `/usr/src/linux-3.1.10-1.16-obj/x86_64/vanilla' make: Entering directory `/usr/src/linux-3.1.10-1.16-obj/x86_64/vanilla' CC [M] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.o CC [M] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifssmb.o CC [M] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifs_debug.o CC [M] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.o /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:526:2: warning: initialization from incompatible pointer type [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:526:2: warning: (near initialization for 'cifs_super_ops.show_options') [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:530:2: warning: initialization from incompatible pointer type [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:530:2: warning: (near initialization for 'cifs_super_ops.show_stats') [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:777:2: warning: initialization from incompatible pointer type [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:777:2: warning: (near initialization for 'cifs_dir_inode_ops.create') [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:782:2: warning: initialization from incompatible pointer type [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:782:2: warning: (near initialization for 'cifs_dir_inode_ops.mkdir') [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:789:2: warning: initialization from incompatible pointer type [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/cifsfs.c:789:2: warning: (near initialization for 'cifs_dir_inode_ops.mknod') [enabled by default] /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.c: In function 'cifs_set_cifscreds': /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.c:2109:21: error: 'key_type_logon' undeclared (first use in this function) /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.c:2109:21: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [/tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [_module_/tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 make: Leaving directory `/usr/src/linux-3.1.10-1.16-obj/x86_64/vanilla' can't locate built module etercifs.ko
Точно такой же вывод и при сборке 5.4.4 /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.c: In function 'cifs_set_cifscreds': /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.c:2109:21: error: 'key_type_logon' undeclared (first use in this function) /tmp/Etercifs.pKtIfyvA/kernel-source-etercifs-3.3-1.76/connect.c:2109:21: note: each undeclared identifier is reported only once for each function it appears in Имя виртуалки - openSUSE 12.1 x64 Два снимка с названием - 8716 (для 5.4.3 и 5.4.4)
Разобрался в чём проблема - grep 3.1 подхватывал не только ...-3.1-1... но и ...-3.3-1... исходники. Исправление будет в следующей версии etercifs - 5.4.5.
*** Bug 8855 has been marked as a duplicate of this bug. ***
Решена.