[Asterisk-Users] Compiling problem on Debian

Robin Calmegård Siurua robin at rocas.se
Thu Jun 17 14:30:11 MST 2004


Hi,

I can't compile Asterisk on a Debian machine.

gcc -g  -o asterisk -Wl,-E  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 -ldl -lpthread -lncurses -lm -lresolv   editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a
qeditline/libedit.a(editline.o_a)(.text+0x7e6a): In function `term_move_to_line':
/home/robin/asterisk-0.9.0/editline/term.c:554: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x7e7e):/home/robin/asterisk-0.9.0/editline/term.c:554: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x7ef7):/home/robin/asterisk-0.9.0/editline/term.c:567: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x7f0b):/home/robin/asterisk-0.9.0/editline/term.c:567: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x7f40):/home/robin/asterisk-0.9.0/editline/term.c:572: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x7fc0): In function `term_move_to_char':
/home/robin/asterisk-0.9.0/editline/term.c:607: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x800e):/home/robin/asterisk-0.9.0/editline/term.c:611: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x80bc):/home/robin/asterisk-0.9.0/editline/term.c:643: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x80d0):/home/robin/asterisk-0.9.0/editline/term.c:643: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x824c): In function `term_deletechars':
/home/robin/asterisk-0.9.0/editline/term.c:734: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x8289):/home/robin/asterisk-0.9.0/editline/term.c:739: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x82be):/home/robin/asterisk-0.9.0/editline/term.c:743: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x82f0):/home/robin/asterisk-0.9.0/editline/term.c:746: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x836a): In function `term_insertwrite':
/home/robin/asterisk-0.9.0/editline/term.c:775: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x837e):/home/robin/asterisk-0.9.0/editline/term.c:775: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x83d9):/home/robin/asterisk-0.9.0/editline/term.c:782: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x8417):/home/robin/asterisk-0.9.0/editline/term.c:790: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x8435):/home/robin/asterisk-0.9.0/editline/term.c:792: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x8463):/home/robin/asterisk-0.9.0/editline/term.c:797: undefined reference to `tputs'
editline/libedit.a(editline.o_a)(.text+0x849e):/home/robin/asterisk-0.9.0/editline/term.c:805: more undefined references to `tputs' follow
editline/libedit.a(editline.o_a)(.text+0x86e2): In function `term_set':
/home/robin/asterisk-0.9.0/editline/term.c:911: undefined reference to `tgetent'
editline/libedit.a(editline.o_a)(.text+0x87d6):/home/robin/asterisk-0.9.0/editline/term.c:929: undefined reference to `tgetflag'
editline/libedit.a(editline.o_a)(.text+0x87ea):/home/robin/asterisk-0.9.0/editline/term.c:930: undefined reference to `tgetflag'
editline/libedit.a(editline.o_a)(.text+0x87ff):/home/robin/asterisk-0.9.0/editline/term.c:932: undefined reference to `tgetflag'
editline/libedit.a(editline.o_a)(.text+0x8811):/home/robin/asterisk-0.9.0/editline/term.c:933: undefined reference to `tgetflag'
editline/libedit.a(editline.o_a)(.text+0x8823):/home/robin/asterisk-0.9.0/editline/term.c:935: undefined reference to `tgetflag'
editline/libedit.a(editline.o_a)(.text+0x8835):/home/robin/asterisk-0.9.0/editline/term.c:936: more undefined references to `tgetflag' follow
editline/libedit.a(editline.o_a)(.text+0x8847): In function `term_set':
/home/robin/asterisk-0.9.0/editline/term.c:938: undefined reference to `tgetnum'
editline/libedit.a(editline.o_a)(.text+0x8859):/home/robin/asterisk-0.9.0/editline/term.c:939: undefined reference to `tgetnum'
editline/libedit.a(editline.o_a)(.text+0x8881):/home/robin/asterisk-0.9.0/editline/term.c:941: undefined reference to `tgetstr'
editline/libedit.a(editline.o_a)(.text+0x96b4): In function `term_echotc':
/home/robin/asterisk-0.9.0/editline/term.c:1439: undefined reference to `tgetstr'
editline/libedit.a(editline.o_a)(.text+0x9843):/home/robin/asterisk-0.9.0/editline/term.c:1518: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x99f9):/home/robin/asterisk-0.9.0/editline/term.c:1574: undefined reference to `tgoto'
editline/libedit.a(editline.o_a)(.text+0x9a0d):/home/robin/asterisk-0.9.0/editline/term.c:1574: undefined reference to `tputs'
collect2: ld returned 1 exit status
make: *** [asterisk] Fel 1

homer:/home/robin/asterisk-0.9.0# uname -a
Linux homer 2.4.26-1-386 #2 Sat May 1 16:31:24 EST 2004 i686 GNU/Linux
homer:/home/robin/asterisk-0.9.0#

What is wrong? :/

/Robin




-- 
Robin Calmegård Siurua
CEO/developer
RoCaS - development & support

tel +46 8 505 556 80
fax +46 8 505 556 79
mobile +46 73 643 68 05
robin at rocas.se
www.rocas.se




More information about the asterisk-users mailing list