[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:       Lars Ellenberg <lars.ellenberg () linbit ! com>
Date:       2008-01-06 0:17:52
Message-ID: 20080106001752.GA9979 () debian-etc-mailname
[Download RAW message or body]

On Sat, Jan 05, 2008 at 03:44:01PM -0600, 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.

unfortunately during the "bitfield-endianess conversion", an include
statement got lost, and we only recognized that shortly after the
release of 8.0.8. fix is at:

http://git.drbd.org/?p=drbd-8.0.git;a=commitdiff;h=47782c8360ad640fdb60d0ef20615e15c876ba97

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.
_______________________________________________
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