[DRBD-user] DRBD make errors

Ernest Byaruhanga ernest at afrinic.org
Tue Jun 15 21:16:31 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello DRBD users,

I am trying to Install DRBD 0.6.12 on RedHat Enterprise AS 3.0 
(kernel2.4.21-4.ELsmp) I get the following errors while doing a 
"make clean all"

<snip>

/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:972: invalid suffix on integer 
constant
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:972: syntax error before numeric 
constant
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:972: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:972: field `unlockfs_R_ver_str' 
declared as a function
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1132: invalid suffix on integer 
constant
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1132: syntax error before 
numeric constant
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1132: `sys_close_R_ver_str' 
declared as function returning a function
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1132: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1138: invalid suffix on integer 
constant
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1138: syntax error before 
numeric constant
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1138: `getname_R_ver_str' 
declared as function returning a function
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1138: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.21-4.EL/include/linux/fs.h:1148: 
`unregister_blkdev_R_ver_str' declared as function returning a function

<snip>

make[2]: *** [drbd_fs.o] Error 1
make[2]: Leaving directory `/usr/src/drbd-0.6.12/drbd'
make[1]: *** [_mod_/usr/src/drbd-0.6.12/drbd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-4.EL'
make: *** [kbuild] Error 2

what am i doing wrong? At first i got the error about loadabe modules not 
being enabled in th ekernel, but i checked and they are enabled. I then 
instead enabled the "Network Block Device" in th ekernel.

please help!
-- 

     +-------------------------------------+	
     |	Ernest M. Byaruhanga,              |
     |  AfriNIC - http://www.afrinic.net   |
     +-------------------------------------+



More information about the drbd-user mailing list