[Asterisk-Users] Compile error under redhat 8..

WipeOut ™ wipeout at linuxmail.org
Mon Mar 10 10:22:05 MST 2003


Hi everyone..

I am trying to compile asterisk, I am not a hacker so when it comes to compileing I tend to get out of my depth quite quickly so you will have to speak slowly.. :)

I have setup a vanilla Redhat 8.0 box with the pre-req's..

I ran the "astinstall" script which appeared to work perfectly but when I tried to load * it was not there.. so I tried to compile it manually using #make clean and #make install for each component (zaptel zapata libpri asterisk).. all worked fine except for asterisk which gave the following output..

=======output start===============================================
[root at dev02 asterisk]# make install
if [ -d CVS ] && ! [ -f .version ]; then echo "CVS-`date +"%D-%T"`" > .version; fi
./make_build_h
make -C editline libedit.a
make[1]: Entering directory `/usr/src/asterisk/editline'
/bin/sh makelist -h common.c > common.h
/bin/sh makelist -h emacs.c> emacs.h
/bin/sh makelist -h vi.c > vi.h
/bin/sh makelist -fh common.h emacs.h vi.h > fcns.h
/bin/sh makelist -fc common.h emacs.h vi.h > fcns.c
/bin/sh makelist -bh common.c emacs.c vi.c > help.h
/bin/sh makelist -bc common.c emacs.c vi.c > help.c
/bin/sh makelist -e common.c emacs.c vi.c chared.c el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c fcns.c help.c > editline.c
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a
In file included from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:132,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:11,
                 from /usr/include/sys/param.h:22,
                 from el.c:52,
                 from editline.c:8:
/usr/include/limits.h:144:30: /usr/include/bits/posix1_lim.h: Input/output error
make[1]: *** [editline.o_a] Error 1
make[1]: Leaving directory `/usr/src/asterisk/editline'
make: *** [editline/libedit.a] Error 2
=======output end===============================================

Have I done somthing wrong??

Hopefully someone has the solution..

Thanks in advance..
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze



More information about the asterisk-users mailing list