Asterisk on Embedded Linux

Eugene Surovegin ebs at ebshome.net
Wed Sep 27 02:37:35 EST 2006


On Tue, Sep 26, 2006 at 08:44:51AM +0200, 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?
> 

Usually, a lot of open-source software isn't cross-compile friendly. 
The easiest way to actually build such stuff is to do a native build - 
yes, this will be slow, but you'll probably spend more time fixing 
makefiles and scripts (and will likely just gave up on this).

-- 
Eugene




More information about the Linuxppc-embedded mailing list