[DRBD-user] compile drbd 8.4.1 kernel 3.3

Jose Ildefonso Camargo Tolosa ildefonso.camargo at gmail.com
Fri Mar 23 16:57:44 CET 2012


On Fri, Mar 23, 2012 at 10:49 AM, Christophe BOUDER
<Christophe.Bouder at lip6.fr> wrote:
> hello,

Hi,

>
> I have error on compiling drbd 8.4.1 with kernel 3.3

Any particular reason for using 3.3 now? (I mean, you are just
testing, right?, 3.3 is not stable).

> 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
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list