Please, I need help...
Philipp Reisner wrote:
>
> Please use drbd-0.6.1-pre7
I can't compile... I using Slackware 8.0, kernel 2.2.19, no SMP, and
modified Makefile.var (KAF_i386 := -fno-strict-aliasing
#-mpreferred-stack-boundary=2), but it returns
root@metallica:~/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 -g -D__KERNEL__ -DMODULE -O2 -Wall -fno-strict-aliasing
-I/usr/src/linux/include -DEXPORT_SYMTAB -DAPI_VERSION=58
-DPRO_VERSION=60 -DREL_VERSION=\"0.6.1-pre7\" drbd_receiver.c
In file included from drbd_receiver.c:49:
drbd_int.h:412: warning: `init_waitqueue_entry' redefined
/usr/src/linux/include/linux/wait.h:26: warning: this is the location
of
the previous definition
drbd_receiver.c: In function `receive_data':
drbd_receiver.c:635: `NR_REQUESTS' undeclared (first use in this
function)
drbd_receiver.c:635: (Each undeclared identifier is reported only once
drbd_receiver.c:635: for each function it appears in.)
drbd_receiver.c: At top level:
/usr/src/linux/include/linux/blk.h:461: warning: `do_nbd_request'
declared `static' but never defined
make[1]: *** [drbd_receiver.o] Error 1
make[1]: Leaving directory `/root/drbd/drbd'
make: *** [all] Error 2
If I use the first line instead, it returns
root@metallica:~/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 -g -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 -DEXPORT_SYMTAB -DAPI_VERSION=58
-DPRO_VERSION=60 -DREL_VERSION=\"0.6.1-pre7\" drbd_receiver.c
In file included from drbd_receiver.c:49:
drbd_int.h:412: warning: `init_waitqueue_entry' redefined
/usr/src/linux/include/linux/wait.h:26: warning: this is the location of
the previous definition
drbd_receiver.c: In function `receive_data':
drbd_receiver.c:635: `NR_REQUESTS' undeclared (first use in this function)
drbd_receiver.c:635: (Each undeclared identifier is reported only once
drbd_receiver.c:635: for each function it appears in.)
drbd_receiver.c: At top level:
/usr/src/linux/include/linux/blk.h:461: warning: `do_nbd_request' declared
`static' but never defined
make[1]: *** [drbd_receiver.o] Error 1
make[1]: Leaving directory `/root/drbd/drbd'
make: *** [all] Error 2
> (and patch your kernel to export the wake_up_process symbol)
Sorry, but what does it mean???
>
> -Philipp
--
Sulamita Garcia Alta Disponibilidade em Linux
Analista de Suporte
http://ha.underlinux.com.br sulamita.garcia@example.com
ICQ 16465301 Grupo de Usuárias de Linux