Jump to content

maximt

Members
  • Posts

    2
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by maximt

  1. mandriva 2009.0, gcc 4.3.2 errors: ../shared/libmangosshared.a(Threading.o): In function `ACE_Atomic_Op_GCC<long>::operator--()': /usr/servers/mangos/compile/objdir/src/shared/../../../dep/ACE_wrappers/ace/Atomic_Op_GCC_T.inl:49: undefined reference to `__sync_sub_and_fetch_4' /usr/servers/mangos/compile/objdir/src/shared/../../../dep/ACE_wrappers/ace/Atomic_Op_GCC_T.inl:49: undefined reference to `__sync_sub_and_fetch_4' /usr/servers/mangos/compile/objdir/src/shared/../../../dep/ACE_wrappers/ace/Atomic_Op_GCC_T.inl:49: undefined reference to `__sync_sub_and_fetch_4' /usr/servers/mangos/compile/objdir/src/shared/../../../dep/ACE_wrappers/ace/Atomic_Op_GCC_T.inl:49: undefined reference to `__sync_sub_and_fetch_4' ../../dep/ACE_wrappers/ace/.libs/libACE.so: undefined reference to `__sync_add_and_fetch_4' ../../dep/ACE_wrappers/ace/.libs/libACE.so: undefined reference to `__sync_fetch_and_sub_4' collect2: ld returned 1 exit status trying ../configure CFLAGS="-march=i686" ACE_CFLAGS="-march=i686" but dont work make simple test: # cat test.c int main() { int i = 3; int j = __sync_add_and_fetch(&i, 1); return 0; } # gcc test.c /tmp/cccOSsgM.o: In function `main': test.c:(.text+0x27): undefined reference to `__sync_add_and_fetch_4' collect2: выполнение ld завершилось с кодом возврата 1 # # gcc -march=i686 test.c # as you see with -march=i686 should works. how get it in mangos configure?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use