drbd-0.7.18 doesn't compile under 2.617-rc2 because SLAB_NO_REAP is missing
Being forwarded here from the drbd mailing list in case SLAB_NO_REAP got removed from the kernel source inadvertently....
Quoted 12 lines
It was previously reported (twice) that drbd-0.7.17 didn't compile under the initial releases of 2.6.17. Neither does 0.7.18.
/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c: In function `drbd_create_mempools':/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c:1547: error: `SLAB_NO_REAP' undeclared (first use in this function)/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c:1547: error: (Each undeclared identifier is reported only once/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c:1547: error: for each function it appears in.) make[3]: *** [/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.o] Error 1
make[2]: *** [_module_/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd] Error 2
--
Signature · 3 lines
Maurice Volaski, [email protected] Computing Support, Rose F. Kennedy Center Albert Einstein College of Medicine of Yeshiva University
Quoted 2 lines · On Wed, 26 Apr 2006 15:16:33 -0400 Maurice Volaski wrote:
Being forwarded here from the drbd mailing list in case
SLAB_NO_REAPgot removed from the kernel source inadvertently....
It's no longer used in the kernel tree. Here's the patch that removed it:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ac2b898ca6fb06196a26869c23b66afe7944e52e
Quoted 4 lines
Quoted 4 lines
It was previously reported (twice) that drbd-0.7.17 didn't compile under the initial releases of 2.6.17. Neither does 0.7.18.
Quoted 14 lines
Quoted 6 lines
/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c: In function `drbd_create_mempools':/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c:1547:
error: `SLAB_NO_REAP' undeclared (first use in this function)/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c:1547:
error: (Each undeclared identifier is reported only onceQuoted 8 lines
/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.c:1547:
error: for each function it appears in.)
make[3]: *** [/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd/drbd_main.o] Error 1
make[2]: *** [_module_/var/tmp/portage/drbd-0.7.18/work/drbd-0.7.18/drbd] Error 2 --
---
~Randy