Hi,<br><br> I am trying to install freeswitch. I am using opensuse 10.3 while doing <b>make all install </b>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.<br>
<br> localhost:/usr/src/trunk # make all install<br>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<br>
Making all in .<br>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<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_add_child'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_attr'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_txt'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_free'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_destroy'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_open_cfg'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_flag'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_init'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_find_child'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_attr_soft'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_attr'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_new'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_locate'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_child'<br>collect2: ld returned 1 exit status<br>make[2]: *** [freeswitch] Error 1<br>
Making all in src<br>Making all in mod<br><br>making all mod_amr<br><br>making all mod_cdr_csv<br><br>making all mod_commands<br><br>making all mod_conference<br><br>making all mod_console<br><br>making all mod_dialplan_asterisk<br>
make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br>localhost:/usr/src/trunk # make all install<br>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<br>
Making all in .<br>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<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_add_child'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_attr'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_txt'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_free'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_destroy'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_open_cfg'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_set_flag'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_init'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_find_child'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_attr_soft'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_attr'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_new'<br>
./.libs/libfreeswitch.so: undefined reference to `switch_xml_locate'<br>./.libs/libfreeswitch.so: undefined reference to `switch_xml_child'<br>collect2: ld returned 1 exit status<br>make[2]: *** [freeswitch] Error 1<br>
make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br>localhost:/usr/src/trunk # <br><br>Thanks<br>Gopal<br>