help me

66 views
Skip to first unread message

Prabu M

unread,
Oct 24, 2014, 11:23:28 PM10/24/14
to xbt-t...@googlegroups.com
i am xbt tracker install but some error help me,


Last login: Sat Oct 25 02:50:17 2014 from 
root@wap [~]# cd /home/movier1/public_html/xbt/Tracker
root@wap [/home/movier1/public_html/xbt/Tracker]# ./make.sh
In file included from ../misc/sql/database.h:8,
                 from server.h:8,
                 from peer_link.cpp:5:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
In file included from ../misc/sql/database.h:8,
                 from server.h:8,
                 from server.cpp:2:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
In file included from ../misc/sql/database.h:8,
                 from server.h:8,
                 from tcp_listen_socket.cpp:4:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
In file included from ../misc/sql/database.h:8,
                 from server.h:8,
                 from transaction.h:8,
                 from transaction.cpp:2:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
In file included from ../misc/sql/database.h:8,
                 from server.h:8,
                 from transaction.h:8,
                 from udp_listen_socket.cpp:4:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
In file included from ../misc/stream_writer.h:8,
                 from ../misc/alerts.h:10,
                 from ../misc/alerts.cpp:2:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/alerts.h:10,
                 from ../misc/alerts.cpp:2:
../misc/stream_writer.h: In member function ‘void Cstream_writer::write_string(const std::string&)’:
../misc/stream_writer.h:39: erreur: ‘memcpy’ was not declared in this scope
../misc/bt_misc.cpp: In function ‘std::string get_env(const std::string&)’:
../misc/bt_misc.cpp:37: erreur: ‘getenv’ was not declared in this scope
In file included from ../misc/stream_writer.h:8,
                 from ../misc/bt_tracker_account.h:8,
                 from ../misc/bt_tracker_account.cpp:2:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/bt_tracker_account.h:8,
                 from ../misc/bt_tracker_account.cpp:2:
../misc/stream_writer.h: In member function ‘void Cstream_writer::write_string(const std::string&)’:
../misc/stream_writer.h:39: erreur: ‘memcpy’ was not declared in this scope
../misc/bvalue.cpp: In member function ‘int Cbvalue::write(const char*&, const char*)’:
../misc/bvalue.cpp:143: erreur: ‘atoi’ was not declared in this scope
../misc/bvalue.cpp:178: erreur: ‘atoll’ was not declared in this scope
../misc/bvalue.cpp: In member function ‘int Cbvalue::read(char*) const’:
../misc/bvalue.cpp:336: erreur: ‘strlen’ was not declared in this scope
../misc/bvalue.cpp:342: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/stream_reader.h:8,
                 from ../misc/stream_reader.cpp:2:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/stream_writer.h:8,
                 from ../misc/stream_writer.cpp:2:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/stream_writer.cpp:2:
../misc/stream_writer.h: In member function ‘void Cstream_writer::write_string(const std::string&)’:
../misc/stream_writer.h:39: erreur: ‘memcpy’ was not declared in this scope
../misc/virtual_binary.cpp: In constructor ‘Cvirtual_binary_source::Cvirtual_binary_source(const void*, size_t)’:
../misc/virtual_binary.cpp:12: erreur: ‘memcpy’ was not declared in this scope
../misc/virtual_binary.cpp: In member function ‘size_t Cvirtual_binary::read(void*) const’:
../misc/virtual_binary.cpp:105: erreur: ‘memcpy’ was not declared in this scope
../misc/virtual_binary.cpp: In member function ‘void Cvirtual_binary::write(const void*, size_t)’:
../misc/virtual_binary.cpp:121: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/xcc_z.cpp:6:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/xif_key.h:11,
                 from ../misc/xif_key.cpp:2:
../misc/xif_value.h: In constructor ‘Cxif_value::Cxif_value(const std::string&)’:
../misc/xif_value.h:44: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_key.cpp:5:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/xif_key_r.h:10,
                 from ../misc/xif_key_r.cpp:2:
../misc/xif_value.h: In constructor ‘Cxif_value::Cxif_value(const std::string&)’:
../misc/xif_value.h:44: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_key_r.cpp:5:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/xif_value.cpp:2:
../misc/xif_value.h: In constructor ‘Cxif_value::Cxif_value(const std::string&)’:
../misc/xif_value.h:44: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_value.cpp:5:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26: erreur: there are no arguments to ‘memcpy’ that depend on a template parameter, so a declaration of ‘memcpy’ must be available
../misc/stream_int.h:26: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../misc/xif_value.cpp: In function ‘float read_float(const byte*&)’:
../misc/xif_value.cpp:11: erreur: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp: In member function ‘void Cxif_value::load_old(const byte*&)’:
../misc/xif_value.cpp:53: erreur: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp:54: erreur: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp: In member function ‘void Cxif_value::load_new(const byte*&)’:
../misc/xif_value.cpp:79: erreur: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp: In member function ‘void Cxif_value::load_external(const byte*&)’:
../misc/xif_value.cpp:89: erreur: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp: In member function ‘void Cxif_value::save(byte*&) const’:
../misc/xif_value.cpp:133: erreur: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp: In member function ‘void Cxif_value::external_save(byte*&) const’:
../misc/xif_value.cpp:149: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_value.cpp:5:
../misc/stream_int.h: In function ‘T write_float(T, float) [with T = byte*]’:
../misc/xif_value.cpp:125:   instantiated from here
../misc/stream_int.h:26: erreur: ‘memcpy’ was not declared in this scope
In file included from ../misc/sql/database.h:8,
                 from ../misc/sql/database.cpp:2:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
In file included from ../misc/sql/database.h:8,
                 from ../misc/sql/sql_query.cpp:5:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
../misc/sql/sql_query.cpp: In member function ‘void Csql_query::p(const std::string&)’:
../misc/sql/sql_query.cpp:68: erreur: ‘strcat’ was not declared in this scope
../misc/sql/sql_query.cpp: In member function ‘void Csql_query::p(const Cvirtual_binary&)’:
../misc/sql/sql_query.cpp:78: erreur: ‘strcat’ was not declared in this scope
In file included from ../misc/sql/sql_result.cpp:2:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long long int) const’:
../misc/sql/sql_result.h:70: erreur: ‘atoll’ was not declared in this scope
root@wap [/home/movier1/public_html/xbt/Tracker]#

Vladimir Fedyay

unread,
Dec 26, 2014, 1:58:53 PM12/26/14
to xbt-t...@googlegroups.com
What OS version do you have and your GCC version?
Reply all
Reply to author
Forward
0 new messages