Jump to content

Xephyras

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Xephyras

  1. Hey guys, I am using Centos 5 and tried to compile and install rAthena Rev. 16311. I followed all the instructions on rAthena Wiki > Compiling. Until I got at the step "make install", it showed the following error. Sidenote: I did NOT change anything except adding configurations in /conf/import-tmpl. Linking C executable login-server_sql ../../common/libcommon_base.a(mempool.c.o): In function `mempool_async_allocator': mempool.c:(.text+0x51): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x87): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xa8): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x106): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x126): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x1d8): undefined reference to `__sync_add_and_fetch_8' mempool.c:(.text+0x22d): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x263): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x284): undefined reference to `__sync_sub_and_fetch_4' ../../common/libcommon_base.a(mempool.c.o): In function `mempool_final': mempool.c:(.text+0x3c7): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x442): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x478): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x499): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x4f7): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x517): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x5b3): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x5e9): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x60a): undefined reference to `__sync_sub_and_fetch_4' ../../common/libcommon_base.a(mempool.c.o): In function `segment_allocate_add': mempool.c:(.text+0x93a): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x98b): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x9b8): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0xa4f): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xa78): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0xafe): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xb4f): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xb7c): undefined reference to `__sync_sub_and_fetch_4' mempool.c:(.text+0xc27): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xc78): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xca5): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0xd21): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xd44): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0xdae): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xde4): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0xe05): undefined reference to `__sync_sub_and_fetch_4' mempool.c:(.text+0xe6c): undefined reference to `__sync_fetch_and_add_8' mempool.c:(.text+0xea2): undefined reference to `__sync_fetch_and_add_8' mempool.c:(.text+0xec8): undefined reference to `__sync_add_and_fetch_8' mempool.c:(.text+0xefd): undefined reference to `__sync_fetch_and_add_8' ../../common/libcommon_base.a(mempool.c.o): In function `mempool_create': mempool.c:(.text+0x1281): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x12b7): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x12d8): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x1336): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1356): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x13bb): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x13f1): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1412): undefined reference to `__sync_sub_and_fetch_4' ../../common/libcommon_base.a(mempool.c.o): In function `mempool_destroy': mempool.c:(.text+0x14b8): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1509): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1536): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x15cd): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x15f6): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x16e4): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1735): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1762): undefined reference to `__sync_sub_and_fetch_4' mempool.c:(.text+0x180d): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x185e): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x188b): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x1922): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x194b): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x19b0): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1a01): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1a2e): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x1ac5): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1aee): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x1d23): undefined reference to `__sync_lock_test_and_set_8' mempool.c:(.text+0x1d67): undefined reference to `__sync_lock_test_and_set_8' mempool.c:(.text+0x1dab): undefined reference to `__sync_lock_test_and_set_8' mempool.c:(.text+0x1de9): undefined reference to `__sync_lock_test_and_set_8' mempool.c:(.text+0x1e2a): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1e60): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1e81): undefined reference to `__sync_sub_and_fetch_4' mempool.c:(.text+0x1ef3): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1f29): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x1f4a): undefined reference to `__sync_sub_and_fetch_4' ../../common/libcommon_base.a(mempool.c.o): In function `mempool_node_get': mempool.c:(.text+0x209d): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x20e8): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x210f): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x2179): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x219c): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x2211): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x2247): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x2268): undefined reference to `__sync_sub_and_fetch_4' mempool.c:(.text+0x22d2): undefined reference to `__sync_sub_and_fetch_8' mempool.c:(.text+0x2383): undefined reference to `__sync_lock_test_and_set_8' ../../common/libcommon_base.a(mempool.c.o): In function `mempool_node_put': mempool.c:(.text+0x2481): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x24b7): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x24d8): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x2536): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x2556): undefined reference to `__sync_add_and_fetch_4' mempool.c:(.text+0x25c0): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x25f6): undefined reference to `__sync_val_compare_and_swap_4' mempool.c:(.text+0x2617): undefined reference to `__sync_sub_and_fetch_4' mempool.c:(.text+0x266e): undefined reference to `__sync_add_and_fetch_8' collect2: ld returned 1 exit status make[2]: *** [src/login/sql/login-server_sql] Error 1 make[1]: *** [src/login/sql/CMakeFiles/login-server_sql.dir/all] Error 2 make: *** [all] Error 2 I appreciate your help! I guess no one knows how to fix this?
×
×
  • Create New...