Eos: unknown type name 'HASHKIT_API' HASHKIT_API

Created on 23 May 2018  路  3Comments  路  Source: EOSIO/eos

I run the command "./eosio_build.sh",

Error:

Making all in src/libbson
CC src/bson/libbson_la-bcon.lo
CC src/bson/libbson_la-bson.lo
In file included from src/bson/bcon.c:24:
In file included from ./src/bson/bcon.h:24:
In file included from ./src/bson/bson.h:23:
In file included from ./src/bson/bson-compat.h:81:
/usr/local/include/string.h:49:1: error: unknown type name 'HASHKIT_API'
HASHKIT_API
^
/usr/local/include/string.h:50:1: error: expected identifier or '('
void hashkit_string_free(hashkit_string_st *ptr);

Support

Most helpful comment

For me this was due to some broken libs after transferring my old account to my new mac. This stack overflow may help you too: https://stackoverflow.com/questions/46872922/broken-c-std-libraries-on-macos-high-sierra-10-13
I renamed my /usr/local/include and things seem to be working

All 3 comments

Any progress? I'm seeing the same problem. Building on Mac

For me this was due to some broken libs after transferring my old account to my new mac. This stack overflow may help you too: https://stackoverflow.com/questions/46872922/broken-c-std-libraries-on-macos-high-sierra-10-13
I renamed my /usr/local/include and things seem to be working

We haven't received any update for this. If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com

Was this page helpful?
0 / 5 - 0 ratings

Related issues

toonsevrin picture toonsevrin  路  3Comments

sim31 picture sim31  路  3Comments

hoopslb picture hoopslb  路  3Comments

hsejin314 picture hsejin314  路  3Comments

xiaomaogy picture xiaomaogy  路  3Comments