Hi,

I tried to make the latest dev git version on my Ubuntu. It failed
with the following message. Can you tell me what is wrong?

Thx very much in advance.

nico...@ubuntu://home/nicolas/Downloads/APE_Server-105dev$ make
gcc -Wall -g -minline-all-stringops -rdynamic  src/entry.c src/sock.c
src/hash.c src/handle_http.c src/cmd.c src/users.c src/channel.c src/
config.c src/json.c src/json_parser.c src/plugins.c src/http.c src/
extend.c src/utils.c src/ticks.c src/proxy.c src/base64.c src/pipe.c
src/raw.c -o bin/aped -ldl
src/json.c:452: warning: ‘aff’ defined but not used
src/json.c:470: warning: ‘key_is_array’ defined but not used
nico...@ubuntu://home/nicolas/Downloads/APE_Server-105dev$ cd modules/
nico...@ubuntu://home/nicolas/Downloads/APE_Server-105dev/modules$ ls
global_plugins.h  libape-chat.c        libape-helloworld.c  libape-
mysql.c  libape-setcord.c       Makefile
lib               libape-controller.c  libape-mouse.c       libape-
mysql.h  libape-spidermonkey.c  plugins.h
nico...@ubuntu://home/nicolas/Downloads/APE_Server-105dev/modules$
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’
/usr/include/stdlib.h:148: note: expected ‘const char *’ but argument
is of type ‘json_item’
libape-setcord.c:22: error: incompatible type for argument 1 of ‘atoi’
/usr/include/stdlib.h:148: note: expected ‘const char *’ but argument
is of type ‘json_item’
libape-setcord.c:32: error: incompatible type for argument 1 of
‘get_pipe_strict’
../src/pipe.h:59: note: expected ‘const char *’ but argument is of
type ‘json_item’
libape-setcord.c:44: error: incompatible type for argument 3 of
‘post_to_pipe’
../src/raw.h:47: note: expected ‘const char *’ but argument is of type
‘json_item’
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
../src/cmd.h:109: note: expected ‘unsigned int (*)(struct callbackp
*)’ but argument is of type ‘int’
libape-setcord.c:53: warning: passing argument 3 of ‘register_cmd’
makes integer from pointer without a cast
../src/cmd.h:109: note: expected ‘unsigned int’ but argument is of
type ‘unsigned int (*)(struct callbackp *)’
libape-setcord.c:53: warning: passing argument 4 of ‘register_cmd’
makes pointer from integer without a cast
../src/cmd.h:109: note: expected ‘struct acetables *’ but argument is
of type ‘int’
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/

Reply via email to