[asterisk-users] 1.6.0-rc3 Build failure: asterisk.h: No such file or directory
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Mar 21 13:58:50 CDT 2009
On Sat, Mar 21, 2009 at 11:33:57AM +0000, Frederik Himpe wrote:
> Trying to build asterisk 1.6.0-rc3, it fails with this message:
> 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
Here is how it was run for me:
gcc -c -pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -march=k8 -ffunction-sections -O6 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o readline.o_a
Note the extra '-I../..//include' .
What is the output of:
ls -l main/editline/Makefile*
grep ^CFLAGS main/editline/Makefile*
My wild guess: somebody tried to overrie Asterisk's, well, let's say,
strange, -O6, and did it wrong.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list