<div dir="ltr"><div><div>hello,<br></div>while cross-compling asterisk to run on openrisc 1200 I recieved this errors<br><br><code>[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<br>/opt/or1k-toolchain/lib/gcc/or1k-linux-uclibc/4.9.0/../../../../or1k-linux-uclibc/bin/ld: cannot find -lresolv<br>utils.o: In function `ast_gethostbyname':<br>/home/mohessaid/asterisk-1.8.19.0/main/utils.c:228: warning: gethostbyname_r is obsolescent, use getnameinfo() instead.<br>
collect2: error: ld returned 1 exit status<br>make[1]: *** [asterisk] Error 1<br>make: *** [main] Error 2<br><br></code></div><code>can anyone please help with a solution<br></code></div>