-
Notifications
You must be signed in to change notification settings - Fork 474
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
check-deps:changed gelf function in __have_libelf.c #1959
base: master
Are you sure you want to change the base?
Conversation
I only wonder why you break formatting of the original file from a tab to 6 spaces. ps. Ah, the CI reported the same. BTW, you don't need to close PR to fix this, just fix and |
oh, okay thanks @vt-alt |
9c3c270
to
fd2d85b
Compare
[Re-upload] The currently reflected __have_libelf.c may cause errors during compilation if unused variables(GElf_Ehdr ehdr) are declared. #include <gelf.h>
#include <libelf.h>
int main(void)
{
Elf *elf;
elf_version(EV_CURRENT);
/* check that the gelf function */
elf = elf_begin(0, ELF_C_READ, (Elf *)0);
gelf_checksum(elf);
elf_end(elf);
return 0;
} FYI, when i tried Sorry for the inconvenience! |
First, Thank you for your efforts to resolve this issue. However, There are a few rules to follow to write a good readable commit message, and there are three things you should fix in your commit message:
Could you please make this change? |
Even though 'libelf-devel' is installed, 'libelf' is displayed as [OFF] rather than [ON] when running ./configure. Fixed : namhyung#1869 Signed-off-by: SoJin Jang <[email protected]>
fd2d85b
to
90fd9e0
Compare
Thanks, @gichoel |
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
The currently reflected __have_libelf.c may cause errors during compilation if unused variables(GElf_Ehdr ehdr) are declared.
so i would like to modify it as follows :
Thanks,
Fixed : #1869 (gcc -Wall -Werror: libelf: [ OFF ] even when libelf-devel is installed)