Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Building Heka on Windows 10 failed #1948

Open
liuyangc3 opened this issue Jun 13, 2016 · 1 comment
Open

Building Heka on Windows 10 failed #1948

liuyangc3 opened this issue Jun 13, 2016 · 1 comment

Comments

@liuyangc3
Copy link

Hi,
I have installed cmake, patch,mingGW on my laptop.
after running build.bat,I got this error:

[ 62%] Building C object src/CMakeFiles/sts_test.dir/symtseries.c.obj
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c: In function 'test_to_sax_stationary':
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c:783:9: error: unknown conversion type character 'z' in format [-Werror=format=]
         mu_assert(sax->symbols[i] == (c / 2) - 1 + (c % 2),
         ^
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c:783:9: error: too many arguments for format [-Werror=format-extra-args]
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c: In function 'test_sliding_word':
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c:829:7: error: unknown conversion type character 'z' in format [-Werror=format=]
       TEST_FILL(window, dword, word);
       ^
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c:829:7: error: too many arguments for format [-Werror=format-extra-args]
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c:837:7: error: unknown conversion type character 'z' in format [-Werror=format=]
       TEST_FILL(window, dword, word);
       ^
C:\heka\build\ep_base\Build\lua_sandbox\ep_base\Source\lua_sax\src\symtseries.c:837:7: error: too many arguments for format [-Werror=format-extra-args]
cc1.exe: all warnings being treated as errors
src\CMakeFiles\sts_test.dir\build.make:62: recipe for target 'src/CMakeFiles/sts_test.dir/symtseries.c.obj' failed
mingw32-make[8]: *** [src/CMakeFiles/sts_test.dir/symtseries.c.obj] Error 1
CMakeFiles\Makefile2:1058: recipe for target 'src/CMakeFiles/sts_test.dir/all' failed
mingw32-make[7]: *** [src/CMakeFiles/sts_test.dir/all] Error 2

how to fix it?

I am not familiar with compiler,and trying to remove the -Werror flag,but can't find it

@liuyangc3 liuyangc3 changed the title building heka on windows 10 failed Building Heka on Windows 10 failed Jun 13, 2016
@liuyangc3
Copy link
Author

and if I use go 1.6 after run hekad:

panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
    panic: runtime error: cgo argument has Go pointer to Go pointer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant