Share

Tcl-SQL

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Error compiling tcl-sql

You are viewing a single message from this topic. View all messages.

  1. 2004-06-21 18:40:49 UTC
    I running mysql version 4.0.18 with redjack unix. When trying to compile I recieve the following error, any help would be greatly appreciated:

    gcc -c -I /usr/local/include -I/usr/include/mysql -I/usr/local/mysql/include -fPIC -Wall -o obj/sql-mysql.o sql-mysql.cc
    sql-mysql.cc: In member function `virtual char* Sql_mysql::getErrorMsg()':
    sql-mysql.cc:23: error: invalid conversion from `const char*' to `char*'
    sql-mysql.cc: In member function `virtual int Sql_mysql::connect(int, char**)':
    sql-mysql.cc:43: error: `mysql_connect' undeclared (first use this function)
    sql-mysql.cc:43: error: (Each undeclared identifier is reported only once for each function it appears in.)
    sql-mysql.cc: At global scope:
    sql-mysql.cc:74: error: default argument given for parameter 1 of `int Sql_mysql::numRows(int)'
    sql-mysql.h:29: error: after previous specification in `virtual int Sql_mysql::numRows(int)'
    sql-mysql.cc:112: error: default argument given for parameter 1 of `void Sql_mysql::endquery(int)'
    sql-mysql.h:30: error: after previous specification in `virtual void Sql_mysql::endquery(int)'
    sql-mysql.cc:123: error: default argument given for parameter 1 of `Sql_row* Sql_mysql::fetchrow(int)'
    sql-mysql.h:31: error: after previous specification in `virtual Sql_row* Sql_mysql::fetchrow(int)'
    make: *** [obj/sql-mysql.o] Error 1
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.