[asterisk-users] 1.6.0-rc3 Build failure: asterisk.h: No such file or directory

Frederik Himpe fhimpe at telenet.be
Sat Mar 21 06:33:57 CDT 2009


Trying to build asterisk 1.6.0-rc3, it fails with this message:

make[2]: Entering directory `/home/fhimpe/rpm/BUILD/asterisk-1.6.1.0-rc3/
main/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
if uname -s | /bin/grep -qi 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
/bin/sh makelist -bc common.c emacs.c vi.c > help.c
if uname -s | /bin/grep -qi 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  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o 
editline.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/fgetln.c -o 
np/fgetln.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/
vis.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/unvis.c -o 
np/unvis.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/strlcpy.c -o 
np/strlcpy.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/strlcat.c -o 
np/strlcat.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. history.c -o 
history.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. tokenizer.c -o 
tokenizer.o_a
gcc -c  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -Werror-implicit-function-declaration -O '-D__RCSID(x)=' '-
D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o 
readline.o_a
readline.c:39:22: error: asterisk.h: No such file or directory

What could be wrong here?

-- 
Frederik Himpe




More information about the asterisk-users mailing list