-
Notifications
You must be signed in to change notification settings - Fork 624
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
Mac OS X build error: conflicting types for 'kconf_id_lookup' #236
Comments
I get the same error on macOS 10.12.2. |
my Xcode : Version 8.2.1 (8C1002) |
It might have something to do with a recent update to gperf a few days ago after having 8 years of no updates. |
@Dennis-Janssen or,you can install macports, and use $ sudo port install git gsed gawk binutils gperf grep gettext py-serial wget libtool autoconf automake instead of : $ brew install binutils coreutils automake wget gawk libtool help2man gperf gnu-sed --with-default-names grep It works well! Reference: |
Fixed upstream: |
environment:
Mac OS X 10.11.6
errors:
In file included from zconf.tab.c:237:
./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 is here
static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
^
1 error generated.
make: *** [zconf.tab.o] Error 1
make: *** [build-lib-kconfig] Error 2
make: *** [build] Error 2
make[1]: *** [_ct-ng] Error 2
make: *** [crosstool-NG/ct-ng] Error 2
The text was updated successfully, but these errors were encountered: