From: Carlos Munoz <carlos@kenati.com>
To: Iwan Koenig <iwankoenig@yahoo.de>
Cc: Linuxppc-embedded@ozlabs.org
Subject: Re: Asterisk on Embedded Linux
Date: Tue, 26 Sep 2006 10:37:38 -0700 [thread overview]
Message-ID: <45196562.50409@kenati.com> (raw)
In-Reply-To: <20060926064451.71706.qmail@web26012.mail.ukl.yahoo.com>
Iwan Koenig wrote:
>Does anyone known how to compile Asterisk for a
>powerpc-processor?
>I have tryed:
>./configure --target=powerpc-linux
>--host=powerpc-604-linux-gnu --prefix=/opt/packages
>And it gives following error:
> /root/pwlib/include/ptlib.h... configure: error:
>cannot check for file existence when cross compiling
>
>Ok! I see that it is trying to find the PWLIB-Library.
>Also, i have tryed to compile the pwlib.
>But it didn't work :(. For PWLIB i need the OpenLDAP,
>and when i have compiled the OpenLDAP, than needs
>PWLIB other packages.......
>Also, have anyone ideas, how to compile Asterisk für a
>powerpc-processor with another way?
>
>Thanks!!!!
>
>
>
I'm not sure if our experience applies to you since we use asterisk as a
TA instead of a PBX in our embedded gateways. We ran into a lot of
problems when trying to cross-compile a trimmed down version of
asterisk. Basically, we only needed the sip stack, fxs support, and some
codecs. It was a big effort, but we are currently successfully
cross-compiling asterisk for several platforms. We had to change
Makefiles, source code, etc.
I would start by removing the references to PWLIB and anything I don't
need from the makefiles and #ifdefing code that uses it until I get it
to compile. Then start testing it and adding features as needed.
This is the command line we use to compile asterisk (just to give you
and idea. It won't work with your sources. We don't run configure):
make CC=powerpc-uclibc-gcc CONFIG_TA=y OPTIMIZE="-mcpu=603e -Os"
HOSTCC=gcc all
Carlos
next prev parent reply other threads:[~2006-09-26 17:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 6:44 Asterisk on Embedded Linux Iwan Koenig
2006-09-26 7:21 ` Armin Schindler
2006-09-26 16:37 ` Eugene Surovegin
2006-09-26 17:37 ` Carlos Munoz [this message]
2006-09-27 16:01 ` Stelios Koroneos
2006-09-27 22:58 ` Uncompressing Kernel Image ... Error: inflate() returned -3 GUNZIP ERROR - must RESET board to recover Henry Bausley
2006-09-28 19:28 ` Stefan Roese
2007-08-06 4:16 ` Nethra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45196562.50409@kenati.com \
--to=carlos@kenati.com \
--cc=Linuxppc-embedded@ozlabs.org \
--cc=iwankoenig@yahoo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.