[asterisk-dev] MIPSEL and Asterisk

Shireesh Annam annamshr at gmail.com
Thu Jan 26 11:04:04 MST 2006


Hi All:

I'm trying to build Asterisk 1.0.7 for MIPS architecture and I'm using
uClibc 0.9.28 (and OpenSSL 0.9.7 for the ssl and crypto library
dependencies). When my toolchain tries to link the object files to get
the * executable, I get the following errors, undefined references to
__res_nxxxx symbols.

Could someone help me debug this problem? I'm not an asterisk expert
and would like to seek the help of others who could have faced this
problem when trying to build asterisk.


[root at devsrv asterisk]# mipsel-linux-ldd -g  -o asterisk io.o sched.o
logger.o frame.o loader.o config.o channel.o translate.o file.o say.o
pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o
app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o
chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o
srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o  editline/libedit.a
db1-ast/libdb1.a stdtime/libtime.a ../build/stage/mips/lib/libssl.a
-ldl -lpthread -lncurses -lm -lresolv
mipsel-linux-ld: warning: cannot find entry symbol __start; defaulting
to 0000000000406820
dns.o(.text+0x40):/root/workspace/netmansrc/asterisk/dns.c:174:
undefined reference to `__res_ninit'
dns.o(.text+0x74):/root/workspace/netmansrc/asterisk/dns.c:175:
undefined reference to `__res_nsearch'
dns.o(.text+0xf4):/root/workspace/netmansrc/asterisk/dns.c:194:
undefined reference to `__res_nclose'


TIA and regards,
Shireesh



More information about the asterisk-dev mailing list