[Freeswitch-users] beginner question #1: compile error mod_event_socket

Winfred van Kuijk wivaku at gmail.com
Sun Oct 29 14:32:59 PST 2006


Experimenting with FreeSwitch, so newbie questions ahead... ;-)
Compiling on Mac OSX, used SVN to download today (Oct 29).
Compilation works fine, except module: mod_event_socket.

Is there a way to fix this?

The error message:

...
making event_handlers/mod_event_socket
gcc  -Werror -I/usr/local/freeswitch/include   -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/usr/local/freeswitch/include/apr-1  -I/usr/local/freeswitch/include/srtp
-I/usr/local/freeswitch/include/apr-1    -DMACOSX -fPIC -Wall
-I/usr/src/freeswitch/freeswitch.trunk/src/sqlite
-I/usr/src/freeswitch/freeswitch.trunk
-I/usr/src/freeswitch/freeswitch.trunk/src/include
-I/usr/local/freeswitch/include -DSWITCH_MOD_DIR=/usr/local/freeswitch/mod
-DSWITCH_PREFIX_DIR=/usr/local/freeswitch
-DSWITCH_CONF_DIR=/usr/local/freeswitch/conf
-DSWITCH_DB_DIR=/usr/local/freeswitch/db
-DSWITCH_LOG_DIR=/usr/local/freeswitch/log
-DSWITCH_SCRIPT_DIR=/usr/local/freeswitch/scripts
-DSWITCH_HTDOCS_DIR=/usr/local/freeswitch/htdocs -fPIC -c mod_event_socket.c
-o mod_event_socket.o
cc1: warnings being treated as errors
mod_event_socket.c: In function 'read_packet':
mod_event_socket.c:329: warning: format '%d' expects type 'int', but
argument 4 has type 'size_t'
mod_event_socket.c:374: warning: format '%d' expects type 'int', but
argument 4 has type 'switch_size_t'
mod_event_socket.c: In function 'api_exec':
mod_event_socket.c:434: warning: format '%d' expects type 'int', but
argument 4 has type 'switch_size_t'
make[1]: *** [mod_event_socket.dylib] Error 1



Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20061029/fd5854ad/attachment-0003.html 


More information about the FreeSWITCH-users mailing list