-
Notifications
You must be signed in to change notification settings - Fork 71
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
这个对gcc版本有要求的把? #4
Comments
对,系统内核也不支持CLOCK_BOOTTIME |
要哭了又, 能不能去掉啊, 我发现你的那个web运维管理思路挺好的,想拿过来用用 |
CLOCK_BOOTTIME可以换成CLOCK_REALTIME |
return (ident){.identity=ptr->identity,.ptr=ptr}; 把这种类型的初始化改成正常的结构体赋值。就可以使用老版本gcc编译了 |
en .. 你赶什么新潮, c++的人都看不懂 |
暂时放弃了, 类似这种 redefinition of typedef ‘kn_timer_t’ 不知道该怎么解决 |
这个简单了,把那个多重的typedef去掉不就行了 |
例如 改成 struct kn_timer{ |
我在家用centos7 gcc 4.8编译没问题
在公司的centos6 gcc 4.4.7 编译 kendynet报错:
[root@localhost distri.lua-master]# make
cd KendyNet; make release
make[1]: Entering directory
/home/bianjian/distri.lua-master/KendyNet' cc -fPIC -O2 -g -Wall -fno-strict-aliasing -c src/kn_engine.c src/kn_timerfd.c src/kn_timer.c src/kn_time.c src/redisconn.c src/kn_refobj.c src/rpacket.c src/wpacket.c src/packet.c src/kn_socket.c src/kn_refobj.c src/connection.c src/kn_thread.c src/kn_thread_mailbox.c src/kn_except.c src/lookup8.c src/spinlock.c src/log.c src/kn_string.c src/minheap.c src/tls.c src/rbtree.c src/kn_daemonize.c src/lua_util.c src/kn_objpool.c src/kn_chr_dev.c src/kendynet.c src/kn_stream_socket.c src/kn_datagram_socket.c src/datagram.c src/lua_util_packet.c src/hash_map.c src/buffer.c -I./include -I./src -I./ -I../deps -I../deps/lua-5.3.0/src -D_LINUX In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/kn_epoll.h:4, from src/kn_engine.c:3: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from ./include/kn_timer.h:21, from src/kn_timerfd.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/kn_timer.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) src/kn_timer.c: At top level: src/kn_timer.c:45: error: redefinition of typedef ‘kn_timer_t’ ./include/kn_timer.h:30: note: previous declaration of ‘kn_timer_t’ was here src/kn_timer.c:50: error: redefinition of typedef ‘wheelmgr_t’ src/kn_timer_private.h:16: note: previous declaration of ‘wheelmgr_t’ was here In file included from src/kn_time.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/redisconn.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from src/kn_refobj.c:1: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from src/kn_refobj.c:2: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from ./include/rpacket.h:19, from src/rpacket.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/buffer.h:27, from ./include/packet.h:20, from ./include/rpacket.h:20, from src/rpacket.c:1: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kendynet.h:8, from ./include/wpacket.h:20, from src/wpacket.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/buffer.h:27, from ./include/packet.h:20, from ./include/wpacket.h:21, from src/wpacket.c:1: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kendynet.h:8, from src/packet.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/buffer.h:27, from ./include/packet.h:20, from src/packet.c:2: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/kn_type.h:3, from src/kn_socket.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from src/kn_refobj.c:1: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from src/kn_refobj.c:2: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from ./include/connection.h:5, from src/connection.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/buffer.h:27, from ./include/packet.h:20, from ./include/connection.h:6, from src/connection.c:1: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kn_thread_sync.h:25, from ./include/kn_thread.h:21, from src/kn_thread.c:2: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kn_thread_mailbox.h:4, from src/kn_thread_mailbox.c:4: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kendynet.h:8, from ./include/kn_thread_mailbox.h:5, from src/kn_thread_mailbox.c:4: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) src/kn_thread_mailbox.c: In function ‘create_mailbox’: src/kn_thread_mailbox.c:124: warning: statement with no effect src/kn_thread_mailbox.c: In function ‘kn_setup_mailbox’: src/kn_thread_mailbox.c:157: error: unknown field ‘identity’ specified in initializer src/kn_thread_mailbox.c:157: warning: missing braces around initializer src/kn_thread_mailbox.c:157: warning: (near initialization for ‘mailbox.<anonymous>’) src/kn_thread_mailbox.c:157: error: unknown field ‘ptr’ specified in initializer src/kn_thread_mailbox.c:157: warning: excess elements in struct initializer src/kn_thread_mailbox.c:157: warning: (near initialization for ‘mailbox’) In file included from ./include/kn_thread_sync.h:25, from ./include/kn_thread.h:21, from src/log.c:3: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kn_thread_mailbox.h:4, from src/log.c:7: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from src/kn_string.c:5: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/kn_type.h:3, from src/kn_chr_dev.c:3: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from src/kendynet.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/kn_type.h:3, from src/kn_socket.h:4, from src/kn_stream_socket.h:4, from src/kn_stream_socket.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from src/kendynet_private.h:3, from src/kn_type.h:3, from src/kn_socket.h:4, from src/kn_datagram_socket.h:4, from src/kn_datagram_socket.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/kendynet.h:8, from ./include/datagram.h:4, from src/datagram.c:1: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/buffer.h:27, from ./include/packet.h:20, from ./include/datagram.h:5, from src/datagram.c:1: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/kendynet.h:8, from ./include/wpacket.h:20, from ./include/lua/lua_util_packet.h:4, from src/lua_util_packet.c:2: ./include/kn_time.h: In function ‘_clock_gettime_boot’: ./include/kn_time.h:41: error: ‘CLOCK_BOOTTIME’ undeclared (first use in this function) ./include/kn_time.h:41: error: (Each undeclared identifier is reported only once ./include/kn_time.h:41: error: for each function it appears in.) In file included from ./include/buffer.h:27, from ./include/packet.h:20, from ./include/wpacket.h:21, from ./include/lua/lua_util_packet.h:4, from src/lua_util_packet.c:2: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) In file included from ./include/buffer.h:27, from src/buffer.c:4: ./include/kn_refobj.h: In function ‘make_ident’: ./include/kn_refobj.h:70: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:70: warning: missing braces around initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous).<anonymous>’) ./include/kn_refobj.h:70: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:70: warning: excess elements in struct initializer ./include/kn_refobj.h:70: warning: (near initialization for ‘(anonymous)’) ./include/kn_refobj.h: At top level: ./include/kn_refobj.h:73: error: unknown field ‘identity’ specified in initializer ./include/kn_refobj.h:73: warning: missing braces around initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident.<anonymous>’) ./include/kn_refobj.h:73: error: unknown field ‘ptr’ specified in initializer ./include/kn_refobj.h:73: warning: excess elements in struct initializer ./include/kn_refobj.h:73: warning: (near initialization for ‘empty_ident’) make[1]: *** [release] Error 1 make[1]: Leaving directory
/home/bianjian/distri.lua-master/KendyNet'make: *** [KendyNet/libkendynet.a] Error 2
The text was updated successfully, but these errors were encountered: