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

./lib/libatm/config.log
./user/thttpd/config.log
./user/traceroute/config.log
./user/at/config.log
./user/w3cam/config.log
./user/tcpdump/config.log
./user/asterisk/editline/config.log
./user/mawk/config.log
./user/smtpclient/config.log
./user/python/config.log
./user/boa/src/config.log
./user/lrzsz/config.log

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
microblaze-uclinux-g
cc  -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall
-mno-xl-so
ft-mul -mno-xl-soft-div -mxl-barrel-shift -mcpu=v6.00.b   -DEMBED -Dlinux
-D__li
nux__ -Dunix -D__uClinux__ -DLINUX -pipe  -Wall -Wstrict-prototypes
-Wmissing-pr
ototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
-D_GNU_S
OURCE  -O6
-I/opt/petalinux-v0.40-final/software/petalinux-dist/user/asterisk/ti
nytcap -DASTERISK_VERSION="1.0.7" -DASTETCDIR="/etc/config/asterisk"
-DASTLIBDIR
="/lib/asterisk" -DASTVARLIBDIR="/var/lib/asterisk"
-DASTVARRUNDIR="/var/run" -D
ASTSPOOLDIR="/var/spool/asterisk" -DASTLOGDIR="/var/log/asterisk"
-DASTCONFPATH=
"/etc/config/asterisk/asterisk.conf" -DASTMODDIR="/lib/asterisk/modules"
-DASTAG
IDIR="/agi-bin"     -DBUSYDETECT_MARTIN        -mno-xl-soft-mul
-mno-xl-soft-div
 -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
-mxl-barr
el-shift -mcpu=v6.00.b   -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__
-DLINU
X -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.co
nf" -DASTMODDIR="/lib/asterisk/modules" -DASTAGIDIR="/agi-bin"
-DBUSYDETECT_
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
-Wl,-Bdy
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
/opt/petalinux-v0.40-final/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/
gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/ld.real:
cannot
find -lssl
collect2: ld returned 1 exit status
configure: failed program was:

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

main(){return(0);}

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"
command.

-- Jamie
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
-------------- 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