Hi,
I was unable to compile drbd version 0.6.1-pre7
on linux 2.2.20. The problem is with
NR_REQUESTS define in drbd_receiver.c on line 629
there is
-cut-
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#define NUMBER (NR_REQUESTS/4)
#else
#define NUMBER 24
#endif
-end-
but NR_REQUESTS are not defined in 2.2 kernel, I
hope it was in 2.3?
So I simply rewrite this define, and now it
is compile well. But my question is, whether
there can be other issues with using 2.2 kernel.
Thanks.
--
David Hajek
hajek@example.com GSM: +420 604 352968
- Computer programs expand so as to fill the core available.
I was unable to compile drbd version 0.6.1-pre7
on linux 2.2.20. The problem is with
NR_REQUESTS define in drbd_receiver.c on line 629
there is
-cut-
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#define NUMBER (NR_REQUESTS/4)
#else
#define NUMBER 24
#endif
-end-
but NR_REQUESTS are not defined in 2.2 kernel, I
hope it was in 2.3?
So I simply rewrite this define, and now it
is compile well. But my question is, whether
there can be other issues with using 2.2 kernel.
Thanks.
--
David Hajek
hajek@example.com GSM: +420 604 352968
- Computer programs expand so as to fill the core available.