recipe for target 'zconf.tab.o' failed error in installing crosstoo-ng
by abolfazl from LinuxQuestions.org on (#54HNY)
hi every body
im trying to install crosstool-ng in ubunto 18.04 that installed on vmware studio but when i use make script will get 2 errors
i installed build-essential and flex and bison actually those was installed before but still i got these error
is that possible these error appear cause i using vmware or not ???
how can i solve this problem and errors??
these are my error:
In file included from zconf.tab.c:212:0:
zconf.hash.c:167:1: error: conflicting types for kconf_id_lookup'
kconf_id_lookup (register const char *str, register size_t len)
^~~~~~~~~~~~~~~
zconf.hash.c:34: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);
^~~~~~~~~~~~~~~
Makefile:88: recipe for target 'zconf.tab.o' failed
make[2]: *** [zconf.tab.o] Error 1
Makefile:167: recipe for target 'build-lib-kconfig' failed
make[1]: *** [build-lib-kconfig] Error 2
Makefile:127: recipe for target 'build' failed
make: *** [build] Error 2


im trying to install crosstool-ng in ubunto 18.04 that installed on vmware studio but when i use make script will get 2 errors
i installed build-essential and flex and bison actually those was installed before but still i got these error
is that possible these error appear cause i using vmware or not ???
how can i solve this problem and errors??
these are my error:
In file included from zconf.tab.c:212:0:
zconf.hash.c:167:1: error: conflicting types for kconf_id_lookup'
kconf_id_lookup (register const char *str, register size_t len)
^~~~~~~~~~~~~~~
zconf.hash.c:34: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);
^~~~~~~~~~~~~~~
Makefile:88: recipe for target 'zconf.tab.o' failed
make[2]: *** [zconf.tab.o] Error 1
Makefile:167: recipe for target 'build-lib-kconfig' failed
make[1]: *** [build-lib-kconfig] Error 2
Makefile:127: recipe for target 'build' failed
make: *** [build] Error 2