centos7安裝redis6
阿新 • • 發佈:2020-07-29
wget http://download.redis.io/releases/redis-6.0.6.tar.gz?_ga=2.104030464.1049731693.1595900008-1330786281.1595900008 tar -zxvf redis-6.0.6.tar.gz\?_ga\=2.104030464.1049731693.1595900008-1330786281.1595900008 cd redis-6.0.6 make
報錯
^
server.c:5212:31: error: ‘struct redisServer’ has no member named ‘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]
}
升級gcc https://www.cnblogs.com/knowledgemine/p/13036752.html