-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Description
I'm unable do compile Redis 2.6.2 in 32 bits mode. It works for 2.4.17...
make 32bit
cd src && make 32bit
make[1]: Entering directory `/home/danielm/Downloads/redis-2.6.2/src'
WARNING: if it fails under Linux you probably need to install libc6-dev-i386
make CFLAGS="-m32" LDFLAGS="-m32"
make[2]: Entering directory /home/danielm/Downloads/redis-2.6.2/src' LINK redis-server LINK redis-cli LINK redis-benchmark LINK redis-check-dump ../deps/jemalloc/lib/libjemalloc.a(jemalloc.o): In functionprof_sample_threshold_update':
jemalloc.c:(.text+0x2e26): undefined reference to log' jemalloc.c:(.text+0x2e73): undefined reference tolog'
collect2: ld returned 1 exit status
../deps/jemalloc/lib/libjemalloc.a(jemalloc.o): In function prof_sample_threshold_update': make[2]: jemalloc.c:(.*** [redis-cli] Error 1text+0x2e26 ): undefined make[2]: reference *** Waiting for unfinished jobs....to
log'
jemalloc.c:(.text+0x2e73): undefined reference to log' collect2: ld returned 1 exit status make[2]: *** [redis-benchmark] Error 1 make[2]: Leaving directory/home/danielm/Downloads/redis-2.6.2/src'
make[1]: *** [32bit] Error 2
make[1]: Leaving directory `/home/danielm/Downloads/redis-2.6.2/src'
make: *** [32bit] Error 2
uname -a
Linux bp1055 3.0.0-26-generic #43-Ubuntu SMP Tue Sep 25 17:19:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)