Ola lista,

Alguem sabe como resolver o  problema que esta acontecendo quando tento
compilar o drbd no meu Linux Suse kernel 2.4.10: (a versao do drbd que estou
usando � 0.5.8.1)

rsm1:~/drbd # make
make[1]: Entering directory `/root/drbd/user'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/drbd/user'
make[1]: Entering directory `/root/drbd/drbd'
gcc -c -D__KERNEL__ -DMODULE -O2 -Wall -m486 -DCPU=586 -malign-loops=2 -mali
gn-jumps=2 -malign-functions=2 -fomit-frame-pointer  -I/usr/src/linux/includ
e   -DMOD_VERSION=58 -DEXPORT_SYMTAB drbd.c
drbd.c:302: warning: `min' redefined
/usr/src/linux/include/linux/kernel.h:135: warning: this is the location of
the previous definition
drbd.c:303: warning: `max' redefined
/usr/src/linux/include/linux/kernel.h:141: warning: this is the location of
the previous definition
drbd.c: In function `drbd_proc_get_info':
drbd.c:407: `NR_REQUEST' undeclared (first use in this function)
drbd.c:407: (Each undeclared identifier is reported only once
drbd.c:407: for each function it appears in.)
drbd.c: In function `drbd_send':
drbd.c:1082: structure has no member named `signal'
drbd.c:1082: structure has no member named `signal'
drbd.c:1083: structure has no member named `signal'
drbd.c: In function `drbd_dio_end':
drbd.c:1240: structure has no member named `b_dev_id'
drbd.c: In function `drbd_do_request':
drbd.c:1359: structure has no member named `b_dev_id'
drbd.c: In function `drbd_connect':
drbd.c:2225: structure has no member named `signal'
drbd.c:2225: structure has no member named `signal'
drbd.c:2226: structure has no member named `signal'
drbd.c: In function `receive_data':
drbd.c:2456: too many arguments to function `mark_buffer_dirty'
drbd.c:2483: `NR_REQUEST' undeclared (first use in this function)
drbd.c: In function `drbdd_init':
drbd.c:2872: structure has no member named `signal'
drbd.c:2872: structure has no member named `signal'
drbd.c:2873: structure has no member named `signal'
drbd.c: At top level:
/usr/src/linux/include/linux/blk.h:367: warning: `do_nbd_request' declared
`static' but never defined
make[1]: *** [drbd.o] Error 1
make[1]: Leaving directory `/root/drbd/drbd'
make: *** [all] Error 2

Obrigado !

ass: Ricardo Costa


Assinantes em 07/03/2002: 2245
Mensagens recebidas desde 07/01/1999: 157462
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a