<div dir="ltr">Hi,<br><br>I am installing the latest Freeswitch build from SVN, but the following errors are encountered:<br><br>Compiling ../../../../libs/xmlrpc-c/src/xmlrpc_struct.c...<br>Compiling ../../../../libs/xmlrpc-c/lib/expat/xmltok/xmltok.c...<br>
Compiling mod_xml_rpc.c...<br>Creating mod_xml_rpc.so...<br>Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built. +<br> + Install by running: +<br>
+ +<br> + make install +<br> +----------------------------------------------+<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br>
[root@localhost freeswitch]# make install<br>make "OUR_MODULES=`if test -z "" ; then tmp_mods="\`grep -v "#" /usr/src/freeswitch/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/freeswitch/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/freeswitch/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/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; else tmp_mods="" ; fi ; mods=\`for i in $tmp_mods ; do echo $i-uninstall ; done\`; echo $mods `" "OUR_DISABLED_MODULES=`tmp_mods="\`grep "#" /usr/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; mods=\`for i in $tmp_mods ; do echo $i-all ; done \`; echo $mods `" "OUR_DISABLED_CLEAN_MODULES=`tmp_mods="\`grep "#" /usr/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; mods=\`for i in $tmp_mods ; do echo $i-clean ; done \`; echo $mods `" "OUR_DISABLED_INSTALL_MODULES=`tmp_mods="\`grep "#" /usr/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; mods=\`for i in $tmp_mods ; do echo $i-install ; done\`; echo $mods `" "OUR_DISABLED_UNINSTALL_MODULES=`tmp_mods="\`grep "#" /usr/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq \`"; mods=\`for i in $tmp_mods ; do echo $i-uninstall ; done\`; echo $mods `" `test -n "" || echo -s` install-recursive<br>
Making install in .<br>gcc -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -Werror -g -ggdb -g -O2 -Wall -std=c99 -pedantic -o .libs/freeswitch freeswitch-switch.o -L/usr/local/lib ./.libs/libfreeswitch.so /usr/src/freeswitch/libs/apr/.libs/libapr-1.a -L/usr/src/freeswitch/libs/srtp -lm libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib<br>
./.libs/libfreeswitch.so: undefined reference to `operator new(unsigned long)'<br>./.libs/libfreeswitch.so: undefined reference to `operator delete(void*)'<br>./.libs/libfreeswitch.so: undefined reference to `__cxa_pure_virtual'<br>
./.libs/libfreeswitch.so: undefined reference to `__gxx_personality_v0'<br>./.libs/libfreeswitch.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'<br>collect2: ld returned 1 exit status<br>make[2]: *** [freeswitch] Error 1<br>
Making install in src<br>Making install in mod<br><br>making install mod_amr<br>installing mod_amr.so<br>quiet_libtool: install: warning: `/usr/src/freeswitch/<a href="http://libfreeswitch.la">libfreeswitch.la</a>' has not been installed in `/usr/local/freeswitch/lib'<br>
/usr/bin/install: cannot create regular file `/usr/local/freeswitch/mod': No such file or directory<br>make[5]: *** [/usr/local/freeswitch/mod/mod_amr.so] Error 1<br>make[4]: *** [install] Error 1<br>make[3]: *** [mod_amr-install] Error 1<br>
make[2]: *** [install-recursive] Error 1<br>Making install in build<br> +-------- FreeSWITCH install Complete ---------+<br> + FreeSWITCH has been successfully installed. +<br> + +<br>
+ Install sounds: +<br> + (uhd-sounds includes hd-sounds, sounds) +<br> + (hd-sounds includes sounds) +<br> + ------------------------------------ +<br> + make uhd-sounds-install +<br>
+ make uhd-moh-install +<br> + +<br> + make hd-sounds-install +<br> + make hd-moh-install +<br> + +<br>
+ make sounds-install +<br> + make moh-install +<br> + +<br> + Upgrade to latest: +<br> + ---------------------------------- +<br>
+ make current +<br> + +<br> + Rebuild all: +<br> + ---------------------------------- +<br> + make sure +<br>
+ +<br> + Install/Re-install default config: +<br> + ---------------------------------- +<br> + make samples +<br> + +<br>
+ +<br> + Additional resources: +<br> + ---------------------------------- +<br> + <a href="http://www.freeswitch.org">http://www.freeswitch.org</a> +<br>
+ <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a> +<br> + <a href="http://jira.freeswitch.org">http://jira.freeswitch.org</a> +<br> + <a href="http://lists.freeswitch.org">http://lists.freeswitch.org</a> +<br>
+ +<br> + <a href="http://irc.freenode.net">irc.freenode.net</a> / #freeswitch +<br> + +<br> +----------------------------------------------+<br>
make[1]: *** [install-recursive] Error 1<br>make: *** [install] Error 2<br>[root@localhost freeswitch]# <br><br><br>Does anyone know how to resolve the errors?<br><br>Regards,<br>Woody<br><br></div>