[DRBD-user] DRBD 8.0.8 on RHEL 5 x86_64 build problems

Chris Harms chris at cmiware.com
Sat Jan 5 22:44:01 CET 2008

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 receive the following errors trying to build DRBD 8.0.8 on an x86_64 
machine after updating to the RHEL 5 vendor kernel 2.6.18-53.1.4.el5

gcc -g -O2 -c -W -Wall -I../drbd -fno-strict-aliasing   -c -o drbdmeta.o 
drbdmeta.c
In file included from /usr/include/asm/types.h:5,
                 from drbdtool_common.h:4,
                 from drbdmeta.c:51:
/usr/include/asm-x86_64/types.h:23: error: conflicting types for uint64_t
/usr/include/stdint.h:56: error: previous declaration of uint64_t was here
drbdmeta.c: In function âv07_validate_md:
drbdmeta.c:496: warning: format %lu expects type long unsigned int, but 
argument 4 has type âuint64_t

version 8.0.6 builds and appears to be functional after the kernel upgrade.

Thanks,
Chris



More information about the drbd-user mailing list