no.molas
(usa FreeBSD)
Enviado em 03/09/2009 - 14:14h
Ola a todos;
Estou tendo problemas em incrementar o patch dele no kernel para efetuar a compilação, ja tentei dezenas de tutoriais, e mesmo o site do drbd, mais nao consegui resolver isso.
Queria uma ajuda na interpretação do log do erro:
dh_testdir â
â dh_testroot â
â dh_clean -k â
â /usr/bin/make -C drbd KERNEL_SOURCES=/lib/modules/2.6.26-2-686/build â
â MODVERSIONS=detect KERNEL=linux-2.6.26-2-686 â
â KDIR=/lib/modules/2.6.26-2-686/build ARCH_UM= â
â make[2]: Entrando no diretório `/usr/src/modules/drbd/drbd'
â â
â Calling toplevel makefile of kernel source tree, which I believe is â
â in â
â KDIR=/lib/modules/2.6.26-2-686/build â
â â
â test -f ../scripts/adjust_drbd_config_h.sh && \ â
â KDIR=/lib/modules/2.6.26-2-686/build /bin/bash â
â ../scripts/adjust_drbd_config_h.sh
Using unmodified drbd_config.h â
â â
â /usr/bin/make -C /lib/modules/2.6.26-2-686/build â
â SUBDIRS=/usr/src/modules/drbd/drbd modules â
â make[3]: Entrando no diretório `/usr/src/linux-headers-2.6.26-2-686'
â scripts/Makefile.build:46: *** CFLAGS was changed in â
â "/usr/src/modules/drbd/drbd/Makefile". Fix it to use EXTRA_CFLAGS. Pare. â
â make[3]: ** [_module_/usr/src/modules/drbd/drbd] Erro 2 â
â make[3]: Saindo do diretório `/usr/src/linux-headers-2.6.26-2-686'
â make[2]: ** [kbuild] Erro 2 â
â make[2]: Saindo do diretório `/usr/src/modules/drbd/drbd'
â make[1]: ** [binary-modules] Erro 2 â
® 1]: Saindo do diretório `/usr/src/modules/drbd' '
â make: ** [kdist_build] Erro 2 â
â 1 ' ' '
##############################
Quando dou o comando :
m-a a-i drbd0.7-module-source
Gostaria de uma ajuda.
Abraco