the problem is i donot have the superuser privileges for that cluster, any other alternative?????please
On Sat, Jan 29, 2011 at 11:59 PM, Nilay Vaish <[email protected]> wrote: > On Sat, 29 Jan 2011, biswabandan panda wrote: > > hey i tried with the latest dev version, it ran for 1 min or so then >> >> these are the errors, all are from mysql.hh and .cc >> >> >> In file included from build/ALPHA_SE/base/mysql.cc:33: >> build/ALPHA_SE/base/mysql.hh:38:27: error: mysql_version.h: No such file >> or >> directory >> build/ALPHA_SE/base/mysql.hh:39:19: error: mysql.h: No such file or >> directory >> build/ALPHA_SE/base/mysql.hh:67: error: ISO C++ forbids declaration of >> 'MYSQL_RES' with no type >> build/ALPHA_SE/base/mysql.hh:67: error: expected ';' before '*' token >> build/ALPHA_SE/base/mysql.hh:90: error: expected `)' before '*' token >> build/ALPHA_SE/base/mysql.hh:112: error: declaration of 'operator=' as >> non-function >> build/ALPHA_SE/base/mysql.hh:112: error: expected ';' before '(' token >> build/ALPHA_SE/base/mysql.hh:122: error: expected `;' before 'const' >> build/ALPHA_SE/base/mysql.hh:144: error: 'MYSQL_ROW' does not name a type >> build/ALPHA_SE/base/mysql.hh: In member function 'void >> MySQL::Result::decref()': >> build/ALPHA_SE/base/mysql.hh:78: error: 'result' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:78: error: 'mysql_free_result' was not >> declared >> in this scope >> build/ALPHA_SE/base/mysql.hh: In constructor 'MySQL::Result::Result()': >> build/ALPHA_SE/base/mysql.hh:87: error: class 'MySQL::Result' does not >> have >> any field named 'result' >> build/ALPHA_SE/base/mysql.hh: In copy constructor >> 'MySQL::Result::Result(const MySQL::Result&)': >> build/ALPHA_SE/base/mysql.hh:100: error: class 'MySQL::Result' does not >> have >> any field named 'result' >> build/ALPHA_SE/base/mysql.hh:100: error: 'const class MySQL::Result' has >> no >> member named 'result' >> build/ALPHA_SE/base/mysql.hh: In member function 'const MySQL::Result& >> MySQL::Result::operator=(const MySQL::Result&)': >> build/ALPHA_SE/base/mysql.hh:126: error: 'result' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:126: error: 'const class MySQL::Result' has >> no >> member named 'result' >> build/ALPHA_SE/base/mysql.hh: In member function 'MySQL::Result::operator >> bool() const': >> build/ALPHA_SE/base/mysql.hh:134: error: 'result' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh: In member function 'bool >> MySQL::Result::operator!() const': >> build/ALPHA_SE/base/mysql.hh:135: error: 'result' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh: In member function 'unsigned int >> MySQL::Result::num_fields()': >> build/ALPHA_SE/base/mysql.hh:140: error: 'result' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:141: error: 'mysql_num_fields' was not >> declared >> in this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'long unsigned int* >> MySQL::Result::fetch_lengths()': >> build/ALPHA_SE/base/mysql.hh:153: error: 'result' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:153: error: 'mysql_fetch_lengths' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.hh: At global scope: >> build/ALPHA_SE/base/mysql.hh:157: error: 'MYSQL_ROW' does not name a type >> build/ALPHA_SE/base/mysql.hh:162: error: 'MYSQL' does not name a type >> build/ALPHA_SE/base/mysql.hh:182: error: expected type-specifier before >> 'MYSQL' >> build/ALPHA_SE/base/mysql.hh: In member function 'bool >> MySQL::Connection::autocommit(bool)': >> build/ALPHA_SE/base/mysql.hh:196: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:196: error: 'mysql_autocommit' was not >> declared >> in this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'bool >> MySQL::Connection::commit()': >> build/ALPHA_SE/base/mysql.hh:202: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:202: error: 'mysql_commit' was not declared >> in >> this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'bool >> MySQL::Connection::rollback()': >> build/ALPHA_SE/base/mysql.hh:208: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:208: error: 'mysql_rollback' was not declared >> in this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'unsigned int >> MySQL::Connection::field_count()': >> build/ALPHA_SE/base/mysql.hh:214: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:214: error: 'mysql_field_count' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'unsigned int >> MySQL::Connection::affected_rows()': >> build/ALPHA_SE/base/mysql.hh:220: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:220: error: 'mysql_affected_rows' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'unsigned int >> MySQL::Connection::insert_id()': >> build/ALPHA_SE/base/mysql.hh:226: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:226: error: 'mysql_insert_id' was not >> declared >> in this scope >> build/ALPHA_SE/base/mysql.hh: In member function 'MySQL::Result >> MySQL::Connection::store_result()': >> build/ALPHA_SE/base/mysql.hh:234: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.hh:234: error: 'mysql_store_result' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.hh:236: error: 'mysql_error' was not declared in >> this scope >> build/ALPHA_SE/base/mysql.cc: In member function 'bool >> MySQL::Connection::connect(const std::string&, const std::string&, const >> std::string&, const std::string&)': >> build/ALPHA_SE/base/mysql.cc:82: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.cc:82: error: 'mysql_init' was not declared in >> this scope >> build/ALPHA_SE/base/mysql.cc:83: error: 'MYSQL_OPT_COMPRESS' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.cc:83: error: 'mysql_options' was not declared >> in >> this scope >> build/ALPHA_SE/base/mysql.cc:84: error: 'MYSQL_READ_DEFAULT_GROUP' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.cc:87: error: 'mysql_real_connect' was not >> declared in this scope >> build/ALPHA_SE/base/mysql.cc:88: error: 'mysql_error' was not declared in >> this scope >> build/ALPHA_SE/base/mysql.cc: In member function 'void >> MySQL::Connection::close()': >> build/ALPHA_SE/base/mysql.cc:97: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.cc:97: error: 'mysql_close' was not declared in >> this scope >> build/ALPHA_SE/base/mysql.cc: In member function 'bool >> MySQL::Connection::query(const std::string&)': >> build/ALPHA_SE/base/mysql.cc:105: error: 'mysql' was not declared in this >> scope >> build/ALPHA_SE/base/mysql.cc:105: error: 'mysql_real_query' was not >> declared >> in this scope >> build/ALPHA_SE/base/mysql.cc:106: error: 'mysql_error' was not declared in >> this scope >> scons: *** [build/ALPHA_SE/base/mysql.o] Error 1 >> scons: building terminated because of errors. >> >> >> > To me it means that mysql_version.h, mysql.h were not found any where in > the include path. Where are mysql include files on your system kept? Can > they be moved to /usr/include? > > > -- > Nilay > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- *thanks®ards * *BISWABANDAN PANDA* *M.S.(RESEARCH SCHOLAR)* *RISE LAB* *IIT MADRAS* http://www.cse.iitm.ac.in/~biswa/ <http://www.cse.iitm.ac.in/%7Ebiswa/> "Happy Republic Day" ------- http://www.youtube.com/watch?v=Kk02qPlnS2E
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
