Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

compilation of drbd-8.4.(1|git) under linux-3.5 fails

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


lvml at 5t9

Aug 3, 2012, 1:20 PM

Post #1 of 2 (246 views)
Permalink
compilation of drbd-8.4.(1|git) under linux-3.5 fails

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


lvml at 5t9

Aug 6, 2012, 10:07 AM

Post #2 of 2 (229 views)
Permalink
Re: compilation of drbd-8.4.(1|git) under linux-3.5 fails [In reply to]

On 08/03/2012 10:20 PM, Lutz Vieweg wrote:
> compilation of current drbd-8.4.git fails the same way.

A "git pull" today, applied on the drbd-8.4 directory I cloned and
tried to compile on Friday, received numerous diffs, and the result
does compile/run under linux-3.5.

Good - I just wonder how this happened though nobody replied ;-)

Regards,

Lutz Vieweg

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

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.