Foro de elhacker.net

Programación => Programación General => Mensaje iniciado por: suracaos en 17 Febrero 2017, 18:07 pm



Título: Compilar Cryptonote en ubuntu
Publicado por: suracaos en 17 Febrero 2017, 18:07 pm
Primero que todo siendo mi primer tema me presento.

ˇHola a todos!

Bueno como dice el tema estoy tratando de compilar cryptonote y version de btc para resumir

https://cryptonotestarter.org (https://cryptonotestarter.org)

Cabe aclarar que soy un noob en todo esto, pero le meto y aprendo sobre la marcha, pero he llegado a un punto donde me comio esto y es que al momento de compilar me salen varios errores y se detiene la compilacion.

Los errores mas o menos serian estos:

Código:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return *reinterpret_cast<ResultType*>(resultStorage);

Código:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Código:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     new(valueArray)Array(*reinterpret_cast<const Array*>(other.valueArray));

Código:
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     new(valueArray)Array(*reinterpret_cast<const Array*>(other.valueArray));

Código:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (value & 0xfff00000) == ((172 << 24) | (16 << 16)) ||

Código:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     (value & 0xffff0000) == ((192 << 24) | (168 << 16));

Código:
warning: ‘blockIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return blockIndex;

Y aqui el log que me dio la terminal con todo el proceso

https://justpaste.it/13l4y (https://justpaste.it/13l4y)

a los que me puedan ayudar muchas gracias de antemano y a los que no gracias igual


Título: Re: Compilar Cryptonote en ubuntu
Publicado por: suracaos en 17 Febrero 2017, 22:46 pm
ya resolvi, pueden cerrar tema