Compilcation error at main/readline

Hello,

NEver experienced that before, it’s going on all of our servers, a mix of RH5 Enterprise and CentOS5 servers, both with 1.4 and 1.6 branches.

I’m kinda desperate :frowning: Any help appreciated

Asterisk 1.6.2.0

(17:28:17|root@xx:/usr/src/asterisk-1.6.2.0)# make
readline.c: In function rl_bind_key': readline.c:1609: error:ED_INSERT’ undeclared (first use in this function)
readline.c:1609: error: (Each undeclared identifier is reported only once
readline.c:1609: error: for each function it appears in.)
make[2]: *** [readline.o_a] Error 1
make[1]: *** [editline/libedit.a] Error 2
make: *** [main] Error 2

On Ast 1.4.28

(17:28:50|root@xx:/usr/src/asterisk-1.4.28)# make
make[1]: Entering directory /usr/src/asterisk-1.4.28/utils' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /usr/src/asterisk-1.4.28/utils' make[1]: Entering directory/usr/src/asterisk-1.4.28/agi’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/usr/src/asterisk-1.4.28/agi’
make[1]: Entering directory /usr/src/asterisk-1.4.28/res' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /usr/src/asterisk-1.4.28/res' make[1]: Entering directory/usr/src/asterisk-1.4.28/channels’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/usr/src/asterisk-1.4.28/channels’
make[1]: Entering directory /usr/src/asterisk-1.4.28/pbx' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /usr/src/asterisk-1.4.28/pbx' make[1]: Entering directory/usr/src/asterisk-1.4.28/apps’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/usr/src/asterisk-1.4.28/apps’
make[1]: Entering directory /usr/src/asterisk-1.4.28/codecs' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /usr/src/asterisk-1.4.28/codecs' make[1]: Entering directory/usr/src/asterisk-1.4.28/formats’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/usr/src/asterisk-1.4.28/formats’
make[1]: Entering directory /usr/src/asterisk-1.4.28/cdr' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /usr/src/asterisk-1.4.28/cdr' make[1]: Entering directory/usr/src/asterisk-1.4.28/funcs’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/usr/src/asterisk-1.4.28/funcs’
make[1]: Entering directory /usr/src/asterisk-1.4.28/main' cd editline && test -f config.h || CFLAGS="-pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 " LDFLAGS=" " ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --with-ncurses= --with-curses= --with-termcap= --with-tinfo= make -C editline libedit.a make[2]: Entering directory/usr/src/asterisk-1.4.28/main/editline’
gcc -c -pthread -I…/…//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=i686 -O6 -O ‘-D__RCSID(x)=’ ‘-D__COPYRIGHT(x)=’ ‘-D__RENAME(x)=’ ‘-D_DIAGASSERT(x)=’ -I. readline.c -o readline.o_a
readline.c: In function rl_bind_key': readline.c:1608: error:ED_INSERT’ undeclared (first use in this function)
readline.c:1608: error: (Each undeclared identifier is reported only once
readline.c:1608: error: for each function it appears in.)
make[2]: *** [readline.o_a] Error 1
make[2]: Leaving directory /usr/src/asterisk-1.4.28/main/editline' make[1]: *** [editline/libedit.a] Error 2 make[1]: Leaving directory/usr/src/asterisk-1.4.28/main’
make: *** [main] Error 2

hi:
i think you have to downgrade to asterisk-1.4.26.1 or 1.6.1. the versions you tested are too new.

We have 5 production servers with asterisk-1.6.2.0 I think is an dependencies issue or compiler issue.