> I expect little more than a few renames are required to get  
app_notidy
 > 1.0 working with CW. It looks like we can't import it, as I see no
 > mention of a licence in the tarball or on the web page.

I've tried to compile it on my amd64 box with all occurances of  
asterisk, ASTERISK and Asterisk replaced, yet it fails with:

# make app_notify.so
cc -march=athlon64 -msse3 -O2 -pipe g -Wall -D_REENTRANT -D_GNU_SOURCE  
-fPIC   -c -o app_notify.o app_notify.c
gcc: g: No such file or directory
In file included from /usr/include/callweaver/utils.h:38,
                  from /usr/include/callweaver/channel.h:58,
                  from /usr/include/callweaver/file.h:26,
                  from app_notify.c:19:
/usr/include/callweaver/strings.h:209: error: expected identifier or  
‘(’ before ‘__extension__’
/usr/include/callweaver/strings.h:221: error: conflicting types for  
‘strtoq’
/usr/include/gentoo-multilib/amd64/stdlib.h:367: error: previous  
definition of ‘strtoq’ was here
/usr/include/callweaver/strings.h:225: error: expected identifier or  
‘(’ before ‘__extension__’
/usr/include/callweaver/strings.h:225: error: expected identifier or  
‘(’ before ‘)’ token
app_notify.c:24:30: error: callweaver/astdb.h: No such file or directory
app_notify.c:59: warning: ‘struct ast_channel’ declared inside  
parameter list
app_notify.c:59: warning: its scope is only this definition or  
declaration, which is probably not what you want
app_notify.c: In function ‘get_exec’:
app_notify.c:67: warning: implicit declaration of function ‘ast_log’
app_notify.c: In function ‘unload_module’:
app_notify.c:99: warning: implicit declaration of function  
‘ast_unregister_application’
app_notify.c: In function ‘load_module’:
app_notify.c:105: warning: implicit declaration of function  
‘ast_register_application’
app_notify.c: In function ‘key’:
app_notify.c:120: error: ‘CALLWEAVER_GPL_KEY’ undeclared (first use in  
this function)
app_notify.c:120: error: (Each undeclared identifier is reported only  
once
app_notify.c:120: error: for each function it appears in.)
app_notify.c: In function ‘notify’:
app_notify.c:128: error: storage size of ‘ahp’ isn’t known
app_notify.c:130: warning: implicit declaration of function  
‘ast_gethostbyname’
app_notify.c:130: warning: assignment makes pointer from integer  
without a cast
app_notify.c:157: warning: implicit declaration of function  
‘ast_verbose’
app_notify.c:128: warning: unused variable ‘ahp’
make: *** [app_notify.o] Error 1

I've tried with both vanilla CFLAGs and such merged with those from my  
make.conf.

Cheers, -sven
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to