[Freeswitch-dev] building a module

Tihomir Culjaga tculjaga at gmail.com
Wed Oct 28 16:18:04 PDT 2009


can someone help on this.

 I'm trying to build the module on trunk and it looks like i can't find
'switch_strlen_zero' function anywhere :P


making all mod_rad_auth
Compiling utils.c...
Compiling mod_rad_auth.c...
quiet_libtool: compile:  gcc -I/home/tculjaga/freeswitch-trunk/src/include
-I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC -Werror
-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
-g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -DHAVE_CONFIG_H -c
mod_rad_auth.c  -fPIC -DPIC -o .libs/mod_rad_auth.o
cc1: warnings being treated as errors
mod_rad_auth.c: In function ‘rad_auth_function’:
mod_rad_auth.c:301: error: implicit declaration of function
‘switch_strlen_zero’
make[4]: *** [mod_rad_auth.lo] Error 1
make[3]: *** [all] Error 1
make[2]: *** [mod_rad_auth-all] Error 1
make[1]: *** [mod_rad_auth] Error 2





on an older revision works well ...

[tculjaga at l01sipindir2 freeswitch]$ svn info
Path: .
URL: http://svn.freeswitch.org/svn/freeswitch/trunk
Repository Root: http://svn.freeswitch.org/svn
Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2
Revision: 14640
Node Kind: directory
Schedule: normal
Last Changed Author: intralanman
Last Changed Rev: 14640
Last Changed Date: 2009-08-26 17:11:07 +0200 (Wed, 26 Aug 2009)

[tculjaga at l01sipindir2 freeswitch]$
[tculjaga at l01sipindir2 freeswitch]$
[tculjaga at l01sipindir2 freeswitch]$
[tculjaga at l01sipindir2 freeswitch]$ sudo make mod_rad_auth

making all mod_rad_auth
Compiling utils.c...
Compiling mod_rad_auth.c...
mkdir .libs
Compiling mod_rad_auth.c ...
Creating mod_rad_auth.so...




Can someone please advice?



T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091029/29cc213e/attachment.html 


More information about the FreeSWITCH-dev mailing list