1 | изначальная версия редактировать | |
[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
2 | No.2 Revision редактировать |
[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
3 | No.3 Revision редактировать |
[root@localhost asterisk-chan-dongle-asterisk11]# aclocal
configure.in:10: warning: ПРошу прощения что без спойлера, не нашел :( К этому могу добавить что пробую запустить через VirtualBox
4 | исправление орфографии редактировать |
[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+ ? Спасибо.
5 | No.5 Revision редактировать |
[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, без него давал ошибку.
6 | Просветление редактировать |
Предупреждения при 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
астер уагадал модемы увидел, ошибок не выдает.
Вопросы:
1) Их ввобще не должно быть Но спустя время, начало глючить, пришлось физически выдернуть донглы и нужно опять пробовать иначе ?
2) перегрузить систему.Грешил на питание (донглы воткнуты в материнку), но пересобрал драйвер(сделал по инструкции link text) , уже вышеуказанных ошибок уже нет, пока работает.
Вопрос:
Нужно ли обновлять ядро в этом дистрибутиве(по дистрибутиве до 2.6.33+(по умолчанию 2.6.32-431.el6.i686) или его необходимо обновлять до 2.6.33+ ?
2.6.32-431.el6.i686)?
Спасибо.
Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него также давал ошибку.
7 | No.7 Revision редактировать |
Предупреждения при make:
астер модемы увидел, ошибок не выдает. Но спустя время, начало глючить, пришлось физически выдернуть донглы и перегрузить систему.Грешил на питание (донглы воткнуты в материнку), но пересобрал драйвер(сделал по инструкции link text) , уже вышеуказанных ошибок уже нет, пока работает. Вопрос:
Нужно ли обновлять ядро в этом дистрибутиве до 2.6.33+(по умолчанию 2.6.32-431.el6.i686)? Спасибо.
Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него также давал ошибку.
8 | No.8 Revision редактировать |
Предупреждения при make:
root@localhost asterisk-chan-dongle-asterisk11]# make
gcc -g -O2 -O6 -I. астер модемы увидел, ошибок не выдает. Но спустя время, начало глючить, пришлось физически выдернуть донглы и перегрузить систему.Грешил на питание (донглы воткнуты в материнку), но пересобрал драйвер(сделал по инструкции link text) , уже вышеуказанных ошибок уже нет, пока работает. Вопрос:
Нужно ли обновлять ядро в этом дистрибутиве до 2.6.33+(по умолчанию 2.6.32-431.el6.i686)? Спасибо.
Хотелось бы добавить что изначально не хватало пакета asterisk-devel, без него также давал ошибку.
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.