[DRBD-user] Red Hat EL AS 3.0 make problemy

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jul 16 20:41:21 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.


/ 2004-07-16 19:53:49 -0700
\ Ernest Byaruhanga:
> 
> hi drbd users,
> 
> my system is: redhat EL AS 3.0
>               kernel 2.4.21-ELsmp
> 	      drbd 0.7
> 
> while installing, i do a make clean all,
> 
> the following errors appear:
> 
> [...]
> 
> In file included from 
> /usr/src/linux-2.4.21-4.EL/include/linux/vmalloc.h:4,
>                  from drbd_bitmap.c:30:
> /usr/src/linux-2.4.21-4.EL/include/linux/sched.h:6: invalid suffix on 
> integer constant
> /usr/src/linux-2.4.21-4.EL/include/linux/sched.h:6: syntax error before 
> numeric constant
> /usr/src/linux-2.4.21-4.EL/include/linux/sched.h:6: warning: function 
> declaration isn't a prototype

[ and more of this nonsense ]

> 
> what could be the problem? please help..!

RH forces you to use a differenc compiler for kernel compiles than its
"standard" compiler.
try with make CC=gcc32, or read about redhat kernel compiles before
further strugling with DRBD, since this has nothing to do with DRBD,
but only with RH being "special"...

	Lars Ellenberg



More information about the drbd-user mailing list