ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Builting asterisk for PowerPC MPC82xx


From: Stuart Hughes
Subject: Re: [Ltib] Builting asterisk for PowerPC MPC82xx
Date: Mon, 18 May 2009 15:28:50 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Nirmala,

I tried using the mpc82xx BSP type from Savannah but that has an old 2.4
kernel and I could not build zaptel and so could not get as far as
asterisk.  What kernel are you using for that BSP?

Anyhow, I tried a different target (mpc8349itx 2.6.16 kernel) and that
builds asterisk okay, here the same section for my build:

"""
configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : powerpc
configure: Cross Compilation = YES
+ PKG_ASTERISK_PRECONFIG=asterisk.menuselect.makeopts
+ '[' -f
/data/seh/Src/ltib_bsps/savannah_ltib/config/platform/mpc8349itx/asterisk.menuselect.makeopts
']'
+ '[' -f
/data/seh/Src/ltib_bsps/savannah_ltib/config/defaults/asterisk.menuselect.makeopts
']'
+ '[' -n '' -o -n '' ']'
+ make 'HOST_CC=ccache /usr/bin/gcc -B/usr/bin/'
make[1]: Entering directory
`/data/seh/Src/ltib_bsps/savannah_ltib/rpm/BUILD/asterisk-1.4.21.1/menuselect'
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
checking for gcc... ccache /usr/bin/gcc -B/usr/bin/
checking for C compiler default output file name... a.out
"""

Can you run these test and send the output:

$ ./ltib -m shell
$ ccache
..... some output ....
$  ccache /usr/bin/gcc -B/usr/bin/
..... some more output ....
### this needs to be all on one line, not wrapped
$ echo 'int main() { printf ("Hello, world\n"); }' |  ccache
/usr/bin/gcc -B/usr/bin/ -w -xc - -o helloworld
.... maybe some output ....
$ ./helloworld
..... some more output ....
$ exit

Also, please start a new thread (compose/new) for new subject rather
than replying to existing threads.

Regards, Stuart

Nirmala wrote:
Hi,
I'm trying to build asterisk 1.4.21.1 on kernel 2.6.25 file system for
PowerPC MPC82xx processor from Savanna site.

from ltib configuration menu, chosen "asterisk" package under package
list and "Configure asterisk at build time" option.

While building asterisk at the time of menuselect it shows  following
error.

------------------------------------------------------------------------

configure: Package configured for: configure: OS type : linux-gnu
configure: Host CPU : powerpc
configure: Cross Compilation = YES
+ PKG_ASTERISK_PRECONFIG=asterisk.menuselect.makeopts
+ '[' -f ~/ltib/config/platform/mpc82xx/asterisk.menuselect.makeopts ']'
+ '[' -f ~/ltib/config/defaults/asterisk.menuselect.makeopts ']'
+ '[' -n y -o -n '' ']'
+ make menuconfig 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/'
make[1]: Entering directory
`~/ltib/rpm/BUILD/asterisk-1.4.21.1/menuselect'
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[2]: Entering directory
`~/ltib/rpm/BUILD/asterisk-1.4.21.1/menuselect'
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
checking for gcc... cc
checking for C compiler default output file name... b.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
---------------------------------------------------------------------------

Any help would be appreciated.

Thank you,
Nirmala









reply via email to

[Prev in Thread] Current Thread [Next in Thread]