Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] freeswitch odbc problem


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
juanbackson at gmail.com
Guest





PostPosted: Fri Aug 28, 2009 1:55 am    Post subject: [Freeswitch-users] freeswitch odbc problem Reply with 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
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Aug 28, 2009 10:59 am    Post subject: [Freeswitch-users] freeswitch odbc problem Reply with quote

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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services