From what I gather, using Redis 2.2.111 is mandatory. Racer probably
needs it even for the most basic commands like setNull. Good news is
that its going to come official in Redis 2.6. As or the linker error,
perhaps you should paste the error here so that someone can help.
cc -o redis-server -std=c99 -pedantic -O2 -Wall -W -lm -pthread -g
-rdynamic -ggdb adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o
lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o
networking.o util.o object.o db.o replication.o rdb.o t_string.o
t_list.o t_set.o t_zset.o t_hash.o config.o aof.o vm.o pubsub.o
multi.o debug.o sort.o intset.o syncio.o scripting.o ../deps/lua/src/
liblua.a
vm.o: In function `computeObjectSwappability':
/home/carl/src/redis-2.2.111-scripting/src/vm.c:446: undefined
reference to `log'
../deps/lua/src/liblua.a(lvm.o): In function `Arith':
lvm.c:(.text+0x485): undefined reference to `pow'
lvm.c:(.text+0x4b4): undefined reference to `floor'
../deps/lua/src/liblua.a(lvm.o): In function `luaV_execute':
lvm.c:(.text+0x22e1): undefined reference to `floor'
lvm.c:(.text+0x23fe): undefined reference to `pow'
../deps/lua/src/liblua.a(lcode.o): In function `codearith':
lcode.c:(.text+0x1168): undefined reference to `pow'
lcode.c:(.text+0x1190): undefined reference to `floor'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_tan':
lmathlib.c:(.text+0x9f): undefined reference to `tan'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_tanh':
lmathlib.c:(.text+0xcf): undefined reference to `tanh'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_sqrt':
lmathlib.c:(.text+0x11c): undefined reference to `sqrt'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_sin':
lmathlib.c:(.text+0x13f): undefined reference to `sin'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_sinh':
lmathlib.c:(.text+0x16f): undefined reference to `sinh'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_floor':
lmathlib.c:(.text+0x29f): undefined reference to `floor'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_random':
lmathlib.c:(.text+0x3be): undefined reference to `floor'
lmathlib.c:(.text+0x406): undefined reference to `floor'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_pow':
lmathlib.c:(.text+0x48a): undefined reference to `pow'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_log':
lmathlib.c:(.text+0x50f): undefined reference to `log'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_log10':
lmathlib.c:(.text+0x53f): undefined reference to `log10'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_fmod':
lmathlib.c:(.text+0x666): undefined reference to `fmod'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_exp':
lmathlib.c:(.text+0x67f): undefined reference to `exp'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_cos':
lmathlib.c:(.text+0x6af): undefined reference to `cos'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_cosh':
lmathlib.c:(.text+0x6df): undefined reference to `cosh'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_ceil':
lmathlib.c:(.text+0x70f): undefined reference to `ceil'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_atan':
lmathlib.c:(.text+0x73f): undefined reference to `atan'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_atan2':
lmathlib.c:(.text+0x78a): undefined reference to `atan2'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_asin':
lmathlib.c:(.text+0x7bf): undefined reference to `asin'
../deps/lua/src/liblua.a(lmathlib.o): In function `math_acos':
lmathlib.c:(.text+0x7ef): undefined reference to `acos'
collect2: ld returned 1 exit status
make[1]: *** [redis-server] Error 1
make[1]: Leaving directory `/home/carl/src/redis-2.2.111-scripting/
src'
make: *** [all] Error 2