Jay Brussels
2004-Nov-20 15:57 UTC
[Asterisk-Users] ANY DEVELOPERS HERE? "warning: implicit declaration of function `__use_ast_pthread_create_instead__"
I have been running a version of Asterisk that is 4-5 months old. When trying to upgrade to 1.0.2, I get several compile warnings such as: chan_zap.c:3515: warning: implicit declaration of function `__use_ast_pthread_create_instead__' The channel modules will not load with the error: undefined symbol: __use_ast_pthread_create_instead__ I have removed the modules before compiling, make clean, make install, reinstalled them, did the modprobe stuff, etc. Do I have some type of missing library or function that is causing the ast_pthread errors? I got the Asterisk, Zaptel and Libpri off the CVS. It looks like my gcc is current.
Roger Schreiter
2004-Nov-20 16:46 UTC
[Asterisk-Users] ANY DEVELOPERS HERE? "warning: implicit declaration of function `__use_ast_pthread_create_instead__"
Jay Brussels schrieb:> ... > When trying to upgrade to 1.0.2, I get several compile warnings such as: > chan_zap.c:3515: warning: implicit declaration of function `__use_ast_pthread_create_instead__'Hi, I assume you mixed some parts of an older asterisk version with the new asterisk kernel. Did you recompile every module which should be loaded into the asterisk kernel? Maybe search for pthread_create in older source files and replace by ast_pthread_create! Check, whether the arguments remained the same ones and fix if necessary! Roger.