[Asterisk-Users] Solved - Re: 1.2 won't compile: res_config_odbc.c

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Fri Nov 18 08:27:02 MST 2005


For the archive:
Upgrading from unixODBC 2.0.7-3 to 2.2.0-5 solved the problem for me.

  rpm -e libodbc++-devel-0.2.2pre4-12
  rpm -e unixODBC-devel-2.0.7-3
  rpm -U unixODBC-2.2.0-5.i386.rpm

> so far I didn't succeed in getting 1.2 compiled on a RH72 System (with 
> gcc 3.0.4). I'd appreciate any tips... ;->

> res_config_odbc.c: In function `realtime_odbc':
> res_config_odbc.c:68: `SQLULEN' undeclared (first use in this function)
> res_config_odbc.c: In function `update_odbc':
> res_config_odbc.c:344: `SQLLEN' undeclared (first use in this function)
> res_config_odbc.c:344: parse error before "rowcount"
> res_config_odbc.c:404: `rowcount' undeclared (first use in this function)
> make[1]: *** [res_config_odbc.o] Error 1
> make[1]: Leaving directory `/usr/src/asterisk-1.2.0/res'
> make: *** [subdirs] Error 1

Cheers, Philipp





More information about the asterisk-users mailing list