[Asterisk-Users] Compiling asterisk
Hubert Kiyimba
hkiyimba at tech.mak.ac.ug
Mon Apr 26 02:39:03 MST 2004
I got the error below while compiling asterisk. Please offer me some help.
hubert
for x in res channels pbx apps codecs formats agi cdr astman stdtime; do
make -C $x depend || exit 1 ; done
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/res'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/res'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/channels'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/channels'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/pbx'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/pbx'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/apps'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/apps'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/codecs'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/codecs'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/formats'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/formats'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/agi'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/agi'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/cdr'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/cdr'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/astman'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/astman'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/stdtime'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/stdtime'
cd editline && unset CFLAGS LIBS && test -f config.h || ./configure
make -C editline libedit.a
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/editline'
make[1]: `libedit.a' is up to date.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/editline'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/db1-ast'
make[1]: `libdb1.a' is up to date.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/db1-ast'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/stdtime'
make[1]: `libtime.a' is up to date.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/stdtime'
if [ -d CVS ] && ! [ -f .version ]; then echo 0.7.2 > .version; fi
for x in res channels pbx apps codecs formats agi cdr astman stdtime; do
make -C $x || exit 1 ; done
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/res'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/res'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/channels'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/channels'
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/pbx'
gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o `gtk-config
--libs gthread`
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [pbx_gtkconsole.so] Error 1
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/pbx'
make: *** [subdirs] Error 1
"The secret of a person's success is discovered in their daily agenda. "
More information about the asterisk-users
mailing list