Skip to content


Subversion checkout URL

You can clone with
Download ZIP


compile error with redis-2.4.8 #390

nysanier opened this Issue · 0 comments

2 participants


Hello, I'm studying redis these days. My Machine is x86_64, My OS is SunOS 5.10. I can't compile sucessful firstly. Then I read your source code, I find that there was no Makefile in deps/jemalloc but a, so I ADD "-f" after $(MAKE) in "./Makefile" line 15.
The second Problem is there is no "execinfo.h" and "ucontext.h" in SunOS 5.10, So I REMOVE "|| defined(sun)" in the end of line 29 in "./src/config.h".
Then I can compile it with gcc -m32. so there was another problem is that when I compile redis-2.4.8 with gcc -m64, it tell me that BYTE_ORDER is not defined or invalid. I find it in "./src/sha1.c". I think you must forget macro __x86_64
defined in line 43, but with macro i386 only.
May it can help.

@mattsta mattsta closed this
@JackieXie168 JackieXie168 referenced this issue from a commit
@AtnNn AtnNn Test for #390 e3fffa7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.