[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] DRBD 8.0.8 on RHEL 5 x86_64 build problems
From:       Johnny Hughes <mailing-lists () hughesjr ! com>
Date:       2008-01-05 23:44:35
Message-ID: 47801663.5050900 () hughesjr ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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


["signature.asc" (application/pgp-signature)]

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic