Someone can problem correct me if I'm wrong, however I believe a recent change was made to the configure script to try and autodetect ODBC. The configure script may be hitting a false positive as described in this similar thread from a few days ago ...
http://lists.freeswitch.org/pipermail/freeswitch-users/2009-February/011762.html Gabe Shelby Ramsey wrote: > 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 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > [email protected] > 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 [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
