[asterisk-dev] problem in cross compiling asterisk

Mohammed Essaid Mezerreg moh.essaid at gmail.com
Sat Apr 26 16:12:39 CDT 2014


hello,
while cross-compling asterisk to run on openrisc 1200 I recieved this errors

[LD] abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o
asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o
bridging.o callerid.o ccss.o cdr.o cel.o channel.o chanvars.o cli.o
config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o
enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o
fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o
indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o
netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o
sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o
stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o
tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o
ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a
db1-ast/libdb1.a  -> asterisk
/opt/or1k-toolchain/lib/gcc/or1k-linux-uclibc/4.9.0/../../../../or1k-linux-uclibc/bin/ld:
cannot find -lresolv
utils.o: In function `ast_gethostbyname':
/home/mohessaid/asterisk-1.8.19.0/main/utils.c:228: warning:
gethostbyname_r is obsolescent, use getnameinfo() instead.
collect2: error: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2

can anyone please help with a solution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140426/a39eb790/attachment.html>


More information about the asterisk-dev mailing list