View Single Post
  #29  
Old 1st September 2015, 09:18
Rockz Rockz is offline
Member
 
Join Date: Jun 2015
Posts: 3
Default
Quote:
Originally Posted by Fynnon View Post
in /etc do you have the file yum.conf ?
Nope, the file is missing!!!

Code:
+ mysql-devel subversionpublic_html/xbt/Tracker]# yum install boost-devel gcc-c+
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.crazyfrogs.org
 * extras: mirrors.ircam.fr
 * updates: centos.mirror.fr.planethoster.net
Package boost-devel-1.41.0-27.el6.x86_64 already installed and latest version
Package gcc-c++-4.4.7-16.el6.x86_64 already installed and latest version
No package mysql-devel available.
Package subversion-1.6.11-15.el6_7.x86_64 already installed and latest version
Nothing to do
Quote:
Originally Posted by Fynnon View Post
are you using Fedora or CentOS?
CentOS
Server Type : Linux
Web Server : Apache v2.2.29 (cgi-fcgi)
PHP : 5.4.37
MySQL Version : 5.5.42-cll

Quote:
Originally Posted by DND View Post
root access?
Tried with root user access! Same issue!

Code:
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 l                                                                                        ong 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 l                                                                                        ong 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 l                                                                                        ong 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

Last edited by Rockz; 1st September 2015 at 10:24.
Reply With Quote