Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-06-07 17:20:20 +0200 \ Benoit.Ropartz at alcatel.fr: > 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... as is for any other architecture, and therefor we do drbd_main.c:40: #include <asm/bitops.h> include/asm should be a (kernel config/make system generated) link to the asm-ARCH you compile for. either your preparation of the kernel source tree is broken, or you have to add ARCH=ppc to the make command line. Lars Ellenberg