[Asterisk-Users] error compiling on solaris 10

chris chris at fivestartel.com
Sat Aug 27 20:46:29 MST 2005


hello,

i change my OS from solaris 9 to solaris 10, tried running make to install asterisk but i'm getting the error below:

make -C editline libedit.a
make[1]: Entering directory `/export/home/fst/ice/cvs/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
sed: command garbled: ccygwin
/bin/sh makelist -fc common.h emacs.h vi.h > fcns.c
if [ "" = "cygwin" ]; then cat fcns.c | sed -e s/"sys\.h"/"config.h"/g > fcns.c.copy; mv --force fcns.c.copy fcns.c; fi
/bin/sh makelist -bh common.c emacs.c vi.c > help.h
sed: command garbled: ccygwin
/bin/sh makelist -bc common.c emacs.c vi.c > help.c
if [ "" = "cygwin" ]; then cat help.c | sed -e s/"sys\.h"/"config.h"/g > help.c.copy; mv --force help.c.copy help.c; fi
/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 -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
                 from sig.h:47,
                 from el.h:107,
                 from common.c:51,
                 from editline.c:4:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
                 from sig.h:47,
                 from el.h:107,
                 from common.c:51,
                 from editline.c:4:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from sig.h:47,
                 from el.h:107,
                 from common.c:51,
                 from editline.c:4:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
In file included from editline.c:18:
term.c: In function `term_set':
term.c:913: warning: implicit declaration of function `tgetent'
term.c:931: warning: implicit declaration of function `tgetflag'
term.c:940: warning: implicit declaration of function `tgetnum'
term.c:943: warning: implicit declaration of function `tgetstr'
term.c:943: warning: passing arg 3 of `term_alloc' makes pointer from integer without a cast
term.c: In function `term_echotc':
term.c:1441: warning: assignment makes pointer from integer without a cast
make[1]: *** [editline.o_a] Error 1
make[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/editline'
make: *** [editline/libedit.a] Error 2


pls help.

thnks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050827/99faffbf/attachment.htm


More information about the asterisk-users mailing list