juanbackson at gmail.com Guest
|
Posted: Wed Sep 02, 2009 1:38 am Post subject: [Freeswitch-users] Fwd: freeswitch odbc problem |
|
|
hi Michael,
Thank you for your help.
It works now.
JB
---------- Forwarded message ----------
From: Michael Collins <msc@freeswitch.org (msc@freeswitch.org)>
Date: Fri, Aug 28, 2009 at 11:49 PM
Subject: Re: [Freeswitch-users] freeswitch odbc problem
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Juan,
Is this a new OS install? Make sure that you have all of the prerequisites installed. Hopefully you're on CentOS and can just do this:
yum -y install unixODBC-devel gcc-c++ compat-gcc-32 compat-gcc-32-c++ autoconf automake db4-devel gdbm-devel ncurses-devel wget
Let us know how it goes.
-MC
On Thu, Aug 27, 2009 at 11:51 PM, Juan Backson <juanbackson@gmail.com (juanbackson@gmail.com)> wrote:
Quote: |
Hi,
In a new environment, I am getting the following error when building the latest freeswitch from svn. Does anyone know how to resolve it?
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
./.libs/libfreeswitch.so: undefined reference to `SQLGetData'
./.libs/libfreeswitch.so: undefined reference to `SQLDisconnect'
./.libs/libfreeswitch.so: undefined reference to `SQLSetConnectAttr'
./.libs/libfreeswitch.so: undefined reference to `SQLGetDiagRec'
./.libs/libfreeswitch.so: undefined reference to `SQLConnect'
./.libs/libfreeswitch.so: undefined reference to `SQLExecute'
./.libs/libfreeswitch.so: undefined reference to `SQLNumResultCols'
./.libs/libfreeswitch.so: undefined reference to `SQLFreeHandle'
./.libs/libfreeswitch.so: undefined reference to `SQLGetInfo'
./.libs/libfreeswitch.so: undefined reference to `SQLAllocHandle'
./.libs/libfreeswitch.so: undefined reference to `SQLDriverConnect'
./.libs/libfreeswitch.so: undefined reference to `SQLPrepare'
./.libs/libfreeswitch.so: undefined reference to `SQLError'
./.libs/libfreeswitch.so: undefined reference to `SQLRowCount'
./.libs/libfreeswitch.so: undefined reference to `SQLDescribeCol'
./.libs/libfreeswitch.so: undefined reference to `SQLFetch'
./.libs/libfreeswitch.so: undefined reference to `SQLSetEnvAttr'
collect2: ld returned 1 exit status
make[2]: *** [freeswitch] Error 1
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|