-
Notifications
You must be signed in to change notification settings - Fork 37
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
[build] fix issue when executing build-commissioner-libs.sh
multiple times
#250
Conversation
When developers run the 'build-commissioner-libs.sh' script multiple times, they might see the following error during compiling the libevent: error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations ... In fact, we did not use pip2 in libevent. We can turn it off by using the macro EVENT_HAVE-PIPE2=0
@jwhui seems that I cannot add reviewers into this PR, could you please add me into this project as a contributor? thanks. |
Better add this to third_party/libevent/CMakeLists.txt:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #250 +/- ##
=======================================
Coverage 73.35% 73.35%
=======================================
Files 71 71
Lines 7420 7421 +1
=======================================
+ Hits 5443 5444 +1
Misses 1977 1977
|
When developers run the 'build-commissioner-libs.sh' script multiple times, they might see the following error during compiling the libevent: error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations ... In fact, we did not use pip2 in libevent. We can turn it off by using the macro EVENT_HAVE-PIPE2=0
When developers run the 'build-commissioner-libs.sh' script multiple times, they might see the following error during compiling the libevent: error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations ... In fact, we did not use pip2 in libevent. We can turn it off by using the macro EVENT_HAVE-PIPE2=0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
build-commissioner-libs.sh
multiple times
When developers run the 'build-commissioner-libs.sh' script multiple times, they might see the following error during compiling the libevent:
error: call to undeclared function 'pipe2'; ISO C99 and later do not support implicit function declarations ...
In fact, we did not use pip2 in libevent. We can turn it off by using the macro EVENT_HAVE-PIPE2=0