- /usr/include/stdint.h:9:26: error: no include path in which to search for stdint.h
- # include_next <stdint.h>
- ^
- In file included from alloc.c:32:0:
- alloc.h: In function ‘hi_calloc’:
- alloc.h:64:9: error: ‘SIZE_MAX’ undeclared (first use in this function); did you mean ‘__SIZE_MAX__’?
- if (SIZE_MAX / size < nmemb)
- ^~~~~~~~
- __SIZE_MAX__
- alloc.h:64:9: note: each undeclared identifier is reported only once for each function it appears in
- make[3]: *** [alloc.o] Error 1
- make[3]: Leaving directory `/www/server/redis/deps/hiredis'
- make[2]: *** [hiredis] Error 2
- make[2]: /opt/rh/devtoolset-7/root/usr/bin/gcc -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -c -o lcode.o lcode.c
- *** Waiting for unfinished jobs....
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
- from luaconf.h:11,
- from lua.h:16,
- from lapi.c:16:
- /usr/include/limits.h:194:61: error: no include path in which to search for limits.h
- #include_next <limits.h> /* recurse down to the real one */
- ^
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
- from luaconf.h:11,
- from lua.h:16,
- from lcode.c:13:
- /usr/include/limits.h:194:61: error: no include path in which to search for limits.h
- #include_next <limits.h> /* recurse down to the real one */
- ^
- make[3]: *** [lapi.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- make[3]: *** [lcode.o] Error 1
- make[3]: Leaving directory `/www/server/redis/deps/lua/src'
- make[2]: *** [lua] Error 2
- make[3]: Leaving directory `/www/server/redis/deps/linenoise'
- make[2]: Leaving directory `/www/server/redis/deps'
- make[1]: [persist-settings] Error 2 (ignored)
- CC adlist.o
- CC quicklist.o
- CC ae.o
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9:0,
- from monotonic.h:15,
- from ae.h:36,
- from ae.c:33:
- /usr/include/stdint.h:9:26: error: no include path in which to search for stdint.h
- # include_next <stdint.h>
- ^
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9:0,
- from /usr/local/include/jemalloc/jemalloc.h:85,
- from zmalloc.h:50,
- from adlist.c:34:
- /usr/include/stdint.h:9:26: error: no include path in which to search for stdint.h
- # include_next <stdint.h>
- ^
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
- from /usr/local/include/jemalloc/jemalloc.h:86,
- from zmalloc.h:50,
- from adlist.c:34:
- /usr/include/limits.h:194:61: error: no include path in which to search for limits.h
- #include_next <limits.h> /* recurse down to the real one */
- ^
- In file included from ae.h:36:0,
- from ae.c:33:
- monotonic.h:22:9: error: unknown type name ‘uint64_t’
- typedef uint64_t monotime;
- ^~~~~~~~
- monotonic.h:53:15: error: unknown type name ‘uint64_t’
- static inline uint64_t elapsedUs(monotime start_time) {
- ^~~~~~~~
- monotonic.h:57:15: error: unknown type name ‘uint64_t’
- static inline uint64_t elapsedMs(monotime start_time) {
- ^~~~~~~~
- make[1]: *** [adlist.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9:0,
- from quicklist.h:31,
- from quicklist.c:33:
- /usr/include/stdint.h:9:26: error: no include path in which to search for stdint.h
- # include_next <stdint.h>
- ^
- In file included from quicklist.c:33:0:
- quicklist.h:95:5: error: #error unknown arch bits count
- # error unknown arch bits count
- ^~~~~
- In file included from ae.c:34:0:
- anet.h:76:42: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- int anetSetSockMarkId(char *err, int fd, uint32_t id);
- ^~~~~~~~
- u_int32_t
- quicklist.h:111:23: error: ‘QL_FILL_BITS’ undeclared here (not in a function)
- signed int fill : QL_FILL_BITS; /* fill factor for individual nodes */
- ^~~~~~~~~~~~
- quicklist.h:111:16: error: bit-field ‘fill’ width not an integer constant
- signed int fill : QL_FILL_BITS; /* fill factor for individual nodes */
- ^~~~
- quicklist.h:112:29: error: ‘QL_COMP_BITS’ undeclared here (not in a function); did you mean ‘QL_FILL_BITS’?
- unsigned int compress : QL_COMP_BITS; /* depth of end nodes not to compress;0=off */
- ^~~~~~~~~~~~
- QL_FILL_BITS
- quicklist.h:112:18: error: bit-field ‘compress’ width not an integer constant
- unsigned int compress : QL_COMP_BITS; /* depth of end nodes not to compress;0=off */
- ^~~~~~~~
- quicklist.h:113:34: error: ‘QL_BM_BITS’ undeclared here (not in a function); did you mean ‘QL_COMP_BITS’?
- unsigned int bookmark_count: QL_BM_BITS;
- ^~~~~~~~~~
- QL_COMP_BITS
- quicklist.h:113:18: error: bit-field ‘bookmark_count’ width not an integer constant
- unsigned int bookmark_count: QL_BM_BITS;
- ^~~~~~~~~~~~~~
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
- from /usr/local/include/jemalloc/jemalloc.h:86,
- from zmalloc.h:50,
- from quicklist.c:34:
- /usr/include/limits.h:194:61: error: no include path in which to search for limits.h
- #include_next <limits.h> /* recurse down to the real one */
- ^
- In file included from quicklist.c:36:0:
- listpack.h:52:5: error: unknown type name ‘uint32_t’
- uint32_t slen;
- ^~~~~~~~
- listpack.h:60:68: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- unsigned char *lpInsertString(unsigned char *lp, unsigned char *s, uint32_t slen,
- ^~~~~~~~
- u_int32_t
- listpack.h:64:63: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- unsigned char *lpPrepend(unsigned char *lp, unsigned char *s, uint32_t slen);
- ^~~~~~~~
- u_int32_t
- listpack.h:66:62: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- unsigned char *lpAppend(unsigned char *lp, unsigned char *s, uint32_t slen);
- ^~~~~~~~
- u_int32_t
- listpack.h:68:82: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- unsigned char *lpReplace(unsigned char *lp, unsigned char **p, unsigned char *s, uint32_t slen);
- ^~~~~~~~
- u_int32_t
- listpack.h:77:78: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- unsigned char *lpFind(unsigned char *lp, unsigned char *p, unsigned char *s, uint32_t slen, unsigned int skip);
- ^~~~~~~~
- u_int32_t
- listpack.h:89:60: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- unsigned int lpCompare(unsigned char *p, unsigned char *s, uint32_t slen);
- ^~~~~~~~
- u_int32_t
- In file included from util.h:34:0,
- from quicklist.c:37:
- sds.h:52:5: error: unknown type name ‘uint8_t’
- uint8_t len; /* used */
- ^~~~~~~
- sds.h:53:5: error: unknown type name ‘uint8_t’
- uint8_t alloc; /* excluding the header and null terminator */
- ^~~~~~~
- sds.h:58:5: error: unknown type name ‘uint16_t’
- uint16_t len; /* used */
- ^~~~~~~~
- sds.h:59:5: error: unknown type name ‘uint16_t’
- uint16_t alloc; /* excluding the header and null terminator */
- ^~~~~~~~
- sds.h:64:5: error: unknown type name ‘uint32_t’
- uint32_t len; /* used */
- ^~~~~~~~
- sds.h:65:5: error: unknown type name ‘uint32_t’
- uint32_t alloc; /* excluding the header and null terminator */
- ^~~~~~~~
- sds.h:70:5: error: unknown type name ‘uint64_t’
- uint64_t len; /* used */
- ^~~~~~~~
- sds.h:71:5: error: unknown type name ‘uint64_t’
- uint64_t alloc; /* excluding the header and null terminator */
- ^~~~~~~~
- In file included from quicklist.c:37:0:
- util.h:66:1: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- uint32_t digits10(uint64_t v);
- ^~~~~~~~
- u_int32_t
- util.h:66:19: error: unknown type name ‘uint64_t’; did you mean ‘u_int64_t’?
- uint32_t digits10(uint64_t v);
- ^~~~~~~~
- u_int64_t
- util.h:67:1: error: unknown type name ‘uint32_t’; did you mean ‘u_int32_t’?
- uint32_t sdigits10(int64_t v);
- ^~~~~~~~
- u_int32_t
- quicklist.c: In function ‘quicklistCreate’:
- quicklist.c:135:23: warning: overflow in implicit constant conversion [-Woverflow]
- quicklist->fill = -2;
- ^
- quicklist.c: In function ‘quicklistPushHead’:
- quicklist.c:555:34: warning: implicit declaration of function ‘lpPrepend’; did you mean ‘lpPrev’? [-Wimplicit-function-declaration]
- quicklist->head->entry = lpPrepend(quicklist->head->entry, value, sz);
- ^~~~~~~~~
- lpPrev
- quicklist.c:555:32: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- quicklist->head->entry = lpPrepend(quicklist->head->entry, value, sz);
- ^
- quicklist.c:559:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- node->entry = lpPrepend(lpNew(0), value, sz);
- ^
- quicklist.c: In function ‘quicklistPushTail’:
- quicklist.c:582:34: warning: implicit declaration of function ‘lpAppend’ [-Wimplicit-function-declaration]
- quicklist->tail->entry = lpAppend(quicklist->tail->entry, value, sz);
- ^~~~~~~~
- quicklist.c:582:32: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- quicklist->tail->entry = lpAppend(quicklist->tail->entry, value, sz);
- ^
- quicklist.c:586:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- node->entry = lpAppend(lpNew(0), value, sz);
- ^
- quicklist.c: In function ‘quicklistReplaceEntry’:
- quicklist.c:739:30: warning: implicit declaration of function ‘lpReplace’; did you mean ‘lpRepr’? [-Wimplicit-function-declaration]
- entry->node->entry = lpReplace(entry->node->entry, &entry->zi, data, sz);
- ^~~~~~~~~
- lpRepr
- quicklist.c:739:28: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- entry->node->entry = lpReplace(entry->node->entry, &entry->zi, data, sz);
- ^
- In file included from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
- from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
- from /usr/local/include/jemalloc/jemalloc.h:86,
- from zmalloc.h:50,
- from ae.c:47:
- /usr/include/limits.h:194:61: error: no include path in which to search for limits.h
- #include_next <limits.h> /* recurse down to the real one */
- ^
- quicklist.c: In function ‘_quicklistInsert’:
- quicklist.c:960:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- new_node->entry = lpPrepend(lpNew(0), value, sz);
- ^
- In file included from ae_epoll.c:32:0,
- from ae.c:56:
- /usr/include/sys/epoll.h:83:3: error: unknown type name ‘uint32_t’
- uint32_t u32;
- ^~~~~~~~
- /usr/include/sys/epoll.h:84:3: error: unknown type name ‘uint64_t’
- uint64_t u64;
- ^~~~~~~~
- /usr/include/sys/epoll.h:89:3: error: unknown type name ‘uint32_t’
- uint32_t events; /* Epoll events */
- ^~~~~~~~
- quicklist.c:1010:23: warning: implicit declaration of function ‘lpInsertString’; did you mean ‘lpInsertInteger’? [-Wimplicit-function-declaration]
- node->entry = lpInsertString(node->entry, value, sz, entry->zi, LP_AFTER, NULL);
- ^~~~~~~~~~~~~~
- lpInsertInteger
- quicklist.c:1010:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- node->entry = lpInsertString(node->entry, value, sz, entry->zi, LP_AFTER, NULL);
- ^
- quicklist.c:1017:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- node->entry = lpInsertString(node->entry, value, sz, entry->zi, LP_BEFORE, NULL);
- ^
- quicklist.c:1027:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- new_node->entry = lpPrepend(new_node->entry, value, sz);
- ^
- quicklist.c:1038:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- new_node->entry = lpAppend(new_node->entry, value, sz);
- ^
- quicklist.c:1049:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- new_node->entry = lpPrepend(lpNew(0), value, sz);
- ^
- quicklist.c:1060:29: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- new_node->entry = lpPrepend(new_node->entry, value, sz);
- ^
- quicklist.c:1062:29: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- new_node->entry = lpAppend(new_node->entry, value, sz);
- ^
- quicklist.c: In function ‘quicklistCompare’:
- quicklist.c:1184:12: warning: implicit declaration of function ‘lpCompare’ [-Wimplicit-function-declaration]
- return lpCompare(entry->zi, p2, p2_len);
- ^~~~~~~~~
- make[1]: *** [ae.o] Error 1
- make[1]: *** [quicklist.o] Error 1
- make[1]: Leaving directory `/www/server/redis/src'
- make: *** [all] Error 2
复制代码 |