[Freeswitch-users] freeswitch odbc problem
Michael Collins
msc at freeswitch.org
Fri Aug 28 08:49:32 PDT 2009
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 at gmail.com>wrote:
> 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090828/df7e0e2a/attachment-0002.html
More information about the FreeSWITCH-users
mailing list