Donate Share

Extended BitTorrent Client and Tracker

Tracker: Support Requests

5 ./make.sh giving error - ID: 2885160
Last Update: Comment added ( olafvdspek )

Hello,

I am trying to compile but i am getting this error.
I installed all needed things from the main page.

all these installed already: apt-get install cmake g++
libboost-date-time-dev libboost-dev libboost-filesystem-dev
libboost-program-options-dev libboost-regex-dev libboost-serialization-dev
libmysqlclient15-dev make subversion zlib1g-dev

Maybe something else is messing ?
Can't figure out what's messing, please let me know what's wrong with it.
thanks

Log:
/Tracker# ./make.sh
In file included from ../misc/stream_writer.h:4,
from ../misc/alerts.h:5,
from ../misc/alerts.cpp:2:
../misc/stream_int.h: In function âfloat read_float(const void*)â:
../misc/stream_int.h:8: error: âmemcpyâ was not declared in this scope
../misc/stream_int.h: In function âT write_float(T, float)â:
../misc/stream_int.h:21: 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:21: error: (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:5,
from ../misc/alerts.cpp:2:
../misc/stream_writer.h: In member function âvoid
Cstream_writer::write_data(const_memory_range)â:
../misc/stream_writer.h:28: error: âmemcpyâ was not declared in this
scope
In file included from ../misc/stream_writer.h:4,
from ../misc/bt_tracker_account.h:4,
from ../misc/bt_tracker_account.cpp:2:
../misc/stream_int.h: In function âfloat read_float(const void*)â:
../misc/stream_int.h:8: error: âmemcpyâ was not declared in this scope
../misc/stream_int.h: In function âT write_float(T, float)â:
../misc/stream_int.h:21: 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:21: error: (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:4,
from ../misc/bt_tracker_account.cpp:2:
../misc/stream_writer.h: In member function âvoid
Cstream_writer::write_data(const_memory_range)â:
../misc/stream_writer.h:28: error: âmemcpyâ was not declared in this
scope
In file included from ../misc/stream_reader.h:3,
from ../misc/stream_reader.cpp:2:
../misc/stream_int.h: In function âfloat read_float(const void*)â:
../misc/stream_int.h:8: error: âmemcpyâ was not declared in this scope
../misc/stream_int.h: In function âT write_float(T, float)â:
../misc/stream_int.h:21: 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:21: error: (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:4,
from ../misc/stream_writer.cpp:2:
../misc/stream_int.h: In function âfloat read_float(const void*)â:
../misc/stream_int.h:8: error: âmemcpyâ was not declared in this scope
../misc/stream_int.h: In function âT write_float(T, float)â:
../misc/stream_int.h:21: 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:21: error: (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_data(const_memory_range)â:
../misc/stream_writer.h:28: error: âmemcpyâ was not declared in this
scope
In file included from ../misc/xif_key.h:6,
from ../misc/xif_key.cpp:2:
../misc/xif_value.h: In constructor âCxif_value::Cxif_value(const
std::string&)â:
../misc/xif_value.h:36: error: âmemcpyâ was not declared in this scope
In file included from ../misc/xif_key.cpp:5:
../misc/stream_int.h: In function âfloat read_float(const void*)â:
../misc/stream_int.h:8: error: âmemcpyâ was not declared in this scope
../misc/stream_int.h: In function âT write_float(T, float)â:
../misc/stream_int.h:21: 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:21: error: (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:4,
from ../misc/xif_key_r.cpp:2:
../misc/xif_value.h: In constructor âCxif_value::Cxif_value(const
std::string&)â:
../misc/xif_value.h:36: error: âmemcpyâ was not declared in this scope
In file included from ../misc/xif_key_r.cpp:5:
../misc/stream_int.h: In function âfloat read_float(const void*)â:
../misc/stream_int.h:8: error: âmemcpyâ was not declared in this scope
../misc/stream_int.h: In function âT write_float(T, float)â:
../misc/stream_int.h:21: 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:21: error: (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
../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:21: error: âmemcpyâ was not declared in this scope
debian:~/Tracker#


Zekmaster HuS ( zekmaster ) - 2009-10-24 00:53

5

Open

None

Olaf van der Spek

Tracker

None

Public


Comments ( 3 )

Date: 2009-10-28 08:57
Sender: olafvdspekProject AdminAccepting Donations

You should use the latest revision. If it doesn't work, please open a new
support request.


Date: 2009-10-27 22:55
Sender: freemandigger

Same error.

I`m using source from T027 tag. In latest revision i too have error but it
is other type. Should I create new theme or post it here?


Date: 2009-10-24 08:38
Sender: olafvdspekProject AdminAccepting Donations

Is this the latest clean revision?


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.