search for: ast_atomic_dec_and_test

Displaying 4 results from an estimated 4 matches for "ast_atomic_dec_and_test".

2017 Apr 29
2
Can't compile asterisk-certified-11.6-cert16 on Ubuntu 16
...son.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-certified-11.6-cert16/include/asterisk/lock.h:567: multiple definition of `ast_atomic_fetchadd_int' aelparse.o:/usr/src/asterisk-certified-11.6-cert16/include/asterisk/lock.h:5 67: first defined here aelbison.o: In function `ast_atomic_dec_and_test': /usr/src/asterisk-certified-11.6-cert16/include/asterisk/lock.h:613: multiple definition of `ast_atomic_dec_and_test' aelparse.o:/usr/src/asterisk-certified-11.6-cert16/include/asterisk/lock.h:6 13: first defined here aelbison.o: In function `ast_tvdiff_sec': /usr/src/asterisk-cer...
2011 Mar 07
1
[1.8.3] Error compiling Asterisk: __sync_fetch_and_add
...ed reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' astobj2.o:/usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: more undefined references to `__sync_fetch_and_add_4' follow utils.o: In function `ast_atomic_dec_and_test': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:635: undefined reference to `__sync_sub_and_fetch_4' utils.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit st...
2007 Jan 03
0
1.4 segfaulting when manager client is connected
...een? This is with glibc-2.3.4-2 I just upgraded to 2.3.6 (the lastest for Fedora core 3) and it's the same. Not much of a traceback, it's happening here: static struct eventqent *unref_event(struct eventqent *e) { struct eventqent *ret = AST_LIST_NEXT(e, eq_next); if (ast_atomic_dec_and_test(&e->usecount) && ret) pthread_kill(accept_thread_ptr, SIGURG); return ret; } Should I file a bug on this? I would presume if it's as trivial to duplicate as it is for me that others would have seen it.
2011 Mar 07
1
Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
...ed reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' astobj2.o:/usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: more undefined references to `__sync_fetch_and_add_4' follow utils.o: In function `ast_atomic_dec_and_test': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:635: undefined reference to `__sync_sub_and_fetch_4' utils.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit st...