返回列表 發帖
Something wrong with my Asterisk 1.6... don't know why it cannot locate all the config files although correct path already mentioned in asterisk.conf, I use  "make DESTDIR=/opt install" but the binary still look for the default paths:

Could not load features.conf
No 'modules.conf' found, no modules will be loaded.
Unable to open Asterisk database '/var/lib/asterisk/astdb': No such file or directory
No 'modules.conf' found, no modules will be loaded.

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

Oh, made a stupid mistake by forgot to uncomment [directories] in asterisk.conf,... My 1.6.2 in arm linux is up and running fine now!

TOP

glad to hear you make it work.

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

For those who want to upgrade from Asterisk 1.4 to 1.6 please be very careful, 1.4 configuration will not work directly under 1.6 and many of the connect working well under 1.4 will be broken in 1.6, I am still having a hard time to flight with them....

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

You are right, I forgot to add the new Optware feeds to ipkg so I don't know 1.6 is already available, thanks!

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

Maybe you can update to the latest C Dev Environment... I just figure out I can't use the latest Asterisk 1.6 ipk distribution because it is not compatible with my old glibc

TOP

Could you elaborate more about the way to update the latest C Development environment?

YH

TOP

Such as the C/C++ compiler, I've seen the above "error: expected identifier or '(' before numeric constant " usually reported on GCC 3.x.x while 4.1.1 should no longer complaint.

TOP

The one that I have has already been gcc version 4.2.3.

YH

TOP

The Asterisk Development Team is proud to announce the release of Asterisk
1.8.0. This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/

Asterisk 1.8 is the next major release series of Asterisk. It will be a Long
Term Support (LTS) release, similar to Asterisk 1.4. For more information about
support time lines for Asterisk releases, see the Asterisk versions page.

http://www.asterisk.org/asterisk-versions

The release of Asterisk 1.8.0 would not have been possible without the support
and contributions of the community. Since Asterisk 1.6.2, we've had over 500
reporters, more than 300 testers and greater than 200 developers contributed to
this release.

You can find a summary of the work involved with the 1.8.0 release in the
sumary:

http://svn.asterisk.org/svn/aste ... k-1.8.0-summary.txt

A short list of available features includes:

    * Secure RTP
    * IPv6 Support in the SIP channel driver
    * Connected Party Identification Support
    * Calendaring Integration
    * A new call logging system, Channel Event Logging (CEL)
    * Distributed Device State using Jabber/XMPP PubSub
    * Call Completion Supplementary Services support
    * Advice of Charge support
    * Much, much more!

A full list of new features can be found in the CHANGES file.

http://svn.digium.com/view/aster ... CHANGES?view=markup

For a full list of changes in the current release candidate, please see the
ChangeLog:

http://downloads.asterisk.org/pu ... isk/ChangeLog-1.8.0

Thank you for your continued support of Asterisk!

TOP

Thanks CK for letting us know the most updated information. When I have time, I may set up one server for Asterisk 1.8 for evaluation.

YH

TOP

返回列表