Re: [Asterisk-Users] error compiling on solaris 10
hi frank, i appologize but, i dont know what to change, which makefile to change , and what will be the changes. i dont have any idea how to make scripts and codes. pls. help. thnks. - Original Message - From: Frank Tarczynski [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Tuesday, August 30, 2005 9:43 AM Subject: Re: [Asterisk-Users] error compiling on solaris 10 Message: 26 Date: Mon, 29 Aug 2005 15:26:31 +0800 From: chris [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] error compiling on solaris 10 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=iso-8859-1 gmake[1]: cru: Command not found gmake[1]: *** [libedit.a] Error 127 gmake[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/editline' gmake: *** [editline/libedit.a] Error 2 pls advise on how i can fix this. thnks Read the manpage for ar and then edit the Makefiles. Solaris requires that the options be prefaced with a -. Frank ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] error compiling on solaris 10
hi frank, i was able to find gmake at /usr/sfw/bin, however, i got this new error : gmake[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/stdtime' cd editline unset CFLAGS LIBS test -f config.h || ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... sparc-sun-solaris2.10 checking for a BSD compatible install... install checking for ranlib... : checking for ar... no checking for tgetent in -ltermcap... yes checking for termcap.h... no checking for term.h... yes checking for curses.h... yes checking for sys/cdefs.h... no checking for vis.h... no checking for issetugid... yes checking for strlcat... yes checking for strlcpy... yes checking for fgetln... no checking for strvis... no checking for strunvis... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h gmake -C editline libedit.a gmake[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 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 gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/fgetln.c -o np/fgetln.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/vis.o_a np/vis.c: In function `svis': np/vis.c:204: warning: implicit declaration of function `alloca' gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/unvis.c -o np/unvis.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. history.c -o history.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. tokenizer.c -o tokenizer.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o readline.o_a readline.c: In function `_history_expand_command': readline.c:396: warning: implicit declaration of function `alloca' cru libedit.a editline.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a gmake[1]: cru: Command not found gmake[1]: *** [libedit.a] Error 127 gmake[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/editline' gmake: *** [editline/libedit.a] Error 2 pls advise on how i can fix this. thnks - Original Message - From: Frank Tarczynski [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Monday, August 29, 2005 3:08 AM Subject: RE: [Asterisk-Users] error compiling on solaris 10 Message: 11 Date: Sun, 28 Aug 2005 11:46:29 +0800 From: chris [EMAIL PROTECTED] Subject: [Asterisk-Users] error compiling on solaris 10 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 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 To start try using gmake. It's there, just add it to your PATH. Frank
Re: [Asterisk-Users] error compiling on solaris 10
Message: 26 Date: Mon, 29 Aug 2005 15:26:31 +0800 From: chris [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] error compiling on solaris 10 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=iso-8859-1 gmake[1]: cru: Command not found gmake[1]: *** [libedit.a] Error 127 gmake[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/editline' gmake: *** [editline/libedit.a] Error 2 pls advise on how i can fix this. thnks Read the manpage for ar and then edit the Makefiles. Solaris requires that the options be prefaced with a -. Frank ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] error compiling on solaris 10
hello, any advise? :) thnks - Original Message - From: chris [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, August 29, 2005 3:26 PM Subject: Re: [Asterisk-Users] error compiling on solaris 10 hi frank, i was able to find gmake at /usr/sfw/bin, however, i got this new error : gmake[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/stdtime' cd editline unset CFLAGS LIBS test -f config.h || ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking host system type... sparc-sun-solaris2.10 checking for a BSD compatible install... install checking for ranlib... : checking for ar... no checking for tgetent in -ltermcap... yes checking for termcap.h... no checking for term.h... yes checking for curses.h... yes checking for sys/cdefs.h... no checking for vis.h... no checking for issetugid... yes checking for strlcat... yes checking for strlcpy... yes checking for fgetln... no checking for strvis... no checking for strunvis... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h gmake -C editline libedit.a gmake[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 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 gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/fgetln.c -o np/fgetln.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/vis.o_a np/vis.c: In function `svis': np/vis.c:204: warning: implicit declaration of function `alloca' gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/unvis.c -o np/unvis.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. history.c -o history.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. tokenizer.c -o tokenizer.o_a gcc -c -Wall -pipe -g3 -O -DSOLARIS -I../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o readline.o_a readline.c: In function `_history_expand_command': readline.c:396: warning: implicit declaration of function `alloca' cru libedit.a editline.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a gmake[1]: cru: Command not found gmake[1]: *** [libedit.a] Error 127 gmake[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/editline' gmake: *** [editline/libedit.a] Error 2 pls advise on how i can fix this. thnks - Original Message - From: Frank Tarczynski [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Monday, August 29, 2005 3:08 AM Subject: RE: [Asterisk-Users] error compiling on solaris 10 Message: 11 Date: Sun, 28 Aug 2005 11:46:29 +0800 From: chris [EMAIL PROTECTED] Subject: [Asterisk-Users] error compiling on solaris 10 To: Asterisk Users Mailing List - Non
RE: [Asterisk-Users] error compiling on solaris 10
Message: 11 Date: Sun, 28 Aug 2005 11:46:29 +0800 From: chris [EMAIL PROTECTED] Subject: [Asterisk-Users] error compiling on solaris 10 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 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 To start try using gmake. It's there, just add it to your PATH. Frank ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] error compiling on solaris 10
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.amake[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.hsed: command garbled: ccygwin/bin/sh makelist -fc common.h emacs.h vi.h fcns.cif [ "" = "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.hsed: command garbled: ccygwin/bin/sh makelist -bc common.c emacs.c vi.c help.cif [ "" = "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.cgcc -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_aIn 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 '}' tokenIn 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 castterm.c: In function `term_echotc':term.c:1441: warning: assignment makes pointer from integer without a castmake[1]: *** [editline.o_a] Error 1make[1]: Leaving directory `/export/home/fst/ice/cvs/asterisk/editline'make: *** [editline/libedit.a] Error 2 pls help. thnks. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users