Github user benqiu2016 commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/74
  
    @phrocker  
    97%] Building C object 
thirdparty/civetweb-1.9.1/src/CMakeFiles/c-executable.dir/main.c.o
    Linking C executable civetweb
    /usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 
‘send_file_data’:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:290:2: error: call to 
‘__fread_chk_warn’ declared with attribute warning: fread called with 
bigger size * nmemb than length of destination buffer [-Werror]
      return __fread_chk (__ptr, __bos0 (__ptr), __size, __n, __stream);
      ^
    lto1: all warnings being treated as errors
    lto-wrapper: /usr/bin/gcc returned 1 exit status
    /usr/bin/ld: lto-wrapper failed
    collect2: error: ld returned 1 exit status
    make[2]: *** [thirdparty/civetweb-1.9.1/src/civetweb] Error 1
    make[1]: *** 
[thirdparty/civetweb-1.9.1/src/CMakeFiles/c-executable.dir/all] Error 2
    make: *** [all] Error 2


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to