[Freeswitch-users] Total noob question

Lars Zeb larclap at yahoo.com
Fri May 8 10:20:50 PDT 2009


The mod modules are still not built. I tried with your suggestion.

 

making install mod_cluechoo

Compiling mod_cluechoo.c...

quiet_libtool: compile:  gcc -I/usr/src/freeswitch/src/include
-I/usr/src/freeswitch/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_cluechoo.c  -fPIC -DPIC -o
.libs/mod_cluechoo.o

cc1: warnings being treated as errors

mod_cluechoo.c: In function 'go':

mod_cluechoo.c:188: error: call to function 'add_D51' without a real
prototype

mod_cluechoo.c:45: note: 'add_D51' was declared here

mod_cluechoo.c:190: error: call to function 'add_sl' without a real
prototype

mod_cluechoo.c:46: note: 'add_sl' was declared here

mod_cluechoo.c: In function 'vgo':

mod_cluechoo.c:313: error: call to function 'add_D51' without a real
prototype

mod_cluechoo.c:45: note: 'add_D51' was declared here

mod_cluechoo.c:315: error: call to function 'add_sl' without a real
prototype

mod_cluechoo.c:46: note: 'add_sl' was declared here

mod_cluechoo.c: In function 'add_sl':

mod_cluechoo.c:369: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:370: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:370: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:371: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:371: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:373: error: call to function 'add_smoke' without a real
prototype

mod_cluechoo.c:48: note: 'add_smoke' was declared here

mod_cluechoo.c: In function 'add_D51':

mod_cluechoo.c:419: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:420: error: call to function 'add_man' without a real
prototype

mod_cluechoo.c:47: note: 'add_man' was declared here

mod_cluechoo.c:422: error: call to function 'add_smoke' without a real
prototype

mod_cluechoo.c:48: note: 'add_smoke' was declared here

make[5]: *** [mod_cluechoo.lo] Error 1

make[4]: *** [install] Error 1

make[3]: *** [mod_cluechoo-install] Error 1

make[2]: *** [install-recursive] Error 1

Making install in build

 +-------- FreeSWITCH install Complete ----------+

 + FreeSWITCH has been successfully installed.   +

 +                                               +

 +       Install sounds:                         +

 +       (uhd-sounds includes hd-sounds, sounds) +

 +       (hd-sounds includes sounds)             +

 +         .                                      +

 +-----------------------------------------------+

make[1]: *** [install-recursive] Error 1

make: *** [install] Error 2

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Friday, May 08, 2009 8:30 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Total noob question

 

Lars,

May I suggest this process:

make clean && svn up && ./bootstrap.sh && ./configure && make install

It's one step less intensive than starting with a fresh checkout. I just did
that on four systems last night that all had a buggy build with cluechoo and
file_string and now all four are humming along nicely.

-MC

On Fri, May 8, 2009 at 6:54 AM, Lars Zeb <larclap at yahoo.com> wrote:

In launching freeswitch, I noticed the errors below, plus many more I did
not copy here. Also the mod directory had only two modules in it, so I
rebuilt from the tarball again. Same results.

I did ./configure, make and make install. What have I done wrong?

Thanks, Lars

2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_console.so
**/usr/local/freeswitch/mod/mod_console.so: cannot open shared object file:
No such file or directory**
2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_logfile.so
**/usr/local/freeswitch/mod/mod_logfile.so: cannot open shared object file:
No such file or directory**
2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_enum.so
**/usr/local/freeswitch/mod/mod_enum.so: cannot open shared object file: No
such file or directory**
2009-05-08 05:52:32 [DEBUG] mod_cdr_csv.c:314 load_config() Adding default
template.
2009-05-08 05:52:32 [DEBUG] mod_cdr_csv.c:359 load_config() Adding template
sql.
2009-05-08 05:52:32 [DEBUG] mod_cdr_csv.c:359 load_config() Adding template
example.
2009-05-08 05:52:32 [DEBUG] mod_cdr_csv.c:359 load_config() Adding template
snom.
2009-05-08 05:52:32 [DEBUG] mod_cdr_csv.c:359 load_config() Adding template
linksys.
2009-05-08 05:52:32 [DEBUG] mod_cdr_csv.c:359 load_config() Adding template
asterisk.
2009-05-08 05:52:32 [CONSOLE] switch_loadable_module.c:889
switch_loadable_module_load_file() Successfully Loaded [mod_cdr_csv]
2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_event_socket.so
**/usr/local/freeswitch/mod/mod_event_socket.so: cannot open shared object
file: No such file or directory**
2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_sofia.so
**/usr/local/freeswitch/mod/mod_sofia.so: cannot open shared object file: No
such file or directory**
2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_loopback.so
**/usr/local/freeswitch/mod/mod_loopback.so: cannot open shared object file:
No such file or directory**
2009-05-08 05:52:32 [CRIT] switch_loadable_module.c:871
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_commands.so
**/usr/local/freeswitch/mod/mod_commands.so: cannot open shared object file:
No such file or directory**
...

FreeSWITCH Version 1.0.4pre7 (13238M) Started.
Crash Protection [Disabled]
Max Sessions[1000]
Session Rate[30]
SQL [Enabled]

fs:/usr/local/freeswitch/mod # l
total 104
drwxr-xr-x  2 root root  4096 2009-05-08 06:23 ./
drwxr-xr-x 13 root root  4096 2009-05-08 06:23 ../
-rwxr-xr-x  1 root root 37098 2009-05-08 06:23 mod_amr.so*
-rwxr-xr-x  1 root root 52950 2009-05-08 06:23 mod_cdr_csv.so*


make[5]: *** [mod_cluechoo.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_cluechoo-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
 +-------- FreeSWITCH Build Complete -----------+
 + FreeSWITCH has been successfully built.      +
 + Install by running:                          +
 +                                              +
 +               make install                   +
 +----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Making install in build
 +-------- FreeSWITCH install Complete ----------+
 + FreeSWITCH has been successfully installed.   +
 +                                               +
...
 +                                               +
 +-----------------------------------------------+
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2



-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org

[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jason
White
Sent: Thursday, May 07, 2009 6:25 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Total noob question

Lars Zeb <larclap at yahoo.com> wrote:
> I have installed from the 1.0.4pre7 tarball on a openSuse 11.1.
>
> Why is it that after I launch freeswitch and type in either 'show' or
> 'status' at the console, it responds with 'Unknown command', but it does
> accept 'shutdown'?

Maybe the mod_commands module wasn't loaded. Check your logs, and try
"load mod_commands" from the FreeSWITCH console.

That module should have been loaded unless there is something seriously
wrong
with the build or installation process.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090508/438abcb4/attachment-0001.html 


More information about the Freeswitch-users mailing list