[Asterisk-Users] app_wakeme.c (Wake-up Call Manager) v0.1.0 released

Mimmus dviggiani at tiscali.it
Mon May 8 05:23:17 MST 2006


Any help?

# gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -fPIC   -c -o
app_wakeme.o app_wakeme.c

app_wakeme.c: In function `app_exec':
app_wakeme.c:101: error: dereferencing pointer to incomplete type
app_wakeme.c:101: error: dereferencing pointer to incomplete type
app_wakeme.c:101: error: dereferencing pointer to incomplete type
app_wakeme.c:104: warning: passing arg 3 of `scandir' from incompatible
pointer type
app_wakeme.c: In function `unload_module':
app_wakeme.c:399: error: dereferencing pointer to incomplete type
app_wakeme.c:399: error: dereferencing pointer to incomplete type
app_wakeme.c: At top level:
app_wakeme.c:418: error: conflicting types for 'description'
../include/asterisk/module.h:75: error: previous declaration of
'description' was here
app_wakeme.c:418: error: conflicting types for 'description'
../include/asterisk/module.h:75: error: previous declaration of
'description' was here
app_wakeme.c:423: error: conflicting types for 'key'
../include/asterisk/module.h:92: error: previous declaration of 'key' was
here
app_wakeme.c:423: error: conflicting types for 'key'
../include/asterisk/module.h:92: error: previous declaration of 'key' was
here
app_wakeme.c: In function `_build_callfile':
app_wakeme.c:438: warning: function returns address of local variable
app_wakeme.c: In function `_file_filter':
app_wakeme.c:459: warning: return makes integer from pointer without a cast
app_wakeme.c: At top level:
app_wakeme.c:462: warning: type defaults to `int' in declaration of
`STD_MOD1'
app_wakeme.c:462: warning: data definition has no type or storage class
app_wakeme.c:64: warning: '_has_wakeup' declared `static' but never defined
make[1]: *** [app_wakeme.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.2.7.1/apps'
make: *** [subdirs] Error 1




More information about the asterisk-users mailing list