[Freeswitch-users] make all install error

Michael Jerris mike at jerris.com
Tue Feb 5 05:37:06 PST 2008


This looks to me like you don't have the c++ compiler installed or  
your missing some library necessary to have a working c++ toolchain.   
Can you make sure you have all that installed, and re-run configure  
and make?

Mike

On Feb 5, 2008, at 5:08 AM, Gopal krishnan wrote:

> Hi,
>
>  I am trying to install freeswitch. I am using opensuse 10.3 while  
> doing make all install I got error for several modules with  
> recursive error. I commented out those modules one by one in  
> modules.conf but again at last i got struk in freeswitch error. In  
> the below i have pasted the make all install command output first  
> half will specify you a recursive error for one module, the second  
> half will specify the freeswitch error after commenting all the  
> modules. Please help me to install freeswitch. If I am doing  
> anything wrong please assist me.
>
>   localhost:/usr/src/trunk # make all install
> make "OUR_MODULES=`if test -z "" ; then tmp_mods="\`grep -v "#" /usr/ 
> src/trunk/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; else  
> tmp_mods="" ; fi ; mods=\`for i in $tmp_mods ; do echo $i-all ; done  
> \`; echo $mods `" "OUR_CLEAN_MODULES=`if test -z "" ; then  
> tmp_mods="\`grep -v "#" /usr/src/trunk/modules.conf | sed -e "s| 
> ^.*/||" | sort | uniq \`"; else tmp_mods="" ; fi ; mods=\`for i in  
> $tmp_mods ; do echo $i-clean ; done \`; echo $mods `"  
> "OUR_INSTALL_MODULES=`if test -z "" ; then tmp_mods="\`grep -v "#" / 
> usr/src/trunk/modules.conf | sed -e "s|^.*/||" | sort | uniq \`";  
> else tmp_mods="" ; fi ; mods=\`for i in $tmp_mods ; do echo $i- 
> install ; done\`; echo $mods `" "OUR_UNINSTALL_MODULES=`if test -z  
> "" ; then tmp_mods="\`grep -v "#" /usr/src/trunk/modules.conf | sed - 
> e "s|^.*/||" | sort | uniq \`"; else tmp_mods="" ; fi ; mods=\`for i  
> in $tmp_mods ; do echo $i-uninstall ; done\`; echo $mods `" `test -n  
> "" || echo -s` all-recursive
> Making all in .
> gcc -I/usr/src/trunk/src/include -I/usr/src/trunk/libs/libteletone/ 
> src -fPIC -Werror -g -ggdb -g -O2 -pthread -DLINUX=2 -D_REENTRANT - 
> D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/trunk/libs/apr/include  
> -I/usr/src/trunk/libs/apr-util/include -I/usr/src/trunk/libs/stfu -I/ 
> usr/src/trunk/libs/sqlite -I/usr/src/trunk/libs/pcre -I/usr/src/ 
> trunk/libs/srtp/include -I/usr/src/trunk/libs/srtp/crypto/include -I/ 
> usr/src/trunk/libs/libresample/include -Ilibs/libedit/src - 
> DSWITCH_HAVE_LIBEDIT -g -O2 -Wall -std=c99 -pedantic -o .libs/ 
> freeswitch freeswitch-switch.o  -L/usr/local/lib ./.libs/ 
> libfreeswitch.so -lm /usr/src/trunk/libs/apr/.libs/libapr-1.a libs/ 
> apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread -lncurses  -Wl,-- 
> rpath -Wl,/usr/local/freeswitch/lib
> ./.libs/libfreeswitch.so: undefined reference to  
> `switch_xml_add_child'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_attr'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_txt'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_free'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_destroy'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_open_cfg'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_flag'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_init'
> ./.libs/libfreeswitch.so: undefined reference to  
> `switch_xml_find_child'
> ./.libs/libfreeswitch.so: undefined reference to  
> `switch_xml_attr_soft'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_attr'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_new'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_locate'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_child'
> collect2: ld returned 1 exit status
> make[2]: *** [freeswitch] Error 1
> Making all in src
> Making all in mod
>
> making all mod_amr
>
> making all mod_cdr_csv
>
> making all mod_commands
>
> making all mod_conference
>
> making all mod_console
>
> making all mod_dialplan_asterisk
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> localhost:/usr/src/trunk # make all install
> make "OUR_MODULES=`if test -z "" ; then tmp_mods="\`grep -v "#" /usr/ 
> src/trunk/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; else  
> tmp_mods="" ; fi ; mods=\`for i in $tmp_mods ; do echo $i-all ; done  
> \`; echo $mods `" "OUR_CLEAN_MODULES=`if test -z "" ; then  
> tmp_mods="\`grep -v "#" /usr/src/trunk/modules.conf | sed -e "s| 
> ^.*/||" | sort | uniq \`"; else tmp_mods="" ; fi ; mods=\`for i in  
> $tmp_mods ; do echo $i-clean ; done \`; echo $mods `"  
> "OUR_INSTALL_MODULES=`if test -z "" ; then tmp_mods="\`grep -v "#" / 
> usr/src/trunk/modules.conf | sed -e "s|^.*/||" | sort | uniq \`";  
> else tmp_mods="" ; fi ; mods=\`for i in $tmp_mods ; do echo $i- 
> install ; done\`; echo $mods `" "OUR_UNINSTALL_MODULES=`if test -z  
> "" ; then tmp_mods="\`grep -v "#" /usr/src/trunk/modules.conf | sed - 
> e "s|^.*/||" | sort | uniq \`"; else tmp_mods="" ; fi ; mods=\`for i  
> in $tmp_mods ; do echo $i-uninstall ; done\`; echo $mods `" `test -n  
> "" || echo -s` all-recursive
> Making all in .
> gcc -I/usr/src/trunk/src/include -I/usr/src/trunk/libs/libteletone/ 
> src -fPIC -Werror -g -ggdb -g -O2 -pthread -DLINUX=2 -D_REENTRANT - 
> D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/trunk/libs/apr/include  
> -I/usr/src/trunk/libs/apr-util/include -I/usr/src/trunk/libs/stfu -I/ 
> usr/src/trunk/libs/sqlite -I/usr/src/trunk/libs/pcre -I/usr/src/ 
> trunk/libs/srtp/include -I/usr/src/trunk/libs/srtp/crypto/include -I/ 
> usr/src/trunk/libs/libresample/include -Ilibs/libedit/src - 
> DSWITCH_HAVE_LIBEDIT -g -O2 -Wall -std=c99 -pedantic -o .libs/ 
> freeswitch freeswitch-switch.o  -L/usr/local/lib ./.libs/ 
> libfreeswitch.so -lm /usr/src/trunk/libs/apr/.libs/libapr-1.a libs/ 
> apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread -lncurses  -Wl,-- 
> rpath -Wl,/usr/local/freeswitch/lib
> ./.libs/libfreeswitch.so: undefined reference to  
> `switch_xml_add_child'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_attr'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_txt'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_free'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_destroy'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_open_cfg'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_flag'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_init'
> ./.libs/libfreeswitch.so: undefined reference to  
> `switch_xml_find_child'
> ./.libs/libfreeswitch.so: undefined reference to  
> `switch_xml_attr_soft'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_attr'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_new'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_locate'
> ./.libs/libfreeswitch.so: undefined reference to `switch_xml_child'
> collect2: ld returned 1 exit status
> make[2]: *** [freeswitch] Error 1
> make[1]: *** [_______________________________________________
> 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/20080205/a60f389d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list