ceph-dokan
ceph-dokan copied to clipboard
Error compile ceph-dokan in Windows Server 2016
I've followed the give to compile ceph-dokan but, this error is ocurring when I exec mingw32-make
inside the project folder:
c:\ceph-dokan-master>mingw32-make
gcc -D__USE_FILE_OFFSET64 -DHAVE_CONFIG_H -I. -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -fno-strict-aliasing -fsigned-char -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -g -DPIC -w -c -I./ -I./global -I./mingw_include -IC:\boost_1_63_0 dokan/ceph_dokan.c -o dokan/ceph_dokan.o
dokan/ceph_dokan.c: In function 'DbgPrintW':
dokan/ceph_dokan.c:151:9: error: too few arguments to function 'vswprintf'
vswprintf(buffer, format, argp);
^
In file included from C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:824:0,
from dokan/ceph_dokan.c:10:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/swprintf.inl:23:5: note: declared here
int vswprintf (wchar_t *__stream, size_t __count, const wchar_t *__format, __builtin_va_list __local_argv)
^
dokan/ceph_dokan.c: In function 'AlwaysPrintW':
dokan/ceph_dokan.c:167:5: error: too few arguments to function 'vswprintf'
vswprintf(buffer, format, argp);
^
In file included from C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:824:0,
from dokan/ceph_dokan.c:10:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/swprintf.inl:23:5: note: declared here
int vswprintf (wchar_t *__stream, size_t __count, const wchar_t *__format, __builtin_va_list __local_argv)
^
Makefile:48: recipe for target 'dokan/ceph_dokan.o' failed
mingw32-make: *** [dokan/ceph_dokan.o] Error 1