Sorry for the bump . I gues u dont need to get solution but one who wants to know the solution .... GCC version should be 4.7 to fix the above error
Code:
root@srv1 [~/xbt/Tracker]# sh make.sh
In file included from connection.cpp:3:0:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:12:0,
from connection.cpp:7:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:14:0,
from connection.cpp:7:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:16:0,
from connection.cpp:7:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from peer_link.cpp:2:0:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from ../misc/sql/database.h:8:0,
from server.h:8,
from peer_link.cpp:5:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
In file included from server.h:10:0,
from peer_link.cpp:5:
connection.h: At global scope:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:14:0,
from peer_link.cpp:5:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:16:0,
from peer_link.cpp:5:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from ../misc/sql/database.h:8:0,
from server.h:8,
from server.cpp:2:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
In file included from server.h:10:0,
from server.cpp:2:
connection.h: At global scope:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:12:0,
from server.cpp:2:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:14:0,
from server.cpp:2:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:16:0,
from server.cpp:2:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from tcp_listen_socket.cpp:2:0:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from ../misc/sql/database.h:8:0,
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 l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
In file included from server.h:10:0,
from tcp_listen_socket.cpp:4:
connection.h: At global scope:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:12:0,
from tcp_listen_socket.cpp:4:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:16:0,
from tcp_listen_socket.cpp:4:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from ../misc/sql/database.h:8:0,
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 l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
In file included from server.h:10:0,
from transaction.h:8,
from transaction.cpp:2:
connection.h: At global scope:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:12:0,
from transaction.h:8,
from transaction.cpp:2:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:14:0,
from transaction.h:8,
from transaction.cpp:2:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:16:0,
from transaction.h:8,
from transaction.cpp:2:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from udp_listen_socket.cpp:2:0:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from ../misc/sql/database.h:8:0,
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 l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
In file included from server.h:10:0,
from transaction.h:8,
from udp_listen_socket.cpp:4:
connection.h: At global scope:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:12:0,
from transaction.h:8,
from udp_listen_socket.cpp:4:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:14:0,
from transaction.h:8,
from udp_listen_socket.cpp:4:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:10:0,
from XBT Tracker.cpp:4:
connection.h:15:2: warning: access declarations are deprecated in favour of usin g-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:12:0,
from XBT Tracker.cpp:4:
peer_link.h:15:2: warning: access declarations are deprecated in favour of using -declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:14:0,
from XBT Tracker.cpp:4:
tcp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from server.h:16:0,
from XBT Tracker.cpp:4:
udp_listen_socket.h:16:2: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated]
In file included from ../misc/stream_writer.h:8:0,
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:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/alerts.h:10:0,
from ../misc/alerts.cpp:2:
../misc/stream_writer.h: In member function ‘void Cstream_writer::write_string(c onst string&)’:
../misc/stream_writer.h:39:50: error: ‘memcpy’ was not declared in this scope
../misc/bt_misc.cpp: In function ‘std::string get_env(const string&)’:
../misc/bt_misc.cpp:37:34: error: ‘getenv’ was not declared in this scope
In file included from ../misc/stream_writer.h:8:0,
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:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/bt_tracker_account.h:8:0,
from ../misc/bt_tracker_account.cpp:2:
../misc/stream_writer.h: In member function ‘void Cstream_writer::write_string(c onst string&)’:
../misc/stream_writer.h:39:50: error: ‘memcpy’ was not declared in this scope
../misc/bvalue.cpp: In member function ‘int Cbvalue::write(const char*&, const c har*)’:
../misc/bvalue.cpp:143:18: error: ‘atoi’ was not declared in this scope
../misc/bvalue.cpp:178:19: error: ‘atoll’ was not declared in this scope
../misc/bvalue.cpp: In member function ‘int Cbvalue::read(char*) const’:
../misc/bvalue.cpp:336:16: error: ‘strlen’ was not declared in this scope
../misc/bvalue.cpp:342:47: error: ‘memcpy’ was not declared in this scope
In file included from ../misc/stream_reader.h:8:0,
from ../misc/stream_reader.cpp:2:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/stream_writer.h:8:0,
from ../misc/stream_writer.cpp:2:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/stream_writer.cpp:2:0:
../misc/stream_writer.h: In member function ‘void Cstream_writer::write_string(c onst string&)’:
../misc/stream_writer.h:39:50: error: ‘memcpy’ was not declared in this scope
../misc/virtual_binary.cpp: In constructor ‘Cvirtual_binary_source::Cvirtual_bin ary_source(const void*, size_t)’:
../misc/virtual_binary.cpp:12:25: error: ‘memcpy’ was not declared in this scope
../misc/virtual_binary.cpp: In member function ‘size_t Cvirtual_binary::read(voi d*) const’:
../misc/virtual_binary.cpp:105:26: error: ‘memcpy’ was not declared in this scop e
../misc/virtual_binary.cpp: In member function ‘void Cvirtual_binary::write(cons t void*, size_t)’:
../misc/virtual_binary.cpp:121:35: error: ‘memcpy’ was not declared in this scop e
In file included from ../misc/xcc_z.cpp:6:0:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/xif_key.h:11:0,
from ../misc/xif_key.cpp:2:
../misc/xif_value.h: In constructor ‘Cxif_value::Cxif_value(const string&)’:
../misc/xif_value.h:44:71: error: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_key.cpp:5:0:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/xif_key_r.h:10:0,
from ../misc/xif_key_r.cpp:2:
../misc/xif_value.h: In constructor ‘Cxif_value::Cxif_value(const string&)’:
../misc/xif_value.h:44:71: error: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_key_r.cpp:5:0:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur code, but allowing the use of an undeclared name is deprecated)
In file included from ../misc/xif_value.cpp:2:0:
../misc/xif_value.h: In constructor ‘Cxif_value::Cxif_value(const string&)’:
../misc/xif_value.h:44:71: error: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_value.cpp:5:0:
../misc/stream_int.h: In function ‘T write_float(T, float)’:
../misc/stream_int.h:26:29: error: there are no arguments to ‘memcpy’ that depen d on a template parameter, so a declaration of ‘memcpy’ must be available [-fper missive]
../misc/stream_int.h:26:29: note: (if you use ‘-fpermissive’, G++ will accept yo ur 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:17: 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:29: error: ‘memcpy’ was not declared in this scope
../misc/xif_value.cpp:54:45: 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:47: 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:45: 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:34: 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:37: error: ‘memcpy’ was not declared in this scope
In file included from ../misc/xif_value.cpp:5:0:
../misc/stream_int.h: In instantiation of ‘T write_float(T, float) [with T = uns igned char*]’:
../misc/xif_value.cpp:125:39: required from here
../misc/stream_int.h:26:2: error: ‘memcpy’ was not declared in this scope
In file included from ../misc/sql/database.h:8:0,
from ../misc/sql/database.cpp:2:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
In file included from ../misc/sql/database.h:8:0,
from ../misc/sql/sql_query.cpp:5:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
../misc/sql/sql_query.cpp: In member function ‘void Csql_query::p(const string&) ’:
../misc/sql/sql_query.cpp:68:16: 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:16: error: ‘strcat’ was not declared in this scope
In file included from ../misc/sql/sql_result.cpp:2:0:
../misc/sql/sql_result.h: In member function ‘long long int Csql_field::i(long l ong int) const’:
../misc/sql/sql_result.h:70:29: error: ‘atoll’ was not declared in this scope
root@srv1 [~/xbt/Tracker]#
I am getting the above error :( anyone help me install this XBT tracker.. Trying for 4 days now :(