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

Conflictig declarations of kconfig_id_lookup #2

Open
lhartmann opened this issue Feb 18, 2020 · 1 comment
Open

Conflictig declarations of kconfig_id_lookup #2

lhartmann opened this issue Feb 18, 2020 · 1 comment
Assignees

Comments

@lhartmann
Copy link

While builing on latest ubuntu, with gperf/bionic,now 3.1-1.

In file included from yconf.c:242:0:
hconf.gperf:141:1: error: conflicting types for 'kconf_id_lookup'
hconf.gperf:12:31: note: previous declaration of 'kconf_id_lookup' was here
 static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
                               ^~~~~~~~~~~~~~~
make[3]: *** [libkconfig_parser_la-yconf.lo] Error 1

Fix:

diff -r old/libs/parser/hconf.gperf new/libs/parser/hconf.gperf
12c12
< static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
---
> static const struct kconf_id *kconf_id_lookup(register const char *str, register size_t len);
@HuaYuXiao
Copy link

That makes sense! There really exists this problem, even left not solved in v4.11.0. I manually corrected this bug, and successfully make and install the package.

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

3 participants