-static-libstdc++ -lstdc++ -lm -lpthread -static-libgcc -lssl -lcrypto -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT -ldl In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:27, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:27, from libs/powzix/stdafx.h:24, from libs/powzix/kraken.cpp:20: libs/powzix/kraken.cpp:22:22: error: ‘unsigned int __rold’ redeclared as different kind of entity 22 | static unsigned int _rotl( unsigned int value, int shift ) | ^~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/ia32intrin.h:138:1: note: previous declaration ‘unsigned int __rold(unsigned int, int)’ 138 | __rold (unsigned int __X, int __C) | ^~~~~~ libs/powzix/kraken.cpp:22:30: error: expected primary-expression before ‘unsigned’ 22 | static unsigned int _rotl( unsigned int value, int shift ) | ^~~~~~~~ libs/powzix/kraken.cpp:22:30: error: expected ‘)’ before ‘unsigned’ libs/powzix/kraken.cpp:22:22: note: to match this ‘(’ 22 | static unsigned int _rotl( unsigned int value, int shift ) | ^~~~~ libs/powzix/kraken.cpp:157:3: error: ‘KrakenHeader’ does not name a type; did you mean ‘KrakenDecoder’? 157 | KrakenHeader hdr; | ^~~~~~~~~~~~ | KrakenDecoder libs/powzix/kraken.cpp:474:32: error: ‘KrakenHeader’ was not declared in this scope; did you mean ‘KrakenDecoder’? 474 | const byte *Kraken_ParseHeader(KrakenHeader *hdr, const byte *p) { | ^~~~~~~~~~~~ | KrakenDecoder libs/powzix/kraken.cpp:474:46: error: ‘hdr’ was not declared in this scope 474 | const byte *Kraken_ParseHeader(KrakenHeader *hdr, const byte *p) { | ^~~ libs/powzix/kraken.cpp:474:51: error: expected primary-expression before ‘const’ 474 | const byte *Kraken_ParseHeader(KrakenHeader *hdr, const byte *p) { | ^~~~~ libs/powzix/kraken.cpp:474:64: error: expression list treated as compound expression in initializer [-fpermissive] 474 | const byte *Kraken_ParseHeader(KrakenHeader *hdr, const byte *p) { | ^ libs/powzix/kraken.cpp: In function ‘bool Kraken_DecodeStep(KrakenDecoder*, byte*, int, size_t, const byte*, size_t)’: libs/powzix/kraken.cpp:4038:36: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4038 | src = Kraken_ParseHeader(&dec->hdr, src); | ^~~ libs/powzix/kraken.cpp:4038:29: error: ‘Kraken_ParseHeader’ cannot be used as a function 4038 | src = Kraken_ParseHeader(&dec->hdr, src); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ libs/powzix/kraken.cpp:4043:34: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4043 | bool is_kraken_decoder = (dec->hdr.decoder_type == 6 || dec->hdr.decoder_type == 10 || dec->hdr.decoder_type == 12); | ^~~ libs/powzix/kraken.cpp:4043:64: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4043 | bool is_kraken_decoder = (dec->hdr.decoder_type == 6 || dec->hdr.decoder_type == 10 || dec->hdr.decoder_type == 12); | ^~~ libs/powzix/kraken.cpp:4043:95: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4043 | bool is_kraken_decoder = (dec->hdr.decoder_type == 6 || dec->hdr.decoder_type == 10 || dec->hdr.decoder_type == 12); | ^~~ libs/powzix/kraken.cpp:4047:12: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4047 | if (dec->hdr.uncompressed) { | ^~~ libs/powzix/kraken.cpp:4059:54: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4059 | src = Kraken_ParseQuantumHeader(&qhdr, src, dec->hdr.use_checksums); | ^~~ libs/powzix/kraken.cpp:4061:52: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4061 | src = LZNA_ParseQuantumHeader(&qhdr, src, dec->hdr.use_checksums, dst_bytes_left); | ^~~ libs/powzix/kraken.cpp:4089:12: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4089 | if (dec->hdr.use_checksums && | ^~~ libs/powzix/kraken.cpp:4100:12: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4100 | if (dec->hdr.decoder_type == 6) { | ^~~ libs/powzix/kraken.cpp:4104:19: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4104 | } else if (dec->hdr.decoder_type == 5) { | ^~~ libs/powzix/kraken.cpp:4105:14: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4105 | if (dec->hdr.restart_decoder) { | ^~~ libs/powzix/kraken.cpp:4106:12: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4106 | dec->hdr.restart_decoder = false; | ^~~ libs/powzix/kraken.cpp:4112:19: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4112 | } else if (dec->hdr.decoder_type == 11) { | ^~~ libs/powzix/kraken.cpp:4113:14: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4113 | if (dec->hdr.restart_decoder) { | ^~~ libs/powzix/kraken.cpp:4114:12: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4114 | dec->hdr.restart_decoder = false; | ^~~ libs/powzix/kraken.cpp:4119:19: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4119 | } else if (dec->hdr.decoder_type == 10) { | ^~~ libs/powzix/kraken.cpp:4123:19: error: ‘struct KrakenDecoder’ has no member named ‘hdr’ 4123 | } else if (dec->hdr.decoder_type == 12) { | ^~~ make: *** [Makefile:52: all] Error 1