I am having FC2 with asterisk 1.4.0 which is working properly.
Now I want to install chan_celliax for mobile communication through asterisk.
For that I have downloaded chan_celliax from svn checkout.
now.. when i make this , its gave me lots of error :
[root@localhost build]# make
cc -c -DASTERISK_VERSION_1_4 -DNO_SKYPE -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declarations -fomit-frame-pointer -D_REENTRANT -Wall -I/usr/include/asterisk -o chan_celliax.o chan_celliax.c
In file included from /usr/include/unistd.h:26,
from chan_celliax.c:413:
/usr/include/asterisk/features.h:46: error: error sintáctico before "AST_LIST_ENTRY"
In file included from /usr/include/bits/types.h:31,
from /usr/include/unistd.h:186,
from chan_celliax.c:413:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:213: error: error sintáctico before "typedef"
In file included from chan_celliax.c:413:
/usr/include/unistd.h:256: error: error sintáctico before "__THROW"
/usr/include/unistd.h:286: error: error sintáctico before "__THROW"
/usr/include/unistd.h:369: error: error sintáctico before "__THROW"
/usr/include/unistd.h:378: error: error sintáctico before "__THROW"
etc......
pleasme , can you help me ?
problem to compile celliax
Well, i tried to change /usr/include/asterisk to /usr/include and now when i run Make i get this error only:
make
cc -c -DASTERISK_VERSION_1_4 -DNO_SKYPE -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declarations -fomit-frame-pointer -D_REENTRANT -Wall -I/usr/include -o chan_celliax.o chan_celliax.c
chan_celliax.c: En la función `celliax_new':
chan_celliax.c:2116: error: too many arguments to function `ast_channel_alloc'
make: *** [chan_celliax.o] Error 1
Any ideas ?
Please, help me
Thanks