This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

compiling tcl-sql package

Discussion of Eggdrop's code and module programming in C.
Post Reply
User avatar
ultralord
Master
Posts: 255
Joined: Mon Nov 06, 2006 6:52 pm

compiling tcl-sql package

Post by ultralord »

when i try to compile it i have this error
i download that package:

http://sourceforge.net/project/showfile ... e_id=31338

....

ql::endquery(int)β
sql-mysql.h:30: error: after previous specification in βvirtual void Sql_mysql:: endquery(int)β
sql-mysql.cc: In member function βvirtual void Sql_mysql::endquery(int)β:
sql-mysql.cc:115: error: βNULLβ was not declared in this scope
sql-mysql.cc: At global scope:
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_mys ql::fetchrow(int)β
sql-mysql.cc: In member function βvirtual Sql_row* Sql_mysql::fetchrow(int)β:
sql-mysql.cc:126: error: βsprintfβ was not declared in this scope
sql-mysql.cc:127: error: βNULLβ was not declared in this scope
sql-mysql.cc:133: error: βNULLβ was not declared in this scope
make: *** [obj/sql-mysql.o] Error 1
ultralord@debian:~/tcl-sql$

any solution?
Post Reply