Hi,
I am installing the latest Freeswitch build from SVN, but the following errors are encountered:
Compiling ../../../../libs/xmlrpc-c/src/xmlrpc_struct.c...
Compiling ../../../../libs/xmlrpc-c/lib/expat/xmltok/xmltok.c...
Compiling mod_xml_rpc.c...
Creating mod_xml_rpc.so...
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
[root@localhost freeswitch]# make install
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
Making install in .
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
./.libs/libfreeswitch.so: undefined reference to `operator new(unsigned long)'
./.libs/libfreeswitch.so: undefined reference to `operator delete(void*)'
./.libs/libfreeswitch.so: undefined reference to `__cxa_pure_virtual'
./.libs/libfreeswitch.so: undefined reference to `__gxx_personality_v0'
./.libs/libfreeswitch.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
collect2: ld returned 1 exit status
make[2]: *** [freeswitch] Error 1
Making install in src
Making install in mod
making install mod_amr
installing mod_amr.so
quiet_libtool: install: warning: `/usr/src/freeswitch/libfreeswitch.la' has not been installed in `/usr/local/freeswitch/lib'
/usr/bin/install: cannot create regular file `/usr/local/freeswitch/mod': No such file or directory
make[5]: *** [/usr/local/freeswitch/mod/mod_amr.so] Error 1
make[4]: *** [install] Error 1
make[3]: *** [mod_amr-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 uhd-sounds-install +
+ make uhd-moh-install +
+ +
+ make hd-sounds-install +
+ make hd-moh-install +
+ +
+ make sounds-install +
+ make moh-install +
+ +
+ Upgrade to latest: +
+ ---------------------------------- +
+ make current +
+ +
+ Rebuild all: +
+ ---------------------------------- +
+ make sure +
+ +
+ Install/Re-install default config: +
+ ---------------------------------- +
+ make samples +
+ +
+ +
+ Additional resources: +
+ ---------------------------------- +
+ http://www.freeswitch.org +
+ http://wiki.freeswitch.org +
+ http://jira.freeswitch.org +
+ http://lists.freeswitch.org +
+ +
+ irc.freenode.net / #freeswitch +
+ +
+----------------------------------------------+
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
[root@localhost freeswitch]#
Does anyone know how to resolve the errors?
Regards,
Woody