[DRBD-user] RE: [DRBD-announce] drbd-8.0.8.tar.gz

Florian Haas florian.haas at linbit.com
Tue Dec 11 11:23:53 CET 2007

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


Hello,

thanks for pointing this out. We'll have a look at that. DRBD 8.0.8 on 32bit 
RHEL 5U1/CentOS 5.1 builds fine, btw.

Cheers,
Florian

On Tuesday 11 December 2007 11:11:55 Thomas Althoff wrote:
> Hi,
>
> 8.0.8 seems to have some kind of problem with RHEL/Centos 5.1 (eg.
> 2.6.18-53.1.4.el5).
> 8.0.[4-7] compiles fine.
>
> 8.0.8
> =====
>
> [root at cl-db2 drbd-8.0.8]# make
> make -C drbd drbd_buildtag.c
> make[1]: Entering directory `/home/build/drbd-8.0.8/drbd'
> make[1]: Leaving directory `/home/build/drbd-8.0.8/drbd'
> make[1]: Entering directory `/home/build/drbd-8.0.8/user'
> gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_usage_cnt.o
> drbdadm_usage_cnt.c
> cp ../drbd/drbd_buildtag.c drbd_buildtag.c
> gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbd_buildtag.o drbd_buildtag.c
> gcc -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o
> drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o
> 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'
> drbdmeta.c: In function 'v08_validate_md':
> drbdmeta.c:634: warning: format '%lu' expects type 'long unsigned int',
> but argument 4 has type 'uint64_t'
> drbdmeta.c: In function 'printf_bm':
> drbdmeta.c:872: warning: format '%016lX' expects type 'long unsigned
> int', but argument 3 has type 'uint64_t'
> drbdmeta.c:878: warning: format '%016lX' expects type 'long unsigned
> int', but argument 2 has type 'uint64_t'
> drbdmeta.c: In function 'md_initialize_common':
> drbdmeta.c:1376: warning: format '%u' expects type 'unsigned int', but
> argument 3 has type 'size_t'
> drbdmeta.c: In function 'meta_dump_md':
> drbdmeta.c:1750: warning: format '%016lX' expects type 'long unsigned
> int', but argument 2 has type 'long long unsigned int'
> drbdmeta.c:1758: warning: format '%lu' expects type 'long unsigned int',
> but argument 2 has type 'uint64_t'
> drbdmeta.c:1763: warning: format '%016lX' expects type 'long unsigned
> int', but argument 2 has type 'uint64_t'
> drbdmeta.c: In function 'check_for_existing_data':
> drbdmeta.c:2211: warning: format '%lu' expects type 'long unsigned int',
> but argument 2 has type 'uint64_t'
> drbdmeta.c:2212: warning: format '%lu' expects type 'long unsigned int',
> but argument 2 has type 'uint64_t'
> drbdmeta.c: In function 'meta_read_dev_uuid':
> drbdmeta.c:2441: warning: format '%016lX' expects type 'long unsigned
> int', but argument 2 has type 'uint64_t'
> make[1]: *** [drbdmeta.o] Error 1
> make[1]: Leaving directory `/home/build/drbd-8.0.8/user'
> make: *** [tools] Error 2
>
> Suggestions ?
>
> -Thomas



-- 
: Florian G. Haas
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria



More information about the drbd-user mailing list