Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2015-01-13 14:18:40 +0400

lipunis Gravatar lipunis

dongle e1550 FreePBX-32bit-6.12.65

[root@localhost asterisk-chan-dongle-asterisk11]# aclocal configure.in:10: warning: ACARGPROGRAM was called before ACCANONICALTARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM is expanded from... configure.in:10: the top level [root@localhost asterisk-chan-dongle-asterisk11]# autoconf
configure.in:10: warning: ACARGPROGRAM was called before ACCANONICALTARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM is expanded from... configure.in:10: the top level [root@localhost asterisk-chan-dongle-asterisk11]# automake -a configure.in:10: warning: ACARGPROGRAM was called before ACCANONICALTARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM is expanded from... configure.in:10: the top level automake: no `Makefile.am' found for any configure output [root@localhost asterisk-chan-dongle-asterisk11]# ./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 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 target system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for strip... strip checking for rm... rm checking for library containing iconv... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking whether asterisk.h in ../include... no checking whether asterisk.h in /usr/include... yes checking asterisk.h usability... yes checking asterisk.h presence... yes checking for asterisk.h... yes checking whether iconv.h in /usr/include... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv use const inbuf... no checking for iconvt in iconv.h... yes checking for ASTCONTROLSRCCHANGE in asterisk/frame.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sizet... yes checking for ssizet... yes checking for uint64t... yes checking whether CC supports -fvisibility=hidden... yes checking whether CC supports -fPIC... yes checking whether CC supports -Wall... yes checking whether CC supports -Wextra... yes checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes checking whether DESTDIR is /usr/lib/asterisk/modules... yes checking for working memcmp... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for memmem... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strtol... yes checking for realpath... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands [root@localhost asterisk-chan-dongle-asterisk11]# make ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands gcc -shared -Xlinker -x -o chandongle.so app.o atcommand.o atparse.o atqueue.o atread.o atresponse.o chandongle.o channel.o charconv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dcconfig.o pdu.o mixbuffer.o pdiscovery.o [root@localhost asterisk-chan-dongle-asterisk11]# make install ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands strip chandongle.so /usr/bin/install -c -m 755 chan_dongle.so /usr/lib/asterisk/modules [root@localhost asterisk-chan-dongle-asterisk11]# ^C [root@localhost asterisk-chan-dongle-asterisk11]# ^C [root@localhost asterisk-chan-dongle-asterisk11]#

ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox

dongle e1550 FreePBX-32bit-6.12.65

[root@localhost asterisk-chan-dongle-asterisk11]# aclocal configure.in:10: warning: ACARGPROGRAM was called before ACCANONICALTARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM is expanded from... configure.in:10: the top level level

[root@localhost asterisk-chan-dongle-asterisk11]# autoconf
configure.in:10: warning: ACARGPROGRAM was called before ACCANONICALTARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM is expanded from... configure.in:10: the top level level

[root@localhost asterisk-chan-dongle-asterisk11]# automake -a configure.in:10: warning: ACARGPROGRAM was called before ACCANONICALTARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM is expanded from... configure.in:10: the top level automake: no `Makefile.am' found for any configure output output

[root@localhost asterisk-chan-dongle-asterisk11]# ./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 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 target system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for strip... strip checking for rm... rm checking for library containing iconv... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking whether asterisk.h in ../include... no checking whether asterisk.h in /usr/include... yes checking asterisk.h usability... yes checking asterisk.h presence... yes checking for asterisk.h... yes checking whether iconv.h in /usr/include... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv use const inbuf... no checking for iconvt in iconv.h... yes checking for ASTCONTROLSRCCHANGE in asterisk/frame.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sizet... yes checking for ssizet... yes checking for uint64t... yes checking whether CC supports -fvisibility=hidden... yes checking whether CC supports -fPIC... yes checking whether CC supports -Wall... yes checking whether CC supports -Wextra... yes checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes checking whether DESTDIR is /usr/lib/asterisk/modules... yes checking for working memcmp... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for memmem... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strtol... yes checking for realpath... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands commands

[root@localhost asterisk-chan-dongle-asterisk11]# make ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands gcc -shared -Xlinker -x -o chandongle.so app.o atcommand.o atparse.o atqueue.o atread.o atresponse.o chandongle.o channel.o charconv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dcconfig.o dc_config.o pdu.o mixbuffer.o pdiscovery.o

[root@localhost asterisk-chan-dongle-asterisk11]# make install ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands strip chandongle.so /usr/bin/install -c -m 755 chan_dongle.so /usr/lib/asterisk/modules chandongle.so /usr/lib/asterisk/modules

[root@localhost asterisk-chan-dongle-asterisk11]# ^C [root@localhost asterisk-chan-dongle-asterisk11]# ^C [root@localhost asterisk-chan-dongle-asterisk11]#

ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox

dongle e1550 FreePBX-32bit-6.12.65

[root@localhost asterisk-chan-dongle-asterisk11]# aclocal
configure.in:10: warning: ACARGPROGRAM AC_ARG_PROGRAM was called before ACCANONICALTARGET
AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: ACCANONICALTARGET AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

level [root@localhost asterisk-chan-dongle-asterisk11]# autoconf
configure.in:10: warning: ACARGPROGRAM AC_ARG_PROGRAM was called before ACCANONICALTARGET AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET AC_CANONICAL_TARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM AC_CANONICAL_SYSTEM is expanded from... configure.in:10: the top level

level [root@localhost asterisk-chan-dongle-asterisk11]# automake -a configure.in:10: warning: ACARGPROGRAM AC_ARG_PROGRAM was called before ACCANONICALTARGET AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1795: ACCANONICALTARGET AC_CANONICAL_TARGET is expanded from... ../../lib/autoconf/general.m4:1819: ACCANONICALSYSTEM AC_CANONICAL_SYSTEM is expanded from... configure.in:10: the top level automake: no `Makefile.am' found for any configure output

output [root@localhost asterisk-chan-dongle-asterisk11]# ./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 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 target system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for strip... strip checking for rm... rm checking for library containing iconv... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking whether asterisk.h in ../include... no checking whether asterisk.h in /usr/include... yes checking asterisk.h usability... yes checking asterisk.h presence... yes checking for asterisk.h... yes checking whether iconv.h in /usr/include... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv use const inbuf... no checking for iconvt iconv_t in iconv.h... yes checking for ASTCONTROLSRCCHANGE AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sizet... yes checking for ssizet... yes checking for uint64t... size_t... yes checking for ssize_t... yes checking for uint64_t... yes checking whether CC supports -fvisibility=hidden... yes checking whether CC supports -fPIC... yes checking whether CC supports -Wall... yes checking whether CC supports -Wextra... yes checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes checking whether DESTDIR is /usr/lib/asterisk/modules... yes checking for working memcmp... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for memmem... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strtol... yes checking for realpath... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands

commands [root@localhost asterisk-chan-dongle-asterisk11]# make ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands gcc -shared -Xlinker -x -o chandongle.so chan_dongle.so app.o atcommand.o atparse.o atqueue.o atread.o atresponse.o chandongle.o at_command.o at_parse.o at_queue.o at_read.o at_response.o chan_dongle.o channel.o charconv.o char_conv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dc_config.o pdu.o mixbuffer.o pdiscovery.o

[root@localhost asterisk-chan-dongle-asterisk11]# make install ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands strip chandongle.so chan_dongle.so /usr/bin/install -c -m 755 chandongle.so /usr/lib/asterisk/modules

chan_dongle.so /usr/lib/asterisk/modules [root@localhost asterisk-chan-dongle-asterisk11]# ^C [root@localhost asterisk-chan-dongle-asterisk11]# ^C [root@localhost asterisk-chan-dongle-asterisk11]#

asterisk-chan-dongle-asterisk11]#

ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox

нажмите, чтобы скрыть/показать версии 4
исправление орфографии
редактировать

dongle e1550 FreePBX-32bit-6.12.65

[root@localhost asterisk-chan-dongle-asterisk11]# aclocal
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

[root@localhost asterisk-chan-dongle-asterisk11]# autoconf   
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

[root@localhost asterisk-chan-dongle-asterisk11]# automake -a
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level
automake: no `Makefile.am' found for any configure output

[root@localhost asterisk-chan-dongle-asterisk11]# ./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 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 target system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... strip
checking for rm... rm
checking for library containing iconv... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether asterisk.h in ../include... no
checking whether asterisk.h in /usr/include... yes
checking asterisk.h usability... yes
checking asterisk.h presence... yes
checking for asterisk.h... yes
checking whether iconv.h in /usr/include... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv use const inbuf... no
checking for iconv_t in iconv.h... yes
checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking whether CC supports -fvisibility=hidden... yes
checking whether CC supports -fPIC... yes
checking whether CC supports -Wall... yes
checking whether CC supports -Wextra... yes
checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes
checking whether DESTDIR is /usr/lib/asterisk/modules... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for memmem... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

[root@localhost asterisk-chan-dongle-asterisk11]# make
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
gcc  -shared -Xlinker -x -o chan_dongle.so app.o at_command.o at_parse.o at_queue.o at_read.o at_response.o chan_dongle.o channel.o char_conv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dc_config.o pdu.o mixbuffer.o pdiscovery.o 

[root@localhost asterisk-chan-dongle-asterisk11]# make install
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
strip chan_dongle.so
/usr/bin/install -c -m 755 chan_dongle.so /usr/lib/asterisk/modules

[root@localhost asterisk-chan-dongle-asterisk11]# ^C
[root@localhost asterisk-chan-dongle-asterisk11]# ^C
[root@localhost asterisk-chan-dongle-asterisk11]#

ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox

Странно это, видно перечитал :) , прошу прощения что уделили время, просто вчера вставлял модем и он не определялся , я и решил что косяк с установкой. Еще как вариант может быть другой модем был :e171 и e173. Cегодня переустановил, воткнул e1550 и заработало, только смущают замечания и предупреждения при make: [root@localhost asterisk-chan-dongle-asterisk11]# make gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c app.c: В функции ‘appstatusexec’: app.c:37: предупреждение: пропущен инициализатор app.c:37: предупреждение: (где-то рядом с инициализацией для ‘args.resource’) app.c: В функции ‘appsendsmsexec’: app.c:82: предупреждение: пропущен инициализатор app.c:82: предупреждение: (где-то рядом с инициализацией для ‘args.device’) gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atcommand.o -MF .atcommand.o.d -MP -o atcommand.o -c atcommand.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atparse.o -MF .atparse.o.d -MP -o atparse.o -c atparse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atqueue.o -MF .atqueue.o.d -MP -o atqueue.o -c atqueue.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atread.o -MF .atread.o.d -MP -o atread.o -c atread.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atresponse.o -MF .atresponse.o.d -MP -o atresponse.o -c atresponse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chandongle.o -MF .chandongle.o.d -MP -o chandongle.o -c chan_dongle.c

астер уагадал ошибок не выдает. Вопросы: 1) Их ввобще не должно быть и нужно опять пробовать иначе ? 2) Нужно ли обновлять ядро в этом дистрибутиве(по умолчанию 2.6.32-431.el6.i686) или его необходимо обновлять до 2.6.33+ ? Спасибо.

dongle e1550 FreePBX-32bit-6.12.65

[root@localhost asterisk-chan-dongle-asterisk11]# aclocal
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

[root@localhost asterisk-chan-dongle-asterisk11]# autoconf   
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

[root@localhost asterisk-chan-dongle-asterisk11]# automake -a
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level
automake: no `Makefile.am' found for any configure output

[root@localhost asterisk-chan-dongle-asterisk11]# ./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 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 target system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... strip
checking for rm... rm
checking for library containing iconv... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether asterisk.h in ../include... no
checking whether asterisk.h in /usr/include... yes
checking asterisk.h usability... yes
checking asterisk.h presence... yes
checking for asterisk.h... yes
checking whether iconv.h in /usr/include... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv use const inbuf... no
checking for iconv_t in iconv.h... yes
checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking whether CC supports -fvisibility=hidden... yes
checking whether CC supports -fPIC... yes
checking whether CC supports -Wall... yes
checking whether CC supports -Wextra... yes
checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes
checking whether DESTDIR is /usr/lib/asterisk/modules... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for memmem... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

[root@localhost asterisk-chan-dongle-asterisk11]# make
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
gcc  -shared -Xlinker -x -o chan_dongle.so app.o at_command.o at_parse.o at_queue.o at_read.o at_response.o chan_dongle.o channel.o char_conv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dc_config.o pdu.o mixbuffer.o pdiscovery.o 

[root@localhost asterisk-chan-dongle-asterisk11]# make install
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
strip chan_dongle.so
/usr/bin/install -c -m 755 chan_dongle.so /usr/lib/asterisk/modules

[root@localhost asterisk-chan-dongle-asterisk11]# ^C

ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox

Странно это, видно перечитал :) , прошу прощения что уделили время, просто вчера вставлял модем и он не определялся , я и решил что косяк с установкой. Еще как вариант может быть другой модем был :e171 и e173. Cегодня переустановил, воткнул e1550 и заработало, только смущают замечания и предупреждения при make: [root@localhost asterisk-chan-dongle-asterisk11]# make gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c app.c: В функции ‘appstatusexec’: app.c:37: предупреждение: пропущен инициализатор app.c:37: предупреждение: (где-то рядом с инициализацией для ‘args.resource’) app.c: В функции ‘appsendsmsexec’: app.c:82: предупреждение: пропущен инициализатор app.c:82: предупреждение: (где-то рядом с инициализацией для ‘args.device’) gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atcommand.o -MF .atcommand.o.d -MP -o atcommand.o -c atcommand.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atparse.o -MF .atparse.o.d -MP -o atparse.o -c atparse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atqueue.o -MF .atqueue.o.d -MP -o atqueue.o -c atqueue.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atread.o -MF .atread.o.d -MP -o atread.o -c atread.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atresponse.o -MF .atresponse.o.d -MP -o atresponse.o -c atresponse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chandongle.o -MF .chandongle.o.d -MP -o chandongle.o -c chan_dongle.c

астер уагадал ошибок не выдает. Вопросы: 1) Их ввобще не должно быть и нужно опять пробовать иначе ? 2) Нужно ли обновлять ядро в этом дистрибутиве(по умолчанию 2.6.32-431.el6.i686) или его необходимо обновлять до 2.6.33+ ? Спасибо.

Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него давал ошибку.

dongle e1550 FreePBX-32bit-6.12.65

Предупреждения при make:

[root@localhost asterisk-chan-dongle-asterisk11]# aclocal
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

[root@localhost asterisk-chan-dongle-asterisk11]# autoconf   
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level

[root@localhost asterisk-chan-dongle-asterisk11]# automake -a
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from...
../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from...
configure.in:10: the top level
automake: no `Makefile.am' found for any configure output

[root@localhost asterisk-chan-dongle-asterisk11]# ./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 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 target system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... strip
checking for rm... rm
checking for library containing iconv... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether asterisk.h in ../include... no
checking whether asterisk.h in /usr/include... yes
checking asterisk.h usability... yes
checking asterisk.h presence... yes
checking for asterisk.h... yes
checking whether iconv.h in /usr/include... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv use const inbuf... no
checking for iconv_t in iconv.h... yes
checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking whether CC supports -fvisibility=hidden... yes
checking whether CC supports -fPIC... yes
checking whether CC supports -Wall... yes
checking whether CC supports -Wextra... yes
checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes
checking whether DESTDIR is /usr/lib/asterisk/modules... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for memmem... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

[root@localhost root@localhost asterisk-chan-dongle-asterisk11]# make
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
gcc  -shared -Xlinker -x -o chan_dongle.so app.o at_command.o at_parse.o at_queue.o at_read.o at_response.o chan_dongle.o channel.o char_conv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dc_config.o pdu.o mixbuffer.o pdiscovery.o 

[root@localhost asterisk-chan-dongle-asterisk11]# make install
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
strip chan_dongle.so
/usr/bin/install -c -m 755 chan_dongle.so /usr/lib/asterisk/modules

[root@localhost asterisk-chan-dongle-asterisk11]# ^C

ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox

Странно это, видно перечитал :) , прошу прощения что уделили время, просто вчера вставлял модем и он не определялся , я и решил что косяк с установкой. Еще как вариант может быть другой модем был :e171 и e173. Cегодня переустановил, воткнул e1550 и заработало, только смущают замечания и предупреждения при make: [root@localhost asterisk-chan-dongle-asterisk11]# make gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c app.c: В функции ‘appstatusexec’: ‘app_status_exec’: app.c:37: предупреждение: пропущен инициализатор app.c:37: предупреждение: (где-то рядом с инициализацией для ‘args.resource’) app.c: В функции ‘appsendsmsexec’: ‘app_send_sms_exec’: app.c:82: предупреждение: пропущен инициализатор app.c:82: предупреждение: (где-то рядом с инициализацией для ‘args.device’) gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atcommand.o -MF .atcommand.o.d -MP -o atcommand.o -c atcommand.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atparse.o -MF .atparse.o.d -MP -o atparse.o -c atparse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atqueue.o -MF .atqueue.o.d -MP -o atqueue.o -c atqueue.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atread.o -MF .atread.o.d -MP -o atread.o -c atread.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atresponse.o -MF .atresponse.o.d -MP -o atresponse.o -c atresponse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chandongle.o -MF .chandongle.o.d -MP -o chandongle.o -c chan_dongle.c

-D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_command.o -MF .at_command.o.d -MP -o at_command.o -c at_command.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_parse.o -MF .at_parse.o.d -MP -o at_parse.o -c at_parse.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_queue.o -MF .at_queue.o.d -MP -o at_queue.o -c at_queue.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_read.o -MF .at_read.o.d -MP -o at_read.o -c at_read.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_response.o -MF .at_response.o.d -MP -o at_response.o -c at_response.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chan_dongle.o -MF .chan_dongle.o.d -MP -o chan_dongle.o -c chan_dongle.c

астер уагадал модемы увидел, ошибок не выдает. Вопросы: 1) Их ввобще не должно быть Но спустя время, начало глючить, пришлось физически выдернуть донглы и нужно опять пробовать иначе ? 2) перегрузить систему.Грешил на питание (донглы воткнуты в материнку), но пересобрал драйвер(сделал по инструкции link text) , уже вышеуказанных ошибок уже нет, пока работает. Вопрос:

Нужно ли обновлять ядро в этом дистрибутиве(по дистрибутиве до 2.6.33+(по умолчанию 2.6.32-431.el6.i686) или его необходимо обновлять до 2.6.33+ ? 2.6.32-431.el6.i686)? Спасибо.

Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него также давал ошибку.

dongle e1550 FreePBX-32bit-6.12.65

Предупреждения при make:

root@localhost asterisk-chan-dongle-asterisk11]# make gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c app.c: В функции ‘app_status_exec’: ‘appstatusexec’: app.c:37: предупреждение: пропущен инициализатор app.c:37: предупреждение: (где-то рядом с инициализацией для ‘args.resource’) app.c: В функции ‘app_send_sms_exec’: ‘appsendsmsexec’: app.c:82: предупреждение: пропущен инициализатор app.c:82: предупреждение: (где-то рядом с инициализацией для ‘args.device’) gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_command.o -MF .at_command.o.d -MP -o at_command.o -c at_command.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_parse.o -MF .at_parse.o.d -MP -o at_parse.o -c at_parse.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_queue.o -MF .at_queue.o.d -MP -o at_queue.o -c at_queue.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_read.o -MF .at_read.o.d -MP -o at_read.o -c at_read.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_response.o -MF .at_response.o.d -MP -o at_response.o -c at_response.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chan_dongle.o -MF .chan_dongle.o.d -MP -o chan_dongle.o -c chan_dongle.c

-DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atcommand.o -MF .atcommand.o.d -MP -o atcommand.o -c atcommand.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atparse.o -MF .atparse.o.d -MP -o atparse.o -c atparse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atqueue.o -MF .atqueue.o.d -MP -o atqueue.o -c atqueue.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atread.o -MF .atread.o.d -MP -o atread.o -c atread.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atresponse.o -MF .atresponse.o.d -MP -o atresponse.o -c atresponse.c gcc -g -O2 -O6 -I. -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chandongle.o -MF .chandongle.o.d -MP -o chandongle.o -c chan_dongle.c

астер модемы увидел, ошибок не выдает. Но спустя время, начало глючить, пришлось физически выдернуть донглы и перегрузить систему.Грешил на питание (донглы воткнуты в материнку), но пересобрал драйвер(сделал по инструкции link text) , уже вышеуказанных ошибок уже нет, пока работает. Вопрос:

Нужно ли обновлять ядро в этом дистрибутиве до 2.6.33+(по умолчанию 2.6.32-431.el6.i686)? Спасибо.

Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него также давал ошибку.

dongle e1550 FreePBX-32bit-6.12.65

Предупреждения при make:

root@localhost asterisk-chan-dongle-asterisk11]# make
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP  -o app.o -c app.c
app.c: В функции ‘appstatusexec’:
‘app_status_exec’:
app.c:37: предупреждение: пропущен инициализатор
app.c:37: предупреждение: (где-то рядом с инициализацией для ‘args.resource’)
app.c: В функции ‘appsendsmsexec’:
‘app_send_sms_exec’:
app.c:82: предупреждение: пропущен инициализатор
app.c:82: предупреждение: (где-то рядом с инициализацией для ‘args.device’)
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atcommand.o -MF .atcommand.o.d -MP  -o atcommand.o -c atcommand.c
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atparse.o -MF .atparse.o.d -MP  -o atparse.o -c atparse.c
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atqueue.o -MF .atqueue.o.d -MP  -o atqueue.o -c atqueue.c
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atread.o -MF .atread.o.d -MP  -o atread.o -c atread.c
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT atresponse.o -MF .atresponse.o.d -MP  -o atresponse.o -c atresponse.c
gcc -g -O2 -O6 -I.  -DGNUSOURCE -I/usr/include -I/usr/include -DASTERISKVERSIONNUM=110000 -DHAVECONFIGH  -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chandongle.o -MF .chandongle.o.d -MP  -o chandongle.o -c chan_dongle.c

-D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_command.o -MF .at_command.o.d -MP -o at_command.o -c at_command.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_parse.o -MF .at_parse.o.d -MP -o at_parse.o -c at_parse.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_queue.o -MF .at_queue.o.d -MP -o at_queue.o -c at_queue.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_read.o -MF .at_read.o.d -MP -o at_read.o -c at_read.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_response.o -MF .at_response.o.d -MP -o at_response.o -c at_response.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chan_dongle.o -MF .chan_dongle.o.d -MP -o chan_dongle.o -c chan_dongle.c

астер модемы увидел, ошибок не выдает. Но спустя время, начало глючить, пришлось физически выдернуть донглы и перегрузить систему.Грешил на питание (донглы воткнуты в материнку), но пересобрал драйвер(сделал по инструкции link text) , уже вышеуказанных ошибок уже нет, пока работает. Вопрос:

Нужно ли обновлять ядро в этом дистрибутиве до 2.6.33+(по умолчанию 2.6.32-431.el6.i686)? Спасибо.

Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него также давал ошибку.

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.