In file included from server.c:31:0: server.c:4999:59: error: ‘structredisServer’ hasnomembernamed ‘cluster’ (server.cluster_enabled && nodeIsMaster(server.cluster->myself))); ^ cluster.h:58:27: note: in definition of macro ‘nodeIsMaster’ #define nodeIsMaster(n) ((n)->flags & CLUSTER_NODE_MASTER) ^ server.c: In function ‘main’: server.c:5047:11: error: ‘structredisServer’ hasnomembernamed ‘sentinel_mode’ server.sentinel_mode = checkForSentinelMode(argc,argv); ^ server.c:5064:15: error: ‘structredisServer’ hasnomembernamed ‘sentinel_mode’ if (server.sentinel_mode) { ^ server.c:5131:19: error: ‘structredisServer’ hasnomembernamed ‘sentinel_mode’ if (server.sentinel_mode && configfile && *configfile == '-') { ^ server.c:5153:168: error: ‘struct redisServer’ has no member named ‘sentinel_mode’ serverLog(LL_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf", argv[0], server.sentinel_mode ? "sentinel" : "redis"); ^ server.c:5158:11: error: ‘structredisServer’ hasnomembernamed ‘supervised’ server.supervised = redisIsSupervised(server.supervised_mode); ^ server.c:5158:49: error: ‘structredisServer’ hasnomembernamed ‘supervised_mode’ server.supervised = redisIsSupervised(server.supervised_mode); ^ server.c:5159:28: error: ‘structredisServer’ hasnomembernamed ‘daemonize’ intbackground = server.daemonize && !server.supervised; ^ server.c:5159:49: error: ‘structredisServer’ hasnomembernamed ‘supervised’ intbackground = server.daemonize && !server.supervised; ^ server.c:5163:29: error: ‘structredisServer’ hasnomembernamed ‘pidfile’ if (background || server.pidfile) createPidFile(); ^ server.c:5168:16: error: ‘structredisServer’ hasnomembernamed ‘sentinel_mode’ if (!server.sentinel_mode) { ^ server.c:5178:19: error: ‘structredisServer’ hasnomembernamed ‘cluster_enabled’ if (server.cluster_enabled) { ^ server.c:5186:19: error: ‘structredisServer’ hasnomembernamed ‘ipfd_count’ if (server.ipfd_count >0 || server.tlsfd_count > 0) ^ server.c:5186:44: error: ‘structredisServer’ hasnomembernamed ‘tlsfd_count’ if (server.ipfd_count >0 || server.tlsfd_count > 0) ^ server.c:5188:19: error: ‘structredisServer’ hasnomembernamed ‘sofd’ if (server.sofd >0) ^ server.c:5189:94: error: ‘structredisServer’ hasnomembernamed ‘unixsocket’ serverLog(LL_NOTICE,"Theserverisnowreadytoacceptconnectionsat %s", server.unixsocket); ^ server.c:5190:19: error: ‘structredisServer’ hasnomembernamed ‘supervised_mode’ if (server.supervised_mode == SUPERVISED_SYSTEMD) { ^ server.c:5191:24: error: ‘struct redisServer’ has no member named ‘masterhost’ if (!server.masterhost) { ^ server.c:5201:19: error: ‘struct redisServer’ has no member named ‘supervised_mode’ if (server.supervised_mode == SUPERVISED_SYSTEMD) { ^ server.c:5208:15: error: ‘struct redisServer’ has no member named ‘maxmemory’ if (server.maxmemory > 0 && server.maxmemory < 1024*1024) { ^ server.c:5208:39: error: ‘struct redisServer’ has no member named ‘maxmemory’ if (server.maxmemory > 0 && server.maxmemory < 1024*1024) { ^ server.c:5209:176: error: ‘struct redisServer’ has no member named ‘maxmemory’ serverLog(LL_WARNING,"WARNING: You specified a maxmemory value that is less than 1MB (current value is %llu bytes). Are you sure this is what you really want?", server.maxmemory); ^ server.c:5212:31: error: ‘structredisServer’ hasnomembernamed ‘server_cpulist’ redisSetCpuAffinity(server.server_cpulist); ^ server.c: In function ‘hasActiveChildProcess’: server.c:1480:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c: In function ‘allPersistenceDisabled’: server.c:1486:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c: In function ‘writeCommandsDeniedByDiskError’: server.c:3826:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c: In function ‘iAmMaster’: server.c:5000:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [server.o] Error 1 make[1]: Leaving directory `/opt/redis-6.0.6/src' make: *** [all] Error 2