返回列表 發帖
Just complied 1.6.2.13 in my Buffalo ARM NAS, have to remove 1.4 first and try it later today.

TOP

Where did you get the compilear for your ARM NAS?

YH
角色 發表於 2010-9-17 11:23



2 methods:  
1) Codesourcery  has created the cross toolchain for ARM Processors, you can install this toolchain in Ubuntu.  3 different version of Codesourcery Cross ToolChain can be downloaded here

2) Install GCC it in the NAS box.

I use option 2, a bit slow but it is a more easy way.

TOP

回復  Sam

Do you have problem in installation? I try 1.6 for dd-wrt before but somehow not working ...
ckleea 發表於 2010-9-17 13:04


Still in progress... I will report the result later.

TOP

Ok, seems working but command syntax seems different from v1.4:

# /opt/usr/sbin/asterisk -vvvgc
u-Law coding table test complete.
u-Law tandem transcoding test complete.
a-Law coding tables test complete.
a-Law tandem transcoding test complete.
Asterisk 1.6.2.13, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Started Asterisk Event Logger
No 'modules.conf' found, no modules will be loaded.
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader Starting:
  == Manager registered action Ping
Unable to open AMI configuration manager.conf, or configuration is invalid. Asterisk management interface (AMI) disabled.
  == Manager registered action Events
Couldn't find function EXCEPTION in XML documentation
Couldn't find function EXCEPTION in XML documentation
Couldn't find application Answer in XML documentation
Couldn't find application Answer in XML documentation
Couldn't find application BackGround in XML documentation
Couldn't find application BackGround in XML documentation
Couldn't find application Busy in XML documentation
Couldn't find application Busy in XML documentation
Couldn't find application Congestion in XML documentation
Couldn't find application Congestion in XML documentation
Couldn't find application ExecIfTime in XML documentation
Couldn't find application ExecIfTime in XML documentation
Couldn't find application Goto in XML documentation
Couldn't find application Goto in XML documentation
Couldn't find application GotoIf in XML documentation
Couldn't find application GotoIf in XML documentation
Couldn't find application GotoIfTime in XML documentation
Couldn't find application GotoIfTime in XML documentation
Couldn't find application ImportVar in XML documentation
Couldn't find application ImportVar in XML documentation
Couldn't find application Hangup in XML documentation
Couldn't find application Hangup in XML documentation
Couldn't find application Incomplete in XML documentation
Couldn't find application Incomplete in XML documentation
Couldn't find application NoOp in XML documentation
Couldn't find application NoOp in XML documentation
Couldn't find application Proceeding in XML documentation
Couldn't find application Proceeding in XML documentation
Couldn't find application Progress in XML documentation
Couldn't find application Progress in XML documentation
Couldn't find application RaiseException in XML documentation
Couldn't find application RaiseException in XML documentation
Couldn't find application ResetCDR in XML documentation
Couldn't find application ResetCDR in XML documentation
Couldn't find application Ringing in XML documentation
Couldn't find application Ringing in XML documentation
Couldn't find application SayAlpha in XML documentation
Couldn't find application SayAlpha in XML documentation
Couldn't find application SayDigits in XML documentation
Couldn't find application SayDigits in XML documentation
Couldn't find application SayNumber in XML documentation
Couldn't find application SayNumber in XML documentation
Couldn't find application SayPhonetic in XML documentation
Couldn't find application SayPhonetic in XML documentation
Couldn't find application Set in XML documentation
Couldn't find application Set in XML documentation
Couldn't find application MSet in XML documentation
Couldn't find application MSet in XML documentation
Couldn't find application SetAMAFlags in XML documentation
Couldn't find application SetAMAFlags in XML documentation
Couldn't find application Wait in XML documentation
Couldn't find application Wait in XML documentation
Couldn't find application WaitExten in XML documentation
Couldn't find application WaitExten in XML documentation
Can't find indications config file indications.conf.
Couldn't find application Bridge in XML documentation
Couldn't find application Bridge in XML documentation
Could not load features.conf
Couldn't find application ParkedCall in XML documentation
Couldn't find application ParkedCall in XML documentation
Couldn't find application Park in XML documentation
Couldn't find application Park in XML documentation
Unable to open Asterisk database '/var/lib/asterisk/astdb': No such file or directory
No 'modules.conf' found, no modules will be loaded.
*CLI>   == Manager registered action Logoff
  == Manager registered action Login
  == Manager registered action Challenge
  == Manager registered action Hangup
  == Manager registered action Status
  == Manager registered action Setvar
  == Manager registered action Getvar
  == Manager registered action GetConfig
  == Manager registered action GetConfigJSON
  == Manager registered action UpdateConfig
  == Manager registered action CreateConfig
  == Manager registered action ListCategories
  == Manager registered action Redirect
  == Manager registered action Atxfer
  == Manager registered action Originate
  == Manager registered action Command
  == Manager registered action ExtensionState
  == Manager registered action AbsoluteTimeout
  == Manager registered action MailboxStatus
  == Manager registered action MailboxCount
  == Manager registered action ListCommands
  == Manager registered action SendText
  == Manager registered action UserEvent
  == Manager registered action WaitEvent
  == Manager registered action CoreSettings
  == Manager registered action CoreStatus
  == Manager registered action Reload
  == Manager registered action CoreShowChannels
  == Manager registered action ModuleLoad
  == Manager registered action ModuleCheck
Asterisk PBX Core Initializing
Registering builtin applications:
  == Registered custom function 'EXCEPTION'
[Answer]
  == Registered application 'Answer'
[BackGround]
  == Registered application 'BackGround'
[Busy]
  == Registered application 'Busy'
[Congestion]
  == Registered application 'Congestion'
[ExecIfTime]
  == Registered application 'ExecIfTime'
[Goto]
  == Registered application 'Goto'
[GotoIf]
  == Registered application 'GotoIf'
[GotoIfTime]
  == Registered application 'GotoIfTime'
[ImportVar]
  == Registered application 'ImportVar'
[Hangup]
  == Registered application 'Hangup'
[Incomplete]
  == Registered application 'Incomplete'
[NoOp]
  == Registered application 'NoOp'
[Proceeding]
  == Registered application 'Proceeding'
[Progress]
  == Registered application 'Progress'
[RaiseException]
  == Registered application 'RaiseException'
[ResetCDR]
  == Registered application 'ResetCDR'
[Ringing]
  == Registered application 'Ringing'
[SayAlpha]
  == Registered application 'SayAlpha'
[SayDigits]
  == Registered application 'SayDigits'
[SayNumber]
  == Registered application 'SayNumber'
[SayPhonetic]
  == Registered application 'SayPhonetic'
[Set]
  == Registered application 'Set'
[MSet]
  == Registered application 'MSet'
[SetAMAFlags]
  == Registered application 'SetAMAFlags'
[Wait]
  == Registered application 'Wait'
[WaitExten]
  == Registered application 'WaitExten'
  == Manager registered action ShowDialPlan
  == Registered application 'Bridge'
    -- Registered extension context 'parkedcalls' (0x198760) in table 0x1986c8; registrar: features
  == Registered application 'ParkedCall'
  == Registered application 'Park'
  == Manager registered action ParkedCalls
  == Manager registered action Park
  == Manager registered action Bridge
  == Manager registered action DBGet
  == Manager registered action DBPut
  == Manager registered action DBDel
  == Manager registered action DBDelTree
Asterisk Dynamic Loader Starting:
Asterisk Ready.

*CLI>

TOP

For 1.4.36 compilation, I have problems in find the command md5sum. Do you know where I can install  ...
角色 發表於 2010-9-17 16:04


md5sum is in my system when I install the GNU coreutils.

TOP

When I try to run "make menuselect", it gives the following errors:I have already installed ncurses  ...
角色 發表於 2010-9-17 16:29


Did "ldconfig -v" show libncurses ?

TOP

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

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

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

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

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

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

返回列表