Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, I've tried to compile drbd-0.8pre3 against 2.6 RHEL kernel without success I use a particular configuration because the server runs using debian sarge 3.1 but using RHEL kernel with freevps (www.freevps.com) I've used gcc 3.3.5-3 ------------------------------------------------------------------------------------------------------------- #make clean CC=gcc32; make KDIR=/usr/src/freevps/kernel_26 rm -rf .tmp_versions rm -f *.[oas] *.ko .*.cmd .*.d .*.tmp *.mod.c .*.flags .depend .kernel* Calling toplevel makefile of kernel source tree, which I believe is in KDIR=/usr/src/freevps/kernel_26 make -C /usr/src/freevps/kernel_26 SUBDIRS=/usr/src/drbd-8.0pre3/drbd modules make[1]: Entering directory `/usr/src/freevps/kernel_26' CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_sizeof_sanity_check.o CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_buildtag.o CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_bitmap.o In file included from /usr/src/drbd-8.0pre3/drbd/drbd_bitmap.c:34: /usr/src/drbd-8.0pre3/drbd/drbd_int.h:1669:3: warning: #warning "TCQ code disabled at compile time." CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_fs.o In file included from /usr/src/drbd-8.0pre3/drbd/drbd_fs.c:43: /usr/src/drbd-8.0pre3/drbd/drbd_int.h:1669:3: warning: #warning "TCQ code disabled at compile time." /usr/src/drbd-8.0pre3/drbd/drbd_fs.c:396:2: warning: #warning checks below no longer valid CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_proc.o In file included from /usr/src/drbd-8.0pre3/drbd/drbd_proc.c:40: /usr/src/drbd-8.0pre3/drbd/drbd_int.h:1669:3: warning: #warning "TCQ code disabled at compile time." CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_worker.o In file included from /usr/src/drbd-8.0pre3/drbd/drbd_worker.c:42: /usr/src/drbd-8.0pre3/drbd/drbd_int.h:1669:3: warning: #warning "TCQ code disabled at compile time." CC [M] /usr/src/drbd-8.0pre3/drbd/drbd_receiver.o In file included from /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:53: /usr/src/drbd-8.0pre3/drbd/drbd_int.h:1669:3: warning: #warning "TCQ code disabled at compile time." /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c: In function `drbd_accept': /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:432: warning: passing arg 1 of `sock_create' makes pointer from integer without a cast /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:432: warning: passing arg 4 of `sock_create' makes integer from pointer without a cast /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:432: error: too few arguments to function `sock_create' /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c: In function `drbd_try_connect': /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:550: warning: passing arg 1 of `sock_create' makes pointer from integer without a cast /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:550: warning: passing arg 4 of `sock_create' makes integer from pointer without a cast /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:550: error: too few arguments to function `sock_create' /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c: In function `drbd_wait_for_connect': /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:599: warning: passing arg 1 of `sock_create' makes pointer from integer without a cast /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:599: warning: passing arg 4 of `sock_create' makes integer from pointer without a cast /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:599: error: too few arguments to function `sock_create' /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c: At top level: /usr/src/drbd-8.0pre3/drbd/drbd_receiver.c:1578: warning: `drbd_uuid_dump' defined but not used make[2]: *** [/usr/src/drbd-8.0pre3/drbd/drbd_receiver.o] Error 1 make[1]: *** [_module_/usr/src/drbd-8.0pre3/drbd] Error 2 make[1]: Leaving directory `/usr/src/freevps/kernel_26' make: *** [kbuild] Error 2 --------------------------------------------------------------------------------------------------------------- Thanks for your help Regards