[DRBD-user] drbd.o: unresolved symbol generic_hweight32 ???

Benoit.Ropartz at alcatel.fr Benoit.Ropartz at alcatel.fr
Mon Jun 7 17:20:20 CEST 2004


During the module compilation i have seen this message :

     drbd_main.c: In function `bm_end_of_dev_case':
     drbd_main.c:1969: warning: implicit declaration of function `
generic_hweight32'


My plateform : RS6000 station (PowerPC) with  kernel release : 2.4.21.

hweigh32 function is defined as generic_hweight32 in
../include/asm-ppc/bitops.h
module...






Lars Ellenberg <Lars.Ellenberg at linbit.com>@linbit.com on 07/06/2004
16:27:21

Please respond to drbd-user <drbd-user at linbit.com>

Sent by:    drbd-user-admin at linbit.com


To:    drbd-user at linbit.com
cc:
Subject:    Re: [DRBD-user] drbd.o: unresolved symbol generic_hweight32 ???


/ 2004-06-07 16:10:16 +0200
\ Benoit.Ropartz at alcatel.fr:
> Hello,
>
> I use drbd-0-7_pre7_20040528 and i can't load drbd module (insmod) :
>
> drbd.o: unresolved symbol generic_hweight32
>
> This symbol is used in  drbd_int.h :
>
> #  define hweight_long(x) hweight32(x)
>
> During the module compilation i have seen this message :
>
> drbd_main.c:1969: warning: implicit declaration of function

and my crystal ball tells me your
your kernel and architecture is ... ?

 Lars Ellenberg
_______________________________________________
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