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

mac os 10.13.6 编译安装make 报错 unknown type name 'ulong' #154

Open
David-lavida opened this issue Jul 12, 2020 · 1 comment
Open

Comments

@David-lavida
Copy link

./php7_wrapper.h:285:58: error: unknown type name 'ulong'
static inline int mo_zend_hash_index_find(HashTable *ht, ulong h, void **v)
^
./php7_wrapper.h:296:63: error: unknown type name 'ulong'
static inline int mo_zend_hash_index_zval_find(HashTable *ht, ulong h, void **v)
^
./php7_wrapper.h:341:60: error: unknown type name 'ulong'
static inline int mo_zend_hash_index_update(HashTable *ht, ulong h, voi...
^
./php7_wrapper.h:366:57: error: unknown type name 'ulong'
static inline int mo_zend_hash_index_del(HashTable *ht, ulong h)
^
/Users/hanxiaotong/Desktop/Molten-master/molten.c:179:88: error: use of
undeclared identifier 'HASH_FLAG_PERSISTENT'
...origin_curl_setopt = pemalloc(sizeof(zend_internal_function), HASH_FLAG...
^
/Users/hanxiaotong/Desktop/Molten-master/molten.c:182:86: error: use of
undeclared identifier 'HASH_FLAG_PERSISTENT'
...origin_curl_exec = pemalloc(sizeof(zend_internal_function), HASH_FLAG_P...
^
/Users/hanxiaotong/Desktop/Molten-master/molten.c:185:94: error: use of
undeclared identifier 'HASH_FLAG_PERSISTENT'
...= pemalloc(sizeof(zend_internal_function) , HASH_FLAG_PERSISTENT);
^
/Users/hanxiaotong/Desktop/Molten-master/molten.c:188:86: error: use of
undeclared identifier 'HASH_FLAG_PERSISTENT'
...origin_curl_reset = pemalloc(sizeof(zend_internal_function), HASH_FLAG_P...
^
8 errors generated.
make: *** [molten.lo] Error 1

@sacrex
Copy link

sacrex commented Aug 14, 2020

试一下,安装一下php的开发包。这些标识符都是php定义的

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

2 participants