[Asterisk-Users] compile in uclibc enviroment

Marian Danisek majo at sunteq.sk
Thu Jun 19 02:22:21 MST 2003


hello,

i try to compile * in uclibc enviroment (uclibc 0.9.19 ), but still
getting following error 

does anyone know how to solve it ?

regards 

Marian


---------

gcc -g  -o asterisk -rdynamic 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 -ldl -lpthread
-lncurses -lm -lresolv   editline/libedit.a db1-ast/libdb1.a
enum.o: In function `ast_get_enum':
/usr/src/asterisk-cvs/enum.c:279: undefined reference to `__res_ninit'
/usr/src/asterisk-cvs/enum.c:307: undefined reference to `__res_nsearch'
/usr/src/asterisk-cvs/enum.c:325: undefined reference to `__res_nclose'
enum.o: In function `parse_naptr':
/usr/src/asterisk-cvs/enum.c:157: undefined reference to `__dn_expand'
srv.o: In function `ast_get_srv':
/usr/src/asterisk-cvs/srv.c:279: undefined reference to `__res_ninit'
/usr/src/asterisk-cvs/srv.c:282: undefined reference to `__res_nsearch'
/usr/src/asterisk-cvs/srv.c:297: undefined reference to `__res_nclose'
srv.o: In function `parse_srv':
/usr/src/asterisk-cvs/srv.c:136: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1

-- 
SUNTEQ s. r. o.
Bojnicka cesta 35 # Prievidza # 971 04 # Slovak republic
Tel: +421-46-5430 754 # Fax: +421-46-5439 144
http://www.sunteq.sk/
------------------------------------------------------------
A mind is like a parachute... it only works when it's open.




More information about the asterisk-users mailing list