[Asterisk-Users] error compiling on solaris 10
chris
chris at fivestartel.com
Mon Aug 29 00:26:31 MST 2005
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" <ftarz at mindspring.com>
To: <asterisk-users at 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" <chris at fivestartel.com>
> >Subject: [Asterisk-Users] error compiling on solaris 10
> >To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> >Message-ID: <003a01c5ab83$149a9e30$650fa8c0 at acid>
> >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 at 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
More information about the asterisk-users
mailing list