i used the 2.4.25 from kernel.org Ed said: > Helo to all, > can someone help me with setting up drbd, I used kernel-2.4.18 and > kernel-2.4.16 to no vail. I already disable CONFIG_MODVERSIONS as > mentioned > on the drbd how to's website and rebuild kernel...but nothing happens. I'm > still getting the same error message. I can't find some help on > google....maybe someone have experience this error message....thnks in > advance. > > > 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-2.4.16 > /include -DMOD_VERSION=58 -DEXPORT_SYMTAB drbd.c > drbd.c:1553:21: warning: pasting "new_conf" and "." does not give a valid > preprocessing token > drbd.c:1553:41: warning: pasting "conf" and "." does not give a valid > preprocessing token > drbd.c:1554:21: warning: pasting "new_conf" and "." does not give a valid > preprocessing token > drbd.c:1554:41: warning: pasting "conf" and "." does not give a valid > preprocessing token > drbd.c:1559:21: warning: pasting "new_conf" and "." does not give a valid > preprocessing token > drbd.c:1559:41: warning: pasting "conf" and "." does not give a valid > preprocessing token > drbd.c:1560:21: warning: pasting "new_conf" and "." does not give a valid > preprocessing token > drbd.c:1560:41: warning: pasting "conf" and "." does not give a valid > preprocessing token > In file included from drbd.c:86: > /usr/src/linux-2.4.16/include/linux/blk.h:298: parse error before > `DEVICE_REQUEST' > In file included from drbd.c:89: > /usr/src/linux-2.4.16/include/linux/blkpg.h:32: syntax error before > `struct' > 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' > make: *** [drbd.o] Error 1 > > > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie >
-- "There is no security in life, just opportunities." Douglas McArthur -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
