Jump to content
  • 0
Sign in to follow this  
daim

compile error

Question

Hi,

 

I tried to compile but i got this error:

 

../common/obj_all/common.a(mempool.o): In function `InterlockedIncrement64':
../common/atomic.h:100: undefined reference to `__sync_add_and_fetch_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedExchange64':
../common/atomic.h:130: undefined reference to `__sync_lock_test_and_set_8'
../common/atomic.h:130: undefined reference to `__sync_lock_test_and_set_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedExchange64':
../common/spinlock.h:89: undefined reference to `__sync_lock_test_and_set_8'
../common/spinlock.h:89: undefined reference to `__sync_lock_test_and_set_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedExchangeAdd64':
../common/atomic.h:90: undefined reference to `__sync_fetch_and_add_8'
../common/atomic.h:100: undefined reference to `__sync_fetch_and_add_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedIncrement64':
../common/atomic.h:100: undefined reference to `__sync_add_and_fetch_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedExchangeAdd64':
../common/atomic.h:90: undefined reference to `__sync_fetch_and_add_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedDecrement64':
../common/atomic.h:110: undefined reference to `__sync_sub_and_fetch_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedExchange64':
../common/atomic.h:130: undefined reference to `__sync_lock_test_and_set_8'
../common/obj_all/common.a(mempool.o): In function `InterlockedIncrement64':
../common/atomic.h:100: undefined reference to `__sync_add_and_fetch_8'
 

 

box running with Linux debian 2.6.18-6-686 #1 SMP Thu May 8 07:34:27 UTC 2008 i686 GNU/Linux

 

thanks

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.