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

Johnny Hughes mailing-lists at hughesjr.com
Sun Jan 6 00:44:35 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.


Chris Harms wrote:
> 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

Chris,

My CentOS test SRPMS have a patch for this issue:

http://people.centos.org/~hughesjr/drbd/5/SRPMS/

drbd-8.0.8-1.el5.centos.src.rpm

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080105/72acb190/attachment.pgp>


More information about the drbd-user mailing list