返回列表 發帖
Thank you for your information. If the Asterisk 1.8 is a stable version rather than beta version, I shall install it without anydoubt.

YH

TOP

I have already updated the Asterisk 1.4.35. As recommened by ckleea CHing, Asterisk upgrade using yum is very convenient.

YH

TOP

不明白你上面的意思!那么能否用yum update了?

角色

TOP

Asterisk 1.8 beta 4 has already been released. Once it is in production version, I shall consider to install it.

YH

TOP

Copied. Thanks.

YH

TOP

Just installed a few hours ago.

YH

TOP

Where did you get the compilear for your ARM NAS?

YH

TOP

For 1.4.36 compilation, I have problems in find the command md5sum. Do you know where I can install it?

build_tools/make_buildopts_h: line 25: md5sum: command not found

YH

TOP

When I try to run "make menuselect", it gives the following errors:
  1. [/opt/usr/src/asterisk-1.4.36] # make menuselect
  2. CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
  3. make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  4. make[1]: `makeopts' is up to date.
  5. make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  6. CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
  7. make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  8. make[1]: Nothing to be done for `cmenuselect'.
  9. make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  10. CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" nmenuselect
  11. make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  12. make[1]: Nothing to be done for `nmenuselect'.
  13. make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  14. CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect
  15. make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  16. make[1]: Nothing to be done for `gmenuselect'.
  17. make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  18. No menuselect user interface found. Install ncurses,
  19. newt or GTK libraries to build one and re-rerun
  20. 'make menuselect'.
複製代碼
I have already installed ncurses and newt programms but I still failed to "make menuselect".

YH

TOP

Thank you for your information.
I am using QNAP TS-119. Let me try to install GNU coreutils.

YH

TOP

本帖最後由 角色 於 2010-9-18 07:14 編輯
Did "ldconfig -v" show libncurses ?
Sam 發表於 2010-9-18 00:34


Yes, it shows libncurses.so.5 -> libncurses.so.5.5.

YH

TOP

md5sum is in my system when I install the GNU coreutils.
Sam 發表於 2010-9-18 00:28


After installing GNU coreutils, I re-make again. So far, it keeps on compiling without errors. Let us see what are the end results later.

YH

TOP

I still have problem in compiling the Asterisk 1.4.36 source codes with the following errors:
  1. [/opt/usr/src/asterisk-1.4.36] # make
  2. CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
  3. make[1]: Entering directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  4. make[1]: `makeopts' is up to date.
  5. make[1]: Leaving directory `/share/HDA_DATA/.qpkg/Optware/usr/src/asterisk-1.4.36/menuselect'
  6. In file included from chared.h:136,
  7.                  from el.h:101,
  8.                  from common.c:51,
  9.                  from editline.c:4:
  10. fcns.h:56:1: warning: "em_upper_case" redefined
  11. fcns.h:50:1: warning: this is the location of the previous definition
  12. In file included from editline.c:4:
  13. common.c:73: error: expected identifier or '(' before numeric constant
  14. common.c:302: error: expected identifier or '(' before numeric constant
  15. common.c:353: error: expected identifier or '(' before numeric constant
  16. common.c: In function 'ed_quoted_insert':
  17. common.c:387: error: called object '8' is not a function
  18. common.c: At top level:
  19. common.c:397: error: expected identifier or '(' before numeric constant
  20. common.c:441: error: expected identifier or '(' before numeric constant
  21. common.c:466: error: expected identifier or '(' before numeric constant
  22. common.c:485: error: expected identifier or '(' before numeric constant
  23. common.c:498: error: expected identifier or '(' before numeric constant
  24. common.c:524: error: expected identifier or '(' before numeric constant
  25. common.c:537: error: expected identifier or '(' before numeric constant
  26. In file included from editline.c:5:
  27. emacs.c:122: error: expected identifier or '(' before numeric constant
  28. emacs.c:288: error: expected identifier or '(' before numeric constant
  29. emacs.c:368: error: expected identifier or '(' before numeric constant
  30. emacs.c:382: error: expected identifier or '(' before numeric constant
  31. emacs.c:416: error: expected identifier or '(' before numeric constant
  32. emacs.c:470: error: expected identifier or '(' before numeric constant
  33. emacs.c:483: error: expected identifier or '(' before numeric constant
  34. In file included from editline.c:6:
複製代碼
Does anymore who have come across with it when compiling your codes under a QNAP TS-119 platform.

YH

TOP

In fact, under the Optware platform, there has Asterisk-1.6.2.12 ipkg install package. You do not need to compile it by yourself.

YH

TOP

In fact, I wanna compile the Asterisk tar ball by myself. However there are many errors coming out. I do not know how to fix it because I do not know the correct environment and libraries needed. As a result, I have to give up. I have no choice to switch of ipkg asterisk16 I want to.

YH

TOP

返回列表