[uClinux-dev] asterisk with uClinux error

Zaya Kh zayakhai at gmail.com
Wed May 5 21:12:27 EDT 2010


Hi , all

I want to create uClinux with Asterisk PBX, I'm using Petalinux tool chain
and Spartan3e Starter kit board
We can* "make menuconfig"*,
check Asterisk PBX, and libSSL, ncurses

While we compiling kernel, I saw this error:

......
checking whether the C compiler (ucfront-gcc microblaze-uclinux-gcc  -Os -g
-fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall  -mno-xl-soft-mul
-mno-xl-soft-div -mxl-barrel-shift -mcpu=v6.00.b   -DEMBED -Dlinux
-D__linux__ -Dunix -D__uClinux__ -DLINUX -pipe  -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include
-D_REENTRANT -D_GNU_SOURCE  -O6
-I/opt/petalinux-v0.40-final/software/petalinux-dist/user/asterisk/tinytcap
-DASTERISK_VERSION="1.0.7" -DASTETCDIR="/etc/config/asterisk"
-DASTLIBDIR="/lib/asterisk" -DASTVARLIBDIR="/var/lib/asterisk"
-DASTVARRUNDIR="/var/run" -DASTSPOOLDIR="/var/spool/asterisk"
-DASTLOGDIR="/var/log/asterisk"
-DASTCONFPATH="/etc/config/asterisk/asterisk.conf"
-DASTMODDIR="/lib/asterisk/modules" -DASTAGIDIR="/agi-bin"
-DBUSYDETECT_MARTIN        -mno-xl-soft-mul -mno-xl-soft-div
-mxl-barrel-shift -mcpu=v6.00.b  -Wl,-elf2flt -L../tinytcap) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[2]: *** [editline/libedit.a] Error 1
make[2]: Leaving directory
`/opt/petalinux-v0.40-final/software/petalinux-dist/user/asterisk'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/opt/petalinux-v0.40-final/software/petalinux-dist/user'
make: *** [subdirs] Error 1
[root at localhost petalinux-dist]#


What can I do? Help me?
Cheers, Zoloo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20100506/00730901/attachment.html>


More information about the uClinux-dev mailing list