[Freeswitch-users] make fails

Troy Anderson troy at tlainvestments.com
Fri Apr 2 14:58:02 PDT 2010


Help.  I've compiled FS successfully on this box many times, but now, it's failing.  It must be something I've done as it even fails when I check out an svn revision that compiled in the past on this box.  I'm hopeful someone here can point me in the right direction.  Here's the output:

make
make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /home/chronos_client/freeswitch.svn/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 "#" /home/chronos_client/freeswitch.svn/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 "#" /home/chronos_client/freeswitch.svn/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 "#" /home/chronos_client/freeswitch.svn/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 "#" /home/chronos_client/freeswitch.svn/modules.conf | grep -v "##" | 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 "#" /home/chronos_client/freeswitch.svn/modules.conf | grep -v "##" | 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 "#" /home/chronos_client/freeswitch.svn/modules.conf | grep -v "##" | 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 "#" /home/chronos_client/freeswitch.svn/modules.conf | grep -v "##" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )" `test -n "" || echo -s` all-recursive
Making all in .
gcc -I/home/chronos_client/freeswitch.svn/src/include -I/home/chronos_client/freeswitch.svn/src/include -I/home/chronos_client/freeswitch.svn/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/home/chronos_client/freeswitch.svn/libs/apr/include -I/home/chronos_client/freeswitch.svn/libs/apr-util/include -I/home/chronos_client/freeswitch.svn/libs/apr-util/xml/expat/lib -I/home/chronos_client/freeswitch.svn/libs/stfu -I/home/chronos_client/freeswitch.svn/libs/sqlite -I/home/chronos_client/freeswitch.svn/libs/pcre -I/home/chronos_client/freeswitch.svn/libs/speex/include -Ilibs/speex/include -I/home/chronos_client/freeswitch.svn/libs/srtp/include -I/home/chronos_client/freeswitch.svn/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -DSWITCH_HAVE_ODBC -I/usr/include -I/home/chronos_client/freeswitch.svn/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o  -pthread -lm ./.libs/libfreeswitch.so libs/apr/.libs/libapr-1.a libs/libedit/src/.libs/libedit.a -L/home/chronos_client/freeswitch.svn/libs/apr-util/xml/expat/lib -lrt -ldl -lcrypt -lpthread -lssl -lcrypto -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib
./.libs/libfreeswitch.so: undefined reference to `XML_ErrorString'
./.libs/libfreeswitch.so: undefined reference to `XML_SetUserData'
./.libs/libfreeswitch.so: undefined reference to `XML_ParserFree'
./.libs/libfreeswitch.so: undefined reference to `XML_SetElementHandler'
./.libs/libfreeswitch.so: undefined reference to `XML_SetCharacterDataHandler'
./.libs/libfreeswitch.so: undefined reference to `XML_GetErrorCode'
./.libs/libfreeswitch.so: undefined reference to `XML_ParserCreate'
./.libs/libfreeswitch.so: undefined reference to `XML_Parse'
collect2: ld returned 1 exit status
make[2]: *** [freeswitch] Error 1

Thanks!
Troy




More information about the FreeSWITCH-users mailing list