Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compile ceph-dokan in Windows Server 2016 #16

Open
galindro opened this issue May 18, 2017 · 0 comments
Open

Error compile ceph-dokan in Windows Server 2016 #16

galindro opened this issue May 18, 2017 · 0 comments

Comments

@galindro
Copy link

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
@galindro galindro changed the title Error on compile in Windows 2016 Error on compile in Windows Server 2016 May 18, 2017
@galindro galindro changed the title Error on compile in Windows Server 2016 Error compile ceph-dokan in Windows Server 2016 May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant