[Asterisk-Users] Re: Can't compile asterisk.

岩田 伸介 shinsuke at infoworks.ne.jp
Wed Mar 31 20:43:35 MST 2004


> This error probably indicates something significant. What 
> sort of system are you compiling on?  It's quite unusual for 
> "pwd" to be missing on any unix-like system.  So it must not 
> be in your search path.  It's almost always /bin/pwd, and if 
> you don't have /bin and /usr/bin in your search path, a lot 
> of scripts are going to fail.
> 
> The Makefiles in the asterisk source don't seem to override 
> the PATH variable.
> So maybe you should "echo $PATH" and see what's there.  Make 
> sure that /bin and /usr/bin are both there somewhere.
> 
> Or type "whereis pwd" and see if it's in an unusual place on 
> your disk, and add that directory to your search path.
> 
> Of course, this may not be the real problem.  But it probably 
> is part of the problem.

Thanks for reply.

I cleared pwd problem, but I still can't compile asterisk.
The source of trouble is termcap? ncurses?can you estimate?
I have no idea, what can I do?

P.S.
My linux is "Japanese Linux Box" kernel ver2.4.17 with PowerPC CPU.

------------------------------------------------
gcc -g  -o asterisk -Wl,-E  io.o sched.o logger.o frame.o loader.o config.o chan
nel.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   ed
itline/libedit.a db1-ast/libdb1.a stdtime/libtime.a
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



More information about the asterisk-users mailing list