Fwd: Fwd: [uClinux-dev] asterisk with uClinux error

Zaya Kh zayakhai at gmail.com
Fri May 7 06:06:17 EDT 2010

our cross compiler tool chain is Petalinux, we use it,

I want create *Petalinux with Asterisk PBX*,
And i used "find" command this result


then i can see ./user/asterisk/editline/config.log:
[root at localhost petalinux-dist]# more ./user/asterisk/editline/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:534: checking for gcc
configure:647: checking whether the C compiler (ucfront-gcc
cc  -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall
ft-mul -mno-xl-soft-div -mxl-barrel-shift -mcpu=v6.00.b   -DEMBED -Dlinux
nux__ -Dunix -D__uClinux__ -DLINUX -pipe  -Wall -Wstrict-prototypes
ototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
nytcap -DASTERISK_VERSION="1.0.7" -DASTETCDIR="/etc/config/asterisk"
="/lib/asterisk" -DASTVARLIBDIR="/var/lib/asterisk"
-DASTVARRUNDIR="/var/run" -D
ASTSPOOLDIR="/var/spool/asterisk" -DASTLOGDIR="/var/log/asterisk"
"/etc/config/asterisk/asterisk.conf" -DASTMODDIR="/lib/asterisk/modules"
IDIR="/agi-bin"     -DBUSYDETECT_MARTIN        -mno-xl-soft-mul
 -mxl-barrel-shift -mcpu=v6.00.b  -Wl,-elf2flt -L../tinytcap) works
configure:663: ucfront-gcc microblaze-uclinux-gcc  -Os -g
-fomit-frame-pointer -
pipe -fno-common -fno-builtin -Wall  -mno-xl-soft-mul -mno-xl-soft-div
el-shift -mcpu=v6.00.b   -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
X -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -
g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6
 -DASTETCDIR="/etc/config/asterisk" -DASTLIBDIR="/lib/asterisk"
/var/lib/asterisk" -DASTVARRUNDIR="/var/run"
 -DASTLOGDIR="/var/log/asterisk" -DASTCONFPATH="/etc/config/asterisk/
nf" -DASTMODDIR="/lib/asterisk/modules" -DASTAGIDIR="/agi-bin"
MARTIN      -o conftest    -mno-xl-soft-mul -mno-xl-soft-div
-mxl-barrel-shift -
mcpu=v6.00.b  -Wl,-elf2flt -L../tinytcap conftest.c  -Wl,-Bstatic -lssl
namic -Wl,-Bstatic -lcrypto -Wl,-Bdynamic -lpthread -lm -ldl  1>&5
configure:660: warning: return type defaults to `int'
configure:660: warning: function declaration isn't a prototype
find -lssl
collect2: ld returned 1 exit status
configure: failed program was:

#line 658 "configure"
#include "confdefs.h"


cheers, Zoloo

---------- Forwarded message ----------
From: Jamie Lokier <jamie at shareable.org>
Date: Fri, May 7, 2010 at 6:31 PM
Subject: Re: Fwd: [uClinux-dev] asterisk with uClinux error
To: uClinux development list <uclinux-dev at uclinux.org>

Zaya Kh wrote:
>    How can I install autoconf.

You don't need to install Autoconf to diagnose the problem.

Autoconf is a program which generates the ./configure script,
which is done already before you received the source.

You might need Autoconf to _fix_ the problem, but first you need to
diagnose it.

>    and where can I find confg.log

config.log is in the directory where you ran ./configure,
after running it.

If you don't know where that is, I suggest you learn the "find"

-- Jamie
uClinux-dev mailing list
uClinux-dev at uclinux.org
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20100507/08f08fca/attachment.html>

More information about the uClinux-dev mailing list