I try to compile modules and I get an error:
$ make
gcc -Wall -g -shared -fPIC -rdynamic -Wl,-soname,libmod_setcord.so -o
lib/libmod_setcord.so libape-setcord.c
libape-setcord.c: In function ‘cmd_setpos’:
libape-setcord.c:22: error: incompatible type for argument 1 of ‘atoi’
libape-setcord.c:22: error: incompatible type for argument 1 of ‘atoi’
libape-setcord.c:32: error: incompatible type for argument 1 of
‘get_pipe_strict’
libape-setcord.c:44: error: incompatible type for argument 3 of
‘post_to_pipe’
libape-setcord.c:48: error: ‘FOR_NOTHING’ undeclared (first use in
this function)
libape-setcord.c:48: error: (Each undeclared identifier is reported
only once
libape-setcord.c:48: error: for each function it appears in.)
libape-setcord.c:49: warning: control reaches end of non-void function
libape-setcord.c: In function ‘init_module’:
libape-setcord.c:53: warning: passing argument 2 of ‘register_cmd’
makes pointer from integer without a cast
libape-setcord.c:53: warning: passing argument 3 of ‘register_cmd’
makes integer from pointer without a cast
libape-setcord.c:53: warning: passing argument 4 of ‘register_cmd’
makes pointer from integer without a cast
libape-setcord.c:53: error: too many arguments to function
‘register_cmd’
make: *** [modules] Error 1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
-~----------~----~----~----~------~----~------~--~---