Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

new am-utils fail to compile for evbearmhf-el (cross compiling am amd64)



Hi,

new am-utils fail to compile for evbearmhf-el:

    compile  amd/nfs_subr.o
/u/NetBSD/src/external/bsd/am-utils/dist/amd/nfs_subr.c: In function 'am_nfs3_getattr_3_svc':
/u/NetBSD/src/external/bsd/am-utils/dist/amd/nfs_subr.c:1113:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'am_size3' [-Werror=format=]
   (u_int) fattr3->mtime.nseconds);
   ^
cc1: all warnings being treated as errors

*** Failed target:  nfs_subr.o
*** Failed command: /u/NetBSD/arch/evbearmhf-el/TOOLS/bin/arm--netbsdelf-eabihf-gcc -O2 -pipe -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Werror --sysroot=/u/NetBSD/arch/evbearmhf-el/dest -DHAVE_CONFIG_H -I/u/NetBSD/src/external/bsd/am-utils/bin/amd/../../include -I/u/NetBSD/src/external/bsd/am-utils/dist/libamu -I/u/NetBSD/src/external/bsd/am-utils/dist/include -I/u/NetBSD/arch/evbearmhf-el/obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1 -I/u/NetBSD/src/external/bsd/am-utils/dist/amd -I/u/NetBSD/arch/evbearmhf-el/obj/external/bsd/am-utils/bin/amd -c /u/NetBSD/src/external/bsd/am-utils/dist/amd/nfs_subr.c
*** Error code 1

Stop.
nbmake[1]: stopped in /u/NetBSD/src/external/bsd/am-utils/bin/amd

Kurt


Home | Main Index | Thread Index | Old Index