Do you have SWIG installed?

http://www.swig.org/download.html

install swig and run make reswig


Yitzchok


On Mon, May 23, 2011 at 1:13 AM, budi wibowo <bwibowo@gmail.com> wrote:
thx for your suggestion 
another error occured 

making all mod_managed
Compiling freeswitch_wrap.cpp...
g++ -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -D_REENTRANT -I/opt/novell/mono/lib64/pkgconfig/../../include/mono-2.0 -DHAVE_CONFIG_H -c -o freeswitch_wrap.o freeswitch_wrap.cpp
freeswitch_wrap.cpp: In function âvoid SWIGRegisterStringCallback_freeswitch(char* (*)(const char*))â:
freeswitch_wrap.cpp:274: error: redefinition of âvoid SWIGRegisterStringCallback_freeswitch(char* (*)(const char*))â
freeswitch_wrap.cpp:248: error: âvoid SWIGRegisterStringCallback_freeswitch(char* (*)(const char*))â previously defined here
freeswitch_wrap.cpp: In function âchar* SWIG_csharp_string_callback(const char*)â:
freeswitch_wrap.cpp:278: error: âchar* SWIG_csharp_string_callback(const char*)â redeclared as different kind of symbol
freeswitch_wrap.cpp:242: error: previous declaration of âchar* (* SWIG_csharp_string_callback)(const char*)â
make[4]: *** [freeswitch_wrap.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [mod_managed-all] Error 1
make[1]: *** [mod_managed] Error 2
make: *** [mod_managed] Error 2


regards

budi 

On Mon, May 23, 2011 at 11:28 AM, Yitzchok <adminjew@gmail.com> wrote:
Your missing the mono development package that doesn't get installed with the monotools-addon-server.

run
yum install mono-addon-devel.x86_64
or
yum install mono-addon-devel.i386
depending on your cpu/os


Yitzchok



On Sun, May 22, 2011 at 6:49 PM, budi wibowo <bwibowo@gmail.com> wrote:
hi 
still got this error, even though already sert PKG_CONFIG_PATH 
making all mod_managed
Package mono-2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `mono-2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mono-2' found
Package mono-2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `mono-2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mono-2' found
Compiling freeswitch_managed.cpp...
g++ -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_managed.o freeswitch_managed.cpp
In file included from freeswitch_managed.cpp:35:
freeswitch_managed.h:43:26: error: mono/jit/jit.h: No such file or directory
freeswitch_managed.h:44:36: error: mono/metadata/assembly.h: No such file or directory
freeswitch_managed.h:45:39: error: mono/metadata/environment.h: No such file or directory
freeswitch_managed.h:46:39: error: mono/metadata/mono-config.h: No such file or directory
freeswitch_managed.h:47:35: error: mono/metadata/threads.h: No such file or directory
freeswitch_managed.h:48:41: error: mono/metadata/debug-helpers.h: No such file or directory
freeswitch_managed.h:55: error: ISO C++ forbids declaration of âMonoDomainâ with no type


thx
budi

On Sun, May 22, 2011 at 6:10 PM, Yitzchok <adminjew@gmail.com> wrote:
Try this

cd /usr/local/src/freeswitch/src/mod/languages/mod_managed/
git apply mono28.patch
make reswig
make



Yitzchok



On Sat, May 21, 2011 at 6:42 PM, budi wibowo <bwibowo@gmail.com> wrote:
failed with some glib issue on source code compiling, then i use yum as suggested. 
mono installed, thx 
Mono JIT compiler version 2.10.2 (tarball Mon Apr 18 19:06:50 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          debugger softdebug
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)

when i try to install mod_managed i found this error, may be some missing config in my linux box 

making all mod_managed
Compiling freeswitch_managed.cpp...
g++ -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_managed.o freeswitch_managed.cpp
In file included from freeswitch_managed.cpp:35:
freeswitch_managed.h:43:18: error: glib.h: No such file or directory
freeswitch_managed.h:44:26: error: mono/jit/jit.h: No such file or directory
freeswitch_managed.h:45:36: error: mono/metadata/assembly.h: No such file or directory
freeswitch_managed.h:46:39: error: mono/metadata/environment.h: No such file or directory
freeswitch_managed.h:47:39: error: mono/metadata/mono-config.h: No such file or directory
freeswitch_managed.h:48:35: error: mono/metadata/threads.h: No such file or directory
freeswitch_managed.h:49:41: error: mono/metadata/debug-helpers.h: No such file or directory


thx 
budi wibowo 

On Wed, May 18, 2011 at 9:06 AM, Yitzchok <adminjew@gmail.com> wrote:
Make sure mono is installed and check which version using "mono -V" and follow the instructions on http://wiki.freeswitch.org/wiki/Mod_managed let us know if you get into any errors.

This helped me for installing mono http://stackoverflow.com/questions/3510320/install-mono-on-centos5-5-using-yum


Yitzchok


On Tue, May 17, 2011 at 8:02 PM, budi wibowo <bwibowo@gmail.com> wrote:
hi 
i have fs running on centos 5.5, any body knows the combination version of software need to be installed like mono etc.
have tried few combination but always failed compiling 


thx
budi  


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org