Skip to content

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

@David-lavida

Description

@David-lavida

./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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions