Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Ok, I'm probably setting myself up to get flamed... I'm sure I'm missing something obvious, but I've been missing it for 3 days now and it's almost go time so I gotta ask. FYI - I've made drbd many times on everything from RH7.2 to FC3, I'm really not a newbie. Trying to compile on RHEL3 (Kernel: 2.4.21-27.ELsmp) and I'm getting the following make errors... make[4]: Leaving directory `/usr/src/linux-2.4.21-27.EL' make -C /root/drbd-0.7.8/dist/BUILD/drbd-0.7.8/drbd CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.21-27.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-27.EL/include/linux/modversions.h" MAKING_MODULES=1 modules make[4]: Entering directory `/root/drbd-0.7.8/dist/BUILD/drbd-0.7.8/drbd' gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-27.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-27.EL/include/linux/modversions.h -I/root/drbd-0.7.8/dist/BUILD/drbd-0.7.8/drbd -nostdinc -iwithprefix include -DKBUILD_BASENAME=drbd_sizeof_sanity_check -c -o drbd_sizeof_sanity_check.o drbd_sizeof_sanity_check.c drbd_sizeof_sanity_check.c:5: invalid suffix on integer constant drbd_sizeof_sanity_check.c:5: syntax error before numeric constant drbd_sizeof_sanity_check.c:6: `printk_R_ver_str' declared as function returning a function drbd_sizeof_sanity_check.c:6: warning: function declaration isn't a prototype drbd_sizeof_sanity_check.c: In function `sizeof_drbd_structs_sanity_check': drbd_sizeof_sanity_check.c:18: invalid suffix on integer constant drbd_sizeof_sanity_check.c:18: warning: null format string drbd_sizeof_sanity_check.c:18: called object is not a function drbd_sizeof_sanity_check.c:19: invalid suffix on integer constant drbd_sizeof_sanity_check.c:19: warning: null format string drbd_sizeof_sanity_check.c:19: called object is not a function drbd_sizeof_sanity_check.c:20: invalid suffix on integer constant drbd_sizeof_sanity_check.c:20: warning: null format string drbd_sizeof_sanity_check.c:20: called object is not a function drbd_sizeof_sanity_check.c:21: invalid suffix on integer constant drbd_sizeof_sanity_check.c:21: warning: null format string drbd_sizeof_sanity_check.c:21: called object is not a function drbd_sizeof_sanity_check.c:22: invalid suffix on integer constant drbd_sizeof_sanity_check.c:22: warning: null format string drbd_sizeof_sanity_check.c:22: called object is not a function drbd_sizeof_sanity_check.c:23: invalid suffix on integer constant drbd_sizeof_sanity_check.c:23: warning: null format string drbd_sizeof_sanity_check.c:23: called object is not a function drbd_sizeof_sanity_check.c:24: invalid suffix on integer constant drbd_sizeof_sanity_check.c:24: warning: null format string drbd_sizeof_sanity_check.c:24: called object is not a function drbd_sizeof_sanity_check.c:25: invalid suffix on integer constant drbd_sizeof_sanity_check.c:25: warning: null format string drbd_sizeof_sanity_check.c:25: called object is not a function drbd_sizeof_sanity_check.c:26: invalid suffix on integer constant drbd_sizeof_sanity_check.c:26: warning: null format string drbd_sizeof_sanity_check.c:26: called object is not a function make[4]: *** [drbd_sizeof_sanity_check.o] Error 1 make[4]: Leaving directory `/root/drbd-0.7.8/dist/BUILD/drbd-0.7.8/drbd' make[3]: *** [_mod_/root/drbd-0.7.8/dist/BUILD/drbd-0.7.8/drbd] Error 2 make[3]: Leaving directory `/usr/src/linux-2.4.21-27.EL' make[2]: *** [kbuild] Error 2 make[2]: Leaving directory `/root/drbd-0.7.8/dist/BUILD/drbd-0.7.8/drbd' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/drbd-0.7.8/dist/BUILD/drbd-0.7.8' Please help! Thanks, Josh McAllister