[Asterisk-Users] Can't compile asterisk.

Dpto. Tecnico. xmateu at dtpspain.com
Wed Mar 31 09:25:11 MST 2004


The problems are that you don't have instaled several shell commands like:
    pwd
The logs told you in the 7th line.

Have a nice day.

----- Original Message ----- 
From: "岩田 伸介" <shinsuke at infoworks.ne.jp>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, March 31, 2004 6:08 PM
Subject: [Asterisk-Users] Can't compile asterisk.


> hi.
>
> I got these compile errors while install asterisk.
> readline and openssl are compiled using gnu source, and kernel version is
2.4.17.
>
> Compile errors message is follows.
> Someone cleared this problem?
> Please, help!
>
> Regards.
>
> --------------------------------------------------------------------------
--------
> 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 call
> erid.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 -lresol
> v   editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a
> make: pwd: Command not found
> ??editline/libedit.a(editline.o_a): In function `term_move_to_line':
> /usr/src/asterisk/editline/term.c:554: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:554: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:554: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:554: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:567: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:567: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:567: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:567: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:572: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:572: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_move_to_char':
> /usr/src/asterisk/editline/term.c:607: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:607: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:611: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:611: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:643: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:643: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:643: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:643: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_deletechars':
> /usr/src/asterisk/editline/term.c:734: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:734: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:734: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:734: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:739: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:739: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:743: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:743: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:746: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:746: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_insertwrite':
> /usr/src/asterisk/editline/term.c:775: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:775: relocation truncated to fit:
R_PPC_REL24
> tgoto
> /usr/src/asterisk/editline/term.c:775: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:775: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:782: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:782: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:790: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:790: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:792: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:792: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:797: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:797: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a):/usr/src/asterisk/editline/term.c:805:
more und
> efined references to `tputs' follow
> editline/libedit.a(editline.o_a): In function `term_insertwrite':
> /usr/src/asterisk/editline/term.c:805: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_clear_EOL':
> /usr/src/asterisk/editline/term.c:821: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_clear_screen':
> /usr/src/asterisk/editline/term.c:839: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:841: relocation truncated to fit:
R_PPC_REL24
> tputs
> /usr/src/asterisk/editline/term.c:843: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_beep':
> /usr/src/asterisk/editline/term.c:859: relocation truncated to fit:
R_PPC_REL24
> tputs
> editline/libedit.a(editline.o_a): In function `term_set':
> /usr/src/asterisk/editline/term.c:911: undefined reference to `tgetent'
> /usr/src/asterisk/editline/term.c:911: relocation truncated to fit:
R_PPC_REL24
> tgetent
> /usr/src/asterisk/editline/term.c:929: undefined reference to `tgetflag'
> /usr/src/asterisk/editline/term.c:929: relocation truncated to fit:
R_PPC_REL24
> tgetflag
> /usr/src/asterisk/editline/term.c:930: undefined reference to `tgetflag'
> /usr/src/asterisk/editline/term.c:930: relocation truncated to fit:
R_PPC_REL24
> tgetflag
> /usr/src/asterisk/editline/term.c:932: undefined reference to `tgetflag'
> /usr/src/asterisk/editline/term.c:932: relocation truncated to fit:
R_PPC_REL24
> tgetflag
> /usr/src/asterisk/editline/term.c:933: undefined reference to `tgetflag'
> /usr/src/asterisk/editline/term.c:933: relocation truncated to fit:
R_PPC_REL24
> tgetflag
> /usr/src/asterisk/editline/term.c:935: undefined reference to `tgetflag'
> /usr/src/asterisk/editline/term.c:935: relocation truncated to fit:
R_PPC_REL24
> tgetflag
> editline/libedit.a(editline.o_a):/usr/src/asterisk/editline/term.c:936:
more und
> efined references to `tgetflag' follow
> editline/libedit.a(editline.o_a): In function `term_set':
> /usr/src/asterisk/editline/term.c:936: relocation truncated to fit:
R_PPC_REL24
> tgetflag
> /usr/src/asterisk/editline/term.c:938: undefined reference to `tgetnum'
> /usr/src/asterisk/editline/term.c:938: relocation truncated to fit:
R_PPC_REL24
> tgetnum
> /usr/src/asterisk/editline/term.c:939: undefined reference to `tgetnum'
> /usr/src/asterisk/editline/term.c:939: relocation truncated to fit:
R_PPC_REL24
> tgetnum
> /usr/src/asterisk/editline/term.c:941: undefined reference to `tgetstr'
> /usr/src/asterisk/editline/term.c:941: relocation truncated to fit:
R_PPC_REL24
> tgetstr
> editline/libedit.a(editline.o_a): In function `term_echotc':
> /usr/src/asterisk/editline/term.c:1439: undefined reference to `tgetstr'
> /usr/src/asterisk/editline/term.c:1439: relocation truncated to fit:
R_PPC_REL24
>  tgetstr
> /usr/src/asterisk/editline/term.c:1518: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:1518: relocation truncated to fit:
R_PPC_REL24
>  tgoto
> /usr/src/asterisk/editline/term.c:1518: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:1518: relocation truncated to fit:
R_PPC_REL24
>  tputs
> /usr/src/asterisk/editline/term.c:1574: undefined reference to `tgoto'
> /usr/src/asterisk/editline/term.c:1574: relocation truncated to fit:
R_PPC_REL24
>  tgoto
> /usr/src/asterisk/editline/term.c:1574: undefined reference to `tputs'
> /usr/src/asterisk/editline/term.c:1574: relocation truncated to fit:
R_PPC_REL24
>  tputs
> collect2: ld returned 1 exit status
> make: *** [asterisk] Error 1
> root at BOX:/usr/src/asterisk#
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list