[asterisk-users] `PATH_MAX' undeclared here (not in a function) in
asterisk!
lizhong zhu
zhulizhongum at yahoo.com.cn
Mon May 14 22:01:28 MST 2007
hello, asteriskers:
I compiled asterisk under arm-linux. i am using asterisk 1.4.2. i can run ./configure and menuselect with embedded modules. but running make comes out errors:
ranlib libmxml.a
make[3]: Leaving directory `/usr/src/asterisk-1.4.2/menuselect/mxml'
cc -Wall -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
cc -Wall -o menuselect_curses.o -g -c -D_GNU_SOURCE menuselect_curses.c
cc -Wall -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c
cc -g -Wall -o menuselect menuselect.o menuselect_curses.o strcompat.o mxml/libmxml.a -lncurses
make[2]: Leaving directory `/usr/src/asterisk-1.4.2/menuselect'
make[1]: Leaving directory `/usr/src/asterisk-1.4.2/menuselect'
menuselect/menuselect --check-deps menuselect.makeopts
[CC] stereorize.c -> stereorize.o
[CC] frame.c -> frame.o
[LD] stereorize.o frame.o -> stereorize
[CC] streamplayer.c -> streamplayer.o
[LD] streamplayer.o -> streamplayer
[CC] aelparse.c -> aelparse.o
In file included from /usr/src/asterisk-1.4.2/include/asterisk.h:32,
from ael_lex.c:19:
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:23: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:24: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:25: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:26: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:27: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:28: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:29: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:30: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:31: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:32: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:33: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:34: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:35: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:36: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:37: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:38: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:39: `PATH_MAX' undeclared here (not in a function)
/usr/src/asterisk-1.4.2/include/asterisk/paths.h:40: `PATH_MAX' undeclared here (not in a function)
In file included from ael_lex.c:19:
does anyone know that problem? please give me a help!
thanks!
zhulizhong
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070514/0cb55945/attachment.htm
More information about the asterisk-users
mailing list