Hi,

compilation of drbd-8.4.1 under linux-3.5 fails (see error messages below),
compilation of current drbd-8.4.git fails the same way.

I noticed that the git repository of 8.4 did not really get updates recently,
and I wonder that linux-3.5 still contains drbd-8.3 code - is this a dead 
development
branch?

Should I rather revert to 8.3?

Regards,

Lutz Vieweg


  CC [M]  /inst/drbd-8.4.1/drbd/drbd_bitmap.o
In file included from /inst/drbd-8.4.1/drbd/drbd_int.h:42,
                 from /inst/drbd-8.4.1/drbd/drbd_bitmap.c:35:
/inst/drbd-8.4.1/drbd/linux/lru_cache.h:38: error: redefinition of 
‘clear_bit_unlock’
/inst/linux-3.5/arch/x86/include/asm/bitops.h:121: note: previous definition of 
‘clear_bit_unlock’ was here

  CC [M]  /inst/drbd-8.4.1/drbd/drbd_nl.o
In file included from /inst/drbd-8.4.1/drbd/linux/genl_magic_func.h:385,
                 from /inst/drbd-8.4.1/drbd/drbd_nl.c:103:
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h: In function ‘drbd_cfg_reply_to_skb’:
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h:87: error: implicit declaration of 
function ‘NLA_PUT’
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h: In function ‘drbd_cfg_context_to_skb’:
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h:97: error: implicit declaration of 
function ‘NLA_PUT_U32’
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h: In function ‘disk_conf_to_skb’:
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h:104: error: implicit declaration of 
function ‘NLA_PUT_U64’
/inst/drbd-8.4.1/drbd/linux/drbd_genl.h:104: error: implicit declaration of 
function ‘NLA_PUT_U8’
/inst/drbd-8.4.1/drbd/drbd_nl.c: In function ‘drbd_adm_prepare’:
/inst/drbd-8.4.1/drbd/drbd_nl.c:183: error: implicit declaration of function 
‘security_netlink_recv’
/inst/drbd-8.4.1/drbd/drbd_nl.c: In function ‘nla_put_drbd_cfg_context’:
/inst/drbd-8.4.1/drbd/drbd_nl.c:2536: error: implicit declaration of function 
‘NLA_PUT_STRING’

  CC [M]  /inst/drbd-8.4.1/drbd/drbd_nl.o
/inst/drbd-8.4.1/drbd/drbd_nl.c: In function ‘drbd_adm_prepare’:
/inst/drbd-8.4.1/drbd/drbd_nl.c:183: error: implicit declaration of function 
‘security_netlink_recv’


Plus there are these scary warnings:
/inst/drbd-8.4.1/drbd/drbd_bitmap.c: In function ‘__bm_map_pidx’:
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:316: warning: ‘kmap_atomic_deprecated’ is 
deprecated (declared at include/linux/highmem.h:125)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c: In function ‘__bm_unmap’:
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:326: warning: ‘__kunmap_atomic_deprecated’ 
is deprecated (declared at include/linux/highmem.h:135)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c: In function ‘bm_page_io_async’:
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:1023: warning: ‘kmap_atomic_deprecated’ is 
deprecated (declared at include/linux/highmem.h:125)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:1024: warning: ‘kmap_atomic_deprecated’ is 
deprecated (declared at include/linux/highmem.h:125)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:1026: warning: ‘__kunmap_atomic_deprecated’ 
is deprecated (declared at include/linux/highmem.h:135)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:1027: warning: ‘__kunmap_atomic_deprecated’ 
is deprecated (declared at include/linux/highmem.h:135)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c: In function 
‘bm_set_full_words_within_one_page’:
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:1461: warning: ‘kmap_atomic_deprecated’ is 
deprecated (declared at include/linux/highmem.h:125)
/inst/drbd-8.4.1/drbd/drbd_bitmap.c:1467: warning: ‘__kunmap_atomic_deprecated’ 
is deprecated (declared at include/linux/highmem.h:135)

/inst/drbd-8.4.1/drbd/drbd_main.c: In function ‘__check_disable_sendpage’:
/inst/drbd-8.4.1/drbd/drbd_main.c:96: warning: return from incompatible pointer 
type
/inst/drbd-8.4.1/drbd/drbd_main.c: In function ‘__check_allow_oos’:
/inst/drbd-8.4.1/drbd/drbd_main.c:97: warning: return from incompatible pointer 
type




_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to