Juan,<br><br>Is this a new OS install? Make sure that you have all of the prerequisites installed. Hopefully you&#39;re on CentOS and can just do this:<br><br>yum -y install unixODBC-devel gcc-c++ compat-gcc-32 compat-gcc-32-c++ autoconf automake db4-devel gdbm-devel ncurses-devel wget<br>
<br>Let us know how it goes.<br>-MC<br><br><div class="gmail_quote">On Thu, Aug 27, 2009 at 11:51 PM, Juan Backson <span dir="ltr">&lt;<a href="mailto:juanbackson@gmail.com">juanbackson@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>In a new environment, I am getting the following error when building the latest freeswitch from svn.  Does anyone know how to resolve it?<br>
<br>gcc -I/usr/src/freeswitch-snapshot/src/include -I/usr/src/freeswitch-snapshot/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -o .libs/freeswitch freeswitch-switch.o  -lm ./.libs/libfreeswitch.so -L/usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib /usr/src/freeswitch-snapshot/libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/src/freeswitch-snapshot/libs/apr/.libs/libapr-1.a -L/usr/src/freeswitch-snapshot/libs/srtp -L/usr/kerberos/lib64 libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -ldl -lz -lncurses  -Wl,--rpath -Wl,/usr/local/freeswitch/lib<br>

./.libs/libfreeswitch.so: undefined reference to `SQLGetData&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLDisconnect&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLSetConnectAttr&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLGetDiagRec&#39;<br>

./.libs/libfreeswitch.so: undefined reference to `SQLConnect&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLExecute&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLNumResultCols&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLFreeHandle&#39;<br>

./.libs/libfreeswitch.so: undefined reference to `SQLGetInfo&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLAllocHandle&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLDriverConnect&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLPrepare&#39;<br>

./.libs/libfreeswitch.so: undefined reference to `SQLError&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLRowCount&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLDescribeCol&#39;<br>./.libs/libfreeswitch.so: undefined reference to `SQLFetch&#39;<br>

./.libs/libfreeswitch.so: undefined reference to `SQLSetEnvAttr&#39;<br>collect2: ld returned 1 exit status<br>make[2]: *** [freeswitch] Error 1<br><br><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>