SENTINEL undeclared error

I am trying to compile asterisk-1.6.0.2 on a Xubuntu 8.10 system.
(Linux xubuntu 2.6.27-9-generic)

./configure does not give me any errors.

But I am getting following error during make:



[CC] manager.c -> manager.o
manager.c: In function ‘action_getvar’:
manager.c:1732: error: ‘SENTINEL’ undeclared (first use in this function)
manager.c:1732: error: (Each undeclared identifier is reported only once
manager.c:1732: error: for each function it appears in.)
make[1]: *** [manager.o] Error 1
make: *** [main] Error 2
root@xubuntu:/usr/src/asterisk-1.6.0.2#

What is missing or what am I doing wrong ?

May be it’s a bug, because it works fine in asterisk-1.6.0.3-rc1 :smiley:

I am getting the same error in ubuntu 8.10 with the same asterisk version. I guess I will try the newest version of asterisk that the other guy is using :wink:

This works in Ubuntu 8.10 : asterisk-1.6.0.3-rc1