[DRBD-user] compile drbd 8.4.1 kernel 3.3

Christophe BOUDER Christophe.Bouder at lip6.fr
Fri Mar 23 16:19:57 CET 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


hello,

I have error on compiling drbd 8.4.1 with kernel 3.3
configure is ok
configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-km
make KDIR=/usr/src/linux
....
	Userland tools build was successful.
make[1]: entrant dans le répertoire « /root/drbd-8.4.1/drbd »

     Calling toplevel makefile of kernel source tree, which I believe is
in
     KDIR=/usr/src/linux

make -C /usr/src/linux   SUBDIRS=/root/drbd-8.4.1/drbd  modules
make[2]: entrant dans le répertoire « /usr/src/linux-3.3 »
   CC [M]  /root/drbd-8.4.1/drbd/drbd_buildtag.o
   CC [M]  /root/drbd-8.4.1/drbd/drbd_nl.o
/root/drbd-8.4.1/drbd/drbd_nl.c: In function ?drbd_adm_prepare?:
/root/drbd-8.4.1/drbd/drbd_nl.c:183:2: error: implicit declaration of 
function ?security_netlink_recv? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/root/drbd-8.4.1/drbd/drbd_nl.o] Erreur 1
make[2]: *** [_module_/root/drbd-8.4.1/drbd] Erreur 2
make[2]: quittant le répertoire « /usr/src/linux-3.3 »
make[1]: *** [kbuild] Erreur 2
make[1]: quittant le répertoire « /root/drbd-8.4.1/drbd »
make: *** [module] Erreur 2



How can i resolve this ?

thanks for your help

-- 
Christophe Bouder



More information about the drbd-user mailing list