Skip to contentSkip to conversation

drbd-0.7.18 doesn't compile under 2.617-rc2 because SLAB_NO_REAP is missing

DISCUSSION Maurice Volaski 2 participants 2 messages Apr 26, 2006

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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_REAP got 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 once

Quoted 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