[Freeswitch-users] freeswitch odbc problem

Juan Backson juanbackson at gmail.com
Thu Aug 27 23:51:03 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090828/97c32a49/attachment-0002.html 


More information about the FreeSWITCH-users mailing list