Open RaD opened 2 years ago
Ah, ok. It is an autogenerated file. But it is impossible to build proxy in case of ZIP archive downloading :(
Workaround:
echo "#define REDIS_CLUSTER_PROXY_GIT_SHA1 \"ZIP\"" > release.h
echo "#define REDIS_CLUSTER_PROXY_GIT_DIRTY \"ZIP\"" >> release.h
echo "#define REDIS_CLUSTER_PROXY_GIT_BRANCH \"ZIP\"" >> release.h
echo "#define REDIS_CLUSTER_PROXY_BUILD_ID \"ZIP\"" >> release.h
New error while building from git repo:
#6 7.413 LINK redis-cluster-proxy
#6 7.417 /usr/lib/gcc/aarch64-alpine-linux-musl/10.3.1/../../../../aarch64-alpine-linux-musl/bin/ld: logger.o:/redis-cluster-proxy/src/sds.h:37: multiple definition of `SDS_NOINIT'; config.o:/redis-cluster-proxy/src/sds.h:37: first defined here
#6 7.418 /usr/lib/gcc/aarch64-alpine-linux-musl/10.3.1/../../../../aarch64-alpine-linux-musl/bin/ld: reply_order.o:/redis-cluster-proxy/src/sds.h:37: multiple definition of `SDS_NOINIT'; config.o:/redis-cluster-proxy/src/sds.h:37: first defined here
#6 7.419 /usr/lib/gcc/aarch64-alpine-linux-musl/10.3.1/../../../../aarch64-alpine-linux-musl/bin/ld: sds.o:/redis-cluster-proxy/src/sds.h:37: multiple definition of `SDS_NOINIT'; config.o:/redis-cluster-proxy/src/sds.h:37: first defined here
#6 7.419 /usr/lib/gcc/aarch64-alpine-linux-musl/10.3.1/../../../../aarch64-alpine-linux-musl/bin/ld: util.o:/redis-cluster-proxy/src/sds.h:37: multiple definition of `SDS_NOINIT'; config.o:/redis-cluster-proxy/src/sds.h:37: first defined here
#6 7.432 collect2: error: ld returned 1 exit status
#6 7.432 make[1]: Leaving directory '/redis-cluster-proxy/src'
#6 7.432 make[1]: *** [Makefile:179: redis-cluster-proxy] Error 1
#6 7.433 make: *** [Makefile:4: all] Error 2
6 6.777 release.c:18:10: fatal error: release.h: No such file or directory