maximt
Members-
Posts
2 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
maximt's Achievements
Newbie (1/3)
0
Reputation
-
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?
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®