Ich habe eine frisch vom ISO installierte "trixbox CE 2.8.0.4"
Softphones per SIP funktionieren.
Für unsere Cisco7940 Telefone will ich SCCP benutzen.
Ich habe die letzte SCCP Version Chan_SCCP-3.0_RC3.1.tar.gz heruntergeladen und per config, make und make install installiert.
Leider bekomme ich beim Starten der Trixbox im logfile die folgende Meldung:
[Apr 14 15:58:29] WARNING[11596] loader.c: Error loading module 'chan_sccp.so': /usr/lib/asterisk/modules/chan_sccp.so: undefined symbol: ast_rtp_change_source
[Apr 14 15:58:29] WARNING[11596] loader.c: Module 'chan_sccp.so' could not be loaded.
Leider komme ich an der Stelle nicht weiter, da ich die Warnings beim installieren nicht wirklich deuten kann und die Infos zur Fehlersuche recht dünn sind.
Für Hilfe wäre ich echt dankbar!
Grüße Ron
Hier noch die Ausgabe vom installieren:
Softphones per SIP funktionieren.
Für unsere Cisco7940 Telefone will ich SCCP benutzen.
Ich habe die letzte SCCP Version Chan_SCCP-3.0_RC3.1.tar.gz heruntergeladen und per config, make und make install installiert.
Leider bekomme ich beim Starten der Trixbox im logfile die folgende Meldung:
[Apr 14 15:58:29] WARNING[11596] loader.c: Error loading module 'chan_sccp.so': /usr/lib/asterisk/modules/chan_sccp.so: undefined symbol: ast_rtp_change_source
[Apr 14 15:58:29] WARNING[11596] loader.c: Module 'chan_sccp.so' could not be loaded.
Leider komme ich an der Stelle nicht weiter, da ich die Warnings beim installieren nicht wirklich deuten kann und die Infos zur Fehlersuche recht dünn sind.
Für Hilfe wäre ich echt dankbar!
Grüße Ron
Hier noch die Ausgabe vom installieren:
Code:
Chan_SCCP-3.0_RC3.1]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Checking AutoMake:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for uname... /bin/uname
checking for date... /bin/date
checking for uname... /bin/uname
checking for whoami... /usr/bin/whoami
checking for finger... /usr/bin/finger
checking for head... /usr/bin/head
checking for cut... /bin/cut
checking for awk... /bin/awk
Checking host platform:
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... yes
Checking for standard programs:
checking for ggrep... (cached) /bin/grep
checking for svn... no
checking for bash... /bin/sh
checking for bash... /bin/bash
checking for gm4... no
checking for m4... /usr/bin/m4
checking for gsed... no
checking for sed... /bin/sed
checking for cat... /bin/cat
checking for tr... /usr/bin/tr
checking for uname... (cached) /bin/uname
checking for whoami... (cached) /usr/bin/whoami
checking for rpmbuild... /usr/bin/rpmbuild
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether gcc needs -traditional... no
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
Checking Libtool:
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /usr/lib/mysql /usr/lib/qt-3.3/lib
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... no
checking where to find libltdl headers... -I${top_srcdir}/libltdl
checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
Checking for Required Libraries:
checking for main in -lc... yes
checking for main in -lpthread... yes
checking for main in -lsocket... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for mkdir... yes
checking for select... yes
checking for socket... yes
checking for strsep... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strerror... (cached) yes
checking for strchr... (cached) yes
checking for malloc... yes
checking for calloc... yes
checking for realloc... yes
checking for free... yes
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for netinet/in.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for inline... (cached) inline
checking for an ANSI C-conforming const... (cached) yes
checking for working volatile... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether INET_ADDRSTRLEN is declared... yes
checking whether INET6_ADDRSTRLEN is declared... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of char *... 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking size of fd_set.fds_bits... (cached) 4
checking for svn2cl... no
checking whether byte ordering is bigendian... no
Checking Configure Options:
Search Path: NONE /usr /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr/sfw
checking NONE for PBX Installation...no
checking /usr for PBX Installation...yes
Asterisk found in /usr
Checking Asterisk Version:
checking asterisk/version.h usability... yes
checking asterisk/version.h presence... yes
checking for asterisk/version.h... yes
checking for version in asterisk/version.h... Found 'Asterisk Version 1.6.x'
Specifically 1.6.0
Checking Asterisk Headers:
checking for asterisk/lock.h... yes
checking for asterisk/acl.h... yes
checking for asterisk/app.h... yes
checking for asterisk/astdb.h... yes
checking for asterisk/callerid.h... yes
checking for asterisk/causes.h... yes
checking for asterisk/channel.h... yes
checking for asterisk/channel_pvt.h... no
checking for asterisk/cli.h... yes
checking for asterisk/config.h... yes
checking for asterisk/devicestate.h... yes
checking for asterisk/endian.h... yes
checking for asterisk/event.h... yes
checking for asterisk/features.h... no
checking for asterisk/frame.h... yes
checking for asterisk/logger.h... yes
checking for asterisk/manager.h... no
checking for asterisk/module.h... yes
checking for asterisk/musiconhold.h... yes
checking for asterisk/options.h... yes
checking for asterisk/pbx.h... yes
checking for asterisk/rtp.h... yes
checking for asterisk/rtp_engine.h... no
checking for asterisk/sched.h... yes
checking for asterisk/strings.h... yes
checking for asterisk/stringfields.h... yes
checking for asterisk/translate.h... yes
checking for asterisk/utils.h... yes
checking for asterisk/astobj.h... yes
checking for asterisk/astobj2.h... yes
Checking Asterisk Header Content:
checking asterisk/buildopts.h usability... yes
checking asterisk/buildopts.h presence... yes
checking for asterisk/buildopts.h... yes
checking checking DEBUG_CHANNEL_LOCKS in asterisk/buildopts.h... Found
checking checking DEBUG_THREADS in asterisk/buildopts.h... Found
checking asterisk jitterbuffer for 'target_extra'... Found
checking asterisk/sched.h for 'define AST_SCHED_DEL'... Found
checking asterisk/rtp.h for 'void ast_rtp_new_source'... Found
checking asterisk/channel.h for 'struct ast_channel_tech'... Found
checking asterisk/channel.h for 'ast_bridged_channel'... Found
checking asterisk/channel.h for 'struct ast_callerid'... Found
checking asterisk/channel.h for 'MAX_MUSICCLASS'... Found
checking asterisk/channel.h for 'AST_FLAG_MOH'... Found
checking asterisk/channel.h for 'AST_MAX_ACCOUNT_CODE'... Not Found
checking asterisk/channel.h for 'typedef unsigned long long ast_group_t'... Found
checking asterisk/config.h for 'ast_config_load'... Found
checking asterisk/app.h for 'ast_app_has_voicemail.*folder'... Found
checking asterisk/app.h for 'ast_app_separate_args'... Found
checking asterisk/pbx.h for 'ast_get_hint.*name'... Found
checking asterisk/pbx.h for 'AST_EXTENSION_ONHOLD'... Found
checking asterisk/pbx.h for 'AST_EXTENSION_RINGING'... Found
checking asterisk/frame.h for 'void *data;'... Not Found
checking asterisk/frame.h for 'AST_CONTROL_VIDUPDATE'... Found
checking asterisk/frame.h for 'AST_CONTROL_T38'... Found
checking asterisk/frame.h for 'AST_CONTROL_SRCUPDATE'... Found
checking asterisk/frame.h for 'AST_CONTROL_HOLD'... Found
checking asterisk/frame.h for 'AST_CONTROL_CONNECTED_LINE'... Not Found
checking asterisk/frame.h for 'AST_FORMAT_SIREN7'... Not Found
checking asterisk/frame.h for 'AST_CONTROL_SRCCHANGE'... Not Found
checking asterisk/devicestate.h for 'enum ast_device_state' in asterisk/devicestate.h... Found
checking asterisk/devicestate.h for 'AST_DEVICE_RINGING' in asterisk/devicestate.h... Found
checking asterisk/devicestate.h for 'AST_DEVICE_RINGINUSE'... Found
checking asterisk/devicestate.h for 'AST_DEVICE_ONHOLD'... Found
checking asterisk/devicestate.h for 'ast_devstate_changed'... Found
checking asterisk/devicestate.h for 'AST_DEVICE_TOTAL'... Found
checking asterisk/cli.h for 'ast_cli_generator'... Found
checking asterisk/cli.h for 'const char * const *argv'... Not Found
checking asterisk/lock.h for 'ast_lock_track'... Not Found
checking asterisk/event.h for 'ast_event_subscribe'... Found
checking asterisk for 'ast_copy_string'... Found
checking asterisk for 'ast_string_field_'... Found
Checking for Doxygen:
configure: --enable-devdoc: no
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for perl... /usr/bin/perl
configure: --enable-optimization: yes
configure: --enable-debug: no
configure: --enable-pickup: yes
configure: --enable-park: yes
configure: --enable-dirtrfr: yes
configure: --enable-monitor: yes
configure: --enable-conference: no
configure: --enable-manager: yes
configure: --enable-functions: yes
configure: --enable-indications: no
configure: --enable-realtime: yes
configure: --enable-feature-monitor: no
configure: --enable-advanced-functions: no
configure: --enable-experimental-mode: no (only for developers)
configure: --enable-devstate-feature: no
configure: --enable-dynamic-speeddial: yes
configure: --enable-dynamic-speeddial_cid: yes
configure: --enable-video: no
configure: --enable-dynamic-config: yes
Generating Configuration and Makefiles
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Operating System : Linux
Kernel : 2.6.18-164.11.1.el5
Architecture : i686
Asterisk Version : 1.6.0
Build user : root
Version : 3.0_RC3.1_r
CFLAGS : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -DHAVE_ASTERISK -pthread
LDFLAGS :
PBX_TYPE : Asterisk
PBX_LIB : /usr/lib
PBX_INCLUDE : /usr/include/asterisk
config : /etc
modules : /usr/lib/asterisk/modules
Chan_SCCP-3.0_RC3.1]# make
Making all in src
make[1]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/src'
make all-am
make[2]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/src'
CC chan_sccp_la-chan_sccp.lo
CC chan_sccp_la-sccp_channel.lo
CC chan_sccp_la-sccp_device.lo
CC chan_sccp_la-sccp_indicate.lo
CC chan_sccp_la-sccp_pbx.lo
sccp_pbx.c: In function ‘sccp_pbx_indicate’:
sccp_pbx.c:979: warning: implicit declaration of function ‘ast_rtp_change_source’
sccp_pbx.c:979: warning: nested extern declaration of ‘ast_rtp_change_source’
CC chan_sccp_la-sccp_softkeys.lo
CC chan_sccp_la-sccp_featureButton.lo
CC chan_sccp_la-sccp_line.lo
CC chan_sccp_la-sccp_utils.lo
CC chan_sccp_la-sccp_actions.lo
CC chan_sccp_la-sccp_cli.lo
CC chan_sccp_la-sccp_features.lo
CC chan_sccp_la-sccp_socket.lo
CC chan_sccp_la-sccp_config.lo
CC chan_sccp_la-sccp_hint.lo
CC chan_sccp_la-sccp_lock.lo
CC chan_sccp_la-sccp_event.lo
CC chan_sccp_la-sccp_adv_features.lo
CC chan_sccp_la-sccp_management.lo
CC chan_sccp_la-sccp_mwi.lo
CC chan_sccp_la-sccp_conference.lo
CC chan_sccp_la-sccp_pbx_wrapper.lo
CC chan_sccp_la-sccp_rtp.lo
sccp_rtp.c:182:2: warning: no newline at end of file
CCLD chan_sccp.la
make[2]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/src'
make[1]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/src'
Making all in doc
make[1]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/doc'
make[1]: Entering directory `/root/Chan_SCCP-3.0_RC3.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1'
Chan_SCCP-3.0_RC3.1]# make install
Making install in src
make[1]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/src'
make[2]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/src'
make[2]: Nothing to be done for `install-exec-am'.
==============================================================
Installed chan_sccp.so to '/usr/lib/asterisk/modules'...
==============================================================
Please restart asterisk to use the new version of chan_sccp.so
==============================================================
make[2]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/src'
make[1]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/src'
Making install in doc
make[1]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/doc'
make[2]: Entering directory `/root/Chan_SCCP-3.0_RC3.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/doc'
make[1]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1/doc'
make[1]: Entering directory `/root/Chan_SCCP-3.0_RC3.1'
make[2]: Entering directory `/root/Chan_SCCP-3.0_RC3.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1'
make[1]: Leaving directory `/root/Chan_SCCP-3.0_RC3.1'