Eugene Prokopiev wrote:
> Max CtRiX пишет:
>> Thomas Kenyon ha scritto:
>>> I compiled from source, configured with these options:
>>>
>>> --enable-builtin-sqlite3 --enable-postgresql --enable-srtp
>>> --enable-zaptel --enable-iax-trunking --enable-t38 --with-chan_fax
>>> --with-chan_bluetooth --with-cdr_pgsql --with-res_config_pgsql
>>>
>>> I can't see an option referring to symbols in the configure script.
>>      --enable-debug=yes \
>>      --enable-do-crash=yes \
>>      --enable-frame-tracing=yes \
>>      --enable-valgrind=yes \
>>      --enable-debug=yes \
>>      --enable-debug-scheduler=yes \
>>      --enable-stack-backtraces=yes \
>>      --disable-optimization \
>>      --with-debug_malloc=yes
> 
> callweaver which build with this options produces segfault on every 
> 'show channels' command with:
> 
Strangely, If I remove --enable-srtp (and add --without-chan_mgcp which
may be a coinsodence) along with the other errors, from the console
whenever I press <CR> I get:

Both things are exhibited if I remove chan_fax and chan_bluetooth as well.

WARNING: Freeing unused memory at 0x516d30, in opbx_remotecontrol of
callweaver.c, line 1851

I've also noticed, that although there is a codec_g722.so and a
codec_g722_16k_8k.so, There isn't a g722 column/row in show translations.

I am making clean before ./configuring and deleting all modules between
each build.

spandsp version 0.0.4pre9
zaptel version  1.4.5.1
postgresql version 8.2.4

removed iax-trunking  still happening
removed chan_zaptel  (changing with to without) still happening
removed all chan_* (by deleting modules, not recompiling)       still happening.
removed --enable-builtin-sqlite3        still happening
removed --enable-t38 still happening
removed --with-res_config_pgsql still happening
removed --with-cdr_pgsql
removed --enable-postgresql

so:

./configure --enable-debug=yes --enable-do-crash=yes
--enable-frame-tracing=yes --enable-valgrind=yes --enable-debug=yes
--enable-debug-scheduler=yes --enable-stack-backtraces=yes
--disable-optimization --with-debug_malloc=yes --without-chan_mgcp
--without-chan_zap

still does it.

./configure --without-chan_mgcp --without-chan_zap

strangely doesn't even compile with:

gcc -g -O2 -o .libs/callweaver callweaver-main.o
./corelib/.libs/libcallweaver.so ./libltdl/.libs/libltdlc.a -ldl -lrt
-lresolv -lpthread -lnsl -lreadline -lncurses -lm -ldb -lc -Wl,--rpath
-Wl,/usr/local/lib/callweaver
/usr/local/lib/callweaver/libcwjb.so.0: undefined reference to
`__opbx_malloc'
/usr/local/lib/callweaver/libcwjb.so.0: undefined reference to `__opbx_free'

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to