Mailing List Archive

Re: compiler question
* TURK Istvan <mosquito@example.com> [001110 12:51]:
>
> hi,
>
> i would like to compile drbd-0.5.7, but i got a follow error message!
> my system is a debian woody linux with a 2.4.0-test08 kernel!
>
> what is the mistake?

Sorry, for the moment only 2.2.x Kernels are supported. -- As
soon as there is a release of 2.4.x I will work on 2.4.x support
with high priority.

-Philipp

>
> thx,
>
> mosquito
>
>
> ke[1]: Entering directory `/space/drbd/user'
> gcc -c -Wall -g -DDBG -DVERSION=\"0.5.7\" -DMOD_VERSION=57 drbdsetup.c
> gcc -o drbdsetup drbdsetup.o
> make[1]: Leaving directory `/space/drbd/user'
> make[1]: Entering directory `/space/drbd/drbd'
> gcc -c -D__KERNEL__ -DMODULE -O2 -Wall -m486 -DCPU=586 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer
> -I/usr/src/linux/include -DMOD_VERSION=57 -DEXPORT_SYMTAB drbd.c
> drbd.c: In function `drbd_proc_get_info':
> drbd.c:371: `NR_REQUEST' undeclared (first use in this function)
> drbd.c:371: (Each undeclared identifier is reported only once
> drbd.c:371: for each function it appears in.)
> drbd.c: In function `drbd_send':
> drbd.c:1040: structure has no member named `signal'
> drbd.c:1040: structure has no member named `signal'
> drbd.c:1041: structure has no member named `signal'
> drbd.c: In function `drbd_dio_end':
> drbd.c:1180: structure has no member named `b_dev_id'
> drbd.c: In function `drbd_do_request':
> drbd.c:1298: structure has no member named `b_dev_id'
> drbd.c: In function `drbd_connect':
> drbd.c:2001: structure has no member named `signal'
> drbd.c:2001: structure has no member named `signal'
> drbd.c:2002: structure has no member named `signal'
> drbd.c: In function `receive_data':
> drbd.c:2188: too many arguments to function `mark_buffer_dirty'
> drbd.c:2215: `NR_REQUEST' undeclared (first use in this function)
> drbd.c: In function `drbdd_init':
> drbd.c:2545: structure has no member named `signal'
> drbd.c:2545: structure has no member named `signal'
> drbd.c:2546: structure has no member named `signal'
> drbd.c: At top level:
> /usr/src/linux/include/linux/blk.h:355: warning: `do_nbd_request' declared
> `static' but never defined
> make[1]: *** [drbd.o] Error 1
> make[1]: Leaving directory `/space/drbd/drbd'
> make: *** [all] Error 2
>
>
>
>