View Single Post
  #25  
Old 31st August 2015, 16:21
Rockz Rockz is offline
Member
 
Join Date: Jun 2015
Posts: 3
Question Here is an issue!!
Here is an error while instaling the vbitty

Code:
movier1@movierock.net [~/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: error: '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: error: '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: error: '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: error: '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: error: '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: error: 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: error: '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: error: '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: error: 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: error: 'memcpy' was not declared in this scope
../misc/bvalue.cpp: In member function 'int Cbvalue::write(const char*&, const char*)':
../misc/bvalue.cpp:143: error: 'atoi' was not declared in this scope
../misc/bvalue.cpp:178: error: 'atoll' was not declared in this scope
../misc/bvalue.cpp: In member function 'int Cbvalue::read(char*) const':
../misc/bvalue.cpp:336: error: 'strlen' was not declared in this scope
../misc/bvalue.cpp:342: error: '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: error: 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: error: 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: error: '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: error: '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: error: '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: error: '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: error: 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: error: '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: error: 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: error: '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: error: 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: error: '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: error: 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: error: '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: error: 'memcpy' was not declared in this scope
../misc/xif_value.cpp:54: error: '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: error: '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: error: '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: error: '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: error: '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: error: '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: error: '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: error: '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: error: '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: error: '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: error: 'atoll' was not declared in this scope
while tried the yum command:

Click the image to open in full size.

Please help!!
Reply With Quote