[Sqlrelay-discussion] 0.49 Compilation Issue
Brought to you by:
mused
From: Alastair M. <al...@ne...> - 2013-01-15 10:16:40
|
Hi, I'm having a problem when compiling SQLRelay 0.49, the error is below. I'm using gcc 4.6.6 on a Centos 6.3 system. Any suggestions as to how I might resolve this would be appreciated. Regards, Al -- start -- make[3]: Entering directory `/usr/local/src/sqlrelay-0.49/src/api/odbc' /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -Wno-long-double -Werror -I./ -I../../../ -I../../../src/common -I../../../src/api/c++/include -I/usr/local/firstworks/include -DSQLR_VERSION=\"0.49\" -c sqlrodbc.cpp -o sqlrodbc.lo libtool: compile: g++ -Wall -pipe -Wno-long-double -Werror -I./ -I../../../ -I../../../src/common -I../../../src/api/c++/include -I/usr/local/firstworks/include -DSQLR_VERSION=\"0.49\" -c sqlrodbc.cpp -fPIC -DPIC -o .libs/sqlrodbc.o sqlrodbc.cpp:125: error: ISO C++ forbids declaration of 'SQLROWSETSIZE' with no type sqlrodbc.cpp:125: error: expected ';' before '*' token sqlrodbc.cpp: In function 'SQLRETURN SQLR_SQLAllocHandle(SQLSMALLINT, void*, void**)': sqlrodbc.cpp:268: error: 'struct STMT' has no member named 'rowsfetchedptr' sqlrodbc.cpp: In function 'SQLRETURN SQLR_Fetch(void*, SQLULEN*, SQLUSMALLINT*)': sqlrodbc.cpp:2376: error: 'struct STMT' has no member named 'rowsfetchedptr' sqlrodbc.cpp:2377: error: 'struct STMT' has no member named 'rowsfetchedptr' sqlrodbc.cpp: In function 'SQLRETURN SQLR_SQLSetStmtAttr(void*, SQLINTEGER, void*, SQLINTEGER)': sqlrodbc.cpp:4445: error: 'struct STMT' has no member named 'rowsfetchedptr' sqlrodbc.cpp:4445: error: 'SQLROWSETSIZE' was not declared in this scope sqlrodbc.cpp:4445: error: expected primary-expression before ')' token sqlrodbc.cpp:4445: error: expected ';' before 'value' cc1plus: warnings being treated as errors At global scope: cc1plus: error: unrecognized command line option "-Wno-long-double" make[3]: *** [sqlrodbc.lo] Error 1 make[3]: Leaving directory `/usr/local/src/sqlrelay-0.49/src/api/odbc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/sqlrelay-0.49/src/api' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/sqlrelay-0.49/src' make: *** [all] Error 2 -- end -- |