[Freeswitch-users] Compile Errors ...

Shelby Ramsey sicfslist at gmail.com
Sun Feb 22 14:52:43 PST 2009


Did this (to make sure I started from scratch):

rm -rf /usr/src/freeswitch.trunk
rm -rf /usr/local/freeswitch
svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk freeswitch.trunk
cd freeswitch.trunk/
./bootstrap.sh
./configure
make

... and then it pukes all over the place with errors compiling odbc support
... but I thought that odbc was disabled by default.

Errors look like this:

Compiling src/switch_odbc.c ...
In file included from src/switch_odbc.c:33:
./src/include/switch_odbc.h:36:17: error: sql.h: No such file or directory
./src/include/switch_odbc.h:43:20: error: sqlext.h: No such file or
directory
./src/include/switch_odbc.h:45:22: error: sqltypes.h: No such file or
directory
In file included from src/switch_odbc.c:33:
./src/include/switch_odbc.h:66: error: expected declaration specifiers or
'...' before 'SQLHSTMT'
./src/include/switch_odbc.h:96: error: expected declaration specifiers or
'...' before 'SQLHSTMT'
src/switch_odbc.c:43: error: expected specifier-qualifier-list before
'SQLHENV'
src/switch_odbc.c: In function 'switch_odbc_handle_new':
src/switch_odbc.c:76: error: 'switch_odbc_handle_t' has no member named
'env'
src/switch_odbc.c:76: error: 'SQL_NULL_HANDLE' undeclared (first use in this
function)
src/switch_odbc.c:76: error: (Each undeclared identifier is reported only
once
src/switch_odbc.c:76: error: for each function it appears in.)
src/switch_odbc.c:77: error: 'switch_odbc_handle_t' has no member named
'state'
src/switch_odbc.c: In function 'switch_odbc_handle_disconnect':
src/switch_odbc.c:96: error: 'switch_odbc_handle_t' has no member named
'state'
cc1: warnings being treated as errors
src/switch_odbc.c:97: warning: implicit declaration of function
'SQLDisconnect'
src/switch_odbc.c:97: error: 'switch_odbc_handle_t' has no member named
'con'
src/switch_odbc.c:105: error: 'switch_odbc_handle_t' has no member named
'state'
src/switch_odbc.c: In function 'switch_odbc_handle_connect':
src/switch_odbc.c:113: error: 'SQLINTEGER' undeclared (first use in this
function)
src/switch_odbc.c:113: error: expected ';' before 'err'
src/switch_odbc.c:116: error: 'SQLSMALLINT' undeclared (first use in this
function)
src/switch_odbc.c:116: error: expected ';' before 'valueLength'


SDR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090222/13e59eb6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list