[Asterisk-Users] app_wakeme.c (Wake-up Call Manager)
v0.1.0released
Mimmus
dviggiani at tiscali.it
Mon May 8 07:06:04 MST 2006
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Michael
> Iedema
>
> 1.2.7.1 is your problem. I've updated the site with a 1.2 compatible
> version as well as squashed a stupid bug in v0.1.0. At the moment I
> don't have access to a 1.2 test box so let me know if you have any
> problems with v0.1.1.
Nope:
# 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:103: error: dereferencing pointer to incomplete type
app_wakeme.c:103: error: dereferencing pointer to incomplete type
app_wakeme.c:103: error: dereferencing pointer to incomplete type
app_wakeme.c:106: warning: passing arg 3 of `scandir' from incompatible
pointer type
app_wakeme.c:392: error: dereferencing pointer to incomplete type
app_wakeme.c:392: error: dereferencing pointer to incomplete type
app_wakeme.c:392: error: dereferencing pointer to incomplete type
app_wakeme.c:392: error: dereferencing pointer to incomplete type
app_wakeme.c: In function `unload_module':
app_wakeme.c:402: error: dereferencing pointer to incomplete type
app_wakeme.c:402: error: dereferencing pointer to incomplete type
app_wakeme.c: At top level:
app_wakeme.c:421: error: conflicting types for 'description'
../include/asterisk/module.h:75: error: previous declaration of
'description' was here
app_wakeme.c:421: error: conflicting types for 'description'
../include/asterisk/module.h:75: error: previous declaration of
'description' was here
app_wakeme.c:426: error: conflicting types for 'key'
../include/asterisk/module.h:92: error: previous declaration of 'key' was
here
app_wakeme.c:426: 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:441: warning: function returns address of local variable
app_wakeme.c: In function `_file_filter':
app_wakeme.c:462: warning: return makes integer from pointer without a cast
app_wakeme.c: At top level:
app_wakeme.c:465: warning: type defaults to `int' in declaration of
`STD_MOD1'
app_wakeme.c:465: warning: data definition has no type or storage class
app_wakeme.c:66: 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