Skip to content

could not compile the 2.6.12 on CentOS release 5.2 (Final) #1036

Description

@jumping

[redis-2.6.12]# make MALLOC=libc 32bit
........
CC sentinel.o
LINK redis-server
zmalloc.o: In function zmalloc_used_memory': /mnt/tmp/redis-2.6.12/src/zmalloc.c:223: undefined reference to__sync_add_and_fetch_4'
collect2: ld 返回 1
make[2]: *** [redis-server] 错误 1
make[2]: Leaving directory /mnt/tmp/redis-2.6.12/src' make[1]: *** [32bit] 错误 2 make[1]: Leaving directory/mnt/tmp/redis-2.6.12/src'
make: *** [32bit] 错误 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions