[DRBD-user] Can not compile drbd 0.7.21 with FC5 kernel 2.6.18-1.2200.

Francis SOUYRI francis.souyri at apec.fr
Tue Oct 17 08:35:15 CEST 2006

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


Hello,

When I try to compile the drbd 0.7.21 with the latest fc5 kernel 
2.6.18-1.2200 I have these messages.

++ echo -e '#include <linux/version.h>\ndrbd_kernel_release UTS_RELEASE'
++ gcc -nostdinc -E -P -I/lib/modules/2.6.18-1.2200.fc5/source/include -
++ sed -ne 's/^drbd_kernel_release "\(.*\)".*/\1/p'
+ test = 2.6.18-1.2200.fc5smp
/var/tmp/rpm-tmp.3564: line 40: test: =: unary operator expected
error: Bad exit status from /var/tmp/rpm-tmp.3564 (%prep)


RPM build errors:
    Macro %kernelversion has empty body
    Macro %kernelversion has empty body
    Bad exit status from /var/tmp/rpm-tmp.3564 (%prep)
make: *** [rpm] Error 1

Best regards.

Francis



More information about the drbd-user mailing list