[Sqlrelay-discussion] trouble compiling
Brought to you by:
mused
|
From: tyju t. <jck...@ya...> - 2010-02-12 01:20:18
|
Hi,
I'm trying to build sqlrealy-0.41 on RHEL5.3 64bit, gcc version 4.1.2
Here is the tail end of the build output
============================================
g++ -Wall -pipe -pthread -I./ -I../../../ -I../../../src/common -I../../../src/util -I../../../src/connection -I/usr/local/firstworks/include -pthread -I/usr/kerberos/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I../../../src/api/c++/include -c mysqlconnection.C -fPIC -DPIC -o .libs/mysqlconnection.o
mysqlconnection.C: In member function 'virtual bool mysqlconnection::logIn(bool)':
mysqlconnection.C:106: error: 'mysql_connect' was not declared in this scope
mysqlconnection.C:74: warning: unused variable 'dbval'
../../../src/common/datatypes.h: At global scope:
../../../src/common/datatypes.h:394: warning: 'bool isBitTypeChar(const char*)' defined but not used
../../../src/common/datatypes.h:399: warning: 'bool isBoolTypeChar(const char*)' defined but not used
../../../src/common/datatypes.h:403: warning: 'bool isFloatTypeChar(const char*)' defined but not used
../../../src/common/datatypes.h:417: warning: 'long int bitStringToLong(const char*)' defined but not used
make[3]: *** [mysqlconnection.lo] Error 1
make[3]: Leaving directory `/home/ty/downloads/sqlrelay-0.41/src/connections/mysql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ty/downloads/sqlrelay-0.41/src/connections'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ty/downloads/sqlrelay-0.41/src'
make: *** [all] Error 2
============================================
Any help or advice would be appreciated.
Thanks!
Ty
|