/bin/sh /tmp/SBo/gdal-2.2.4/libtool --mode=compile --tag=CXX g++ -std=gnu++11 -I/tmp/SBo/gdal-2.2.4/port -I/tmp/SBo/gdal-2.2.4/gcore -I/tmp/SBo/gdal-2.2.4/alg -I/tmp/SBo/gdal-2.2.4/ogr -I/tmp/SBo/gdal-2.2.4/ogr/ogrsf_frmts -I/tmp/SBo/gdal-2.2.4/gnm -I/tmp/SBo/gdal-2.2.4/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -O2 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wsuggest-override -DGNM_ENABLED -I/tmp/SBo/gdal-2.2.4/port -I/usr/lib64 -I/usr/lib64/include -I/usr/lib64 -I/usr/lib64/include -DGDAL_COMPILATION -DINST_DATA=\"/usr/share/gdal\" -DHAVE_CURL -DHAVE_LIBZ -I/usr/include/libxml2 -DHAVE_LIBXML2 -DHAVE_CRYPTOPP -c -o cpl_vsil_crypt.lo cpl_vsil_crypt.cpp libtool: compile: g++ -std=gnu++11 -I/tmp/SBo/gdal-2.2.4/port -I/tmp/SBo/gdal-2.2.4/gcore -I/tmp/SBo/gdal-2.2.4/alg -I/tmp/SBo/gdal-2.2.4/ogr -I/tmp/SBo/gdal-2.2.4/ogr/ogrsf_frmts -I/tmp/SBo/gdal-2.2.4/gnm -I/tmp/SBo/gdal-2.2.4/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -O2 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wsuggest-override -DGNM_ENABLED -I/tmp/SBo/gdal-2.2.4/port -I/usr/lib64 -I/usr/lib64/include -I/usr/lib64 -I/usr/lib64/include -DGDAL_COMPILATION -DINST_DATA=\"/usr/share/gdal\" -DHAVE_CURL -DHAVE_LIBZ -I/usr/include/libxml2 -DHAVE_LIBXML2 -DHAVE_CRYPTOPP -c cpl_vsil_crypt.cpp -fPIC -DPIC -o .libs/cpl_vsil_crypt.o cpl_vsil_crypt.cpp: In member function 'std::string VSICryptFileHeader::CryptKeyCheck(CryptoPP::BlockCipher*)': cpl_vsil_crypt.cpp:450:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, (const byte*)osCheckIV.c_str()); ^ cpl_vsil_crypt.cpp:450:28: error: expected primary-expression before 'const' *poEncCipher, (const byte*)osCheckIV.c_str()); ^ cpl_vsil_crypt.cpp:450:28: error: expected ')' before 'const' cpl_vsil_crypt.cpp:458:32: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] reinterpret_cast( ^ cpl_vsil_crypt.cpp:458:32: error: expected '>' before 'byte' cpl_vsil_crypt.cpp:458:32: error: expected '(' before 'byte' cpl_vsil_crypt.cpp:458:32: error: 'byte' was not declared in this scope cpl_vsil_crypt.cpp:458:32: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:458:37: error: expected primary-expression before '>' token reinterpret_cast( ^ cpl_vsil_crypt.cpp: In member function 'int VSICryptFileHeader::ReadFromFile(VSIVirtualHandle*, const CPLString&)': cpl_vsil_crypt.cpp:595:44: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] poEncCipher->SetKey((const byte*)osKey.c_str(), nKeySize); ^ cpl_vsil_crypt.cpp:595:38: error: expected primary-expression before 'const' poEncCipher->SetKey((const byte*)osKey.c_str(), nKeySize); ^ cpl_vsil_crypt.cpp:595:38: error: expected ')' before 'const' cpl_vsil_crypt.cpp:593:27: warning: unused variable 'nKeySize' [-Wunused-variable] const int nKeySize = ^ cpl_vsil_crypt.cpp: In member function 'int VSICryptFileHandle::Init(const CPLString&, bool)': cpl_vsil_crypt.cpp:848:40: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] poEncCipher->SetKey((const byte*)osKey.c_str(), nKeySize); ^ cpl_vsil_crypt.cpp:848:34: error: expected primary-expression before 'const' poEncCipher->SetKey((const byte*)osKey.c_str(), nKeySize); ^ cpl_vsil_crypt.cpp:848:34: error: expected ')' before 'const' cpl_vsil_crypt.cpp:849:40: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] poDecCipher->SetKey((const byte*)osKey.c_str(), nKeySize); ^ cpl_vsil_crypt.cpp:849:34: error: expected primary-expression before 'const' poDecCipher->SetKey((const byte*)osKey.c_str(), nKeySize); ^ cpl_vsil_crypt.cpp:849:34: error: expected ')' before 'const' cpl_vsil_crypt.cpp:846:23: warning: unused variable 'nKeySize' [-Wunused-variable] const int nKeySize = ^ cpl_vsil_crypt.cpp: In member function 'void VSICryptFileHandle::EncryptBlock(GByte*, vsi_l_offset)': cpl_vsil_crypt.cpp:908:50: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:908:50: error: expected '>' before 'byte' cpl_vsil_crypt.cpp:908:50: error: expected '(' before 'byte' cpl_vsil_crypt.cpp:908:50: error: 'byte' was not declared in this scope cpl_vsil_crypt.cpp:908:50: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:908:56: error: expected primary-expression before '>' token *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:911:50: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:911:50: error: expected '>' before 'byte' cpl_vsil_crypt.cpp:911:50: error: expected '(' before 'byte' cpl_vsil_crypt.cpp:911:50: error: 'byte' was not declared in this scope cpl_vsil_crypt.cpp:911:50: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:911:56: error: expected primary-expression before '>' token *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:914:50: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:914:50: error: expected '>' before 'byte' cpl_vsil_crypt.cpp:914:50: error: expected '(' before 'byte' cpl_vsil_crypt.cpp:914:50: error: 'byte' was not declared in this scope cpl_vsil_crypt.cpp:914:50: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:914:56: error: expected primary-expression before '>' token *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:917:50: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:917:50: error: expected '>' before 'byte' cpl_vsil_crypt.cpp:917:50: error: expected '(' before 'byte' cpl_vsil_crypt.cpp:917:50: error: 'byte' was not declared in this scope cpl_vsil_crypt.cpp:917:50: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:917:56: error: expected primary-expression before '>' token *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:920:50: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp:920:50: error: expected '>' before 'byte' cpl_vsil_crypt.cpp:920:50: error: expected '(' before 'byte' cpl_vsil_crypt.cpp:920:50: error: 'byte' was not declared in this scope cpl_vsil_crypt.cpp:920:50: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:920:56: error: expected primary-expression before '>' token *poEncCipher, reinterpret_cast(osIV.c_str()) ); ^ cpl_vsil_crypt.cpp: In member function 'bool VSICryptFileHandle::DecryptBlock(GByte*, vsi_l_offset)': cpl_vsil_crypt.cpp:952:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poDecCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:952:32: error: expected primary-expression before 'const' *poDecCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:952:32: error: expected ')' before 'const' cpl_vsil_crypt.cpp:955:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:955:32: error: expected primary-expression before 'const' *poEncCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:955:32: error: expected ')' before 'const' cpl_vsil_crypt.cpp:958:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:958:32: error: expected primary-expression before 'const' *poEncCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:958:32: error: expected ')' before 'const' cpl_vsil_crypt.cpp:961:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poEncCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:961:32: error: expected primary-expression before 'const' *poEncCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:961:32: error: expected ')' before 'const' cpl_vsil_crypt.cpp:964:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] *poDecCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:964:32: error: expected primary-expression before 'const' *poDecCipher, (const byte*)osIV.c_str() ); ^ cpl_vsil_crypt.cpp:964:32: error: expected ')' before 'const' cpl_vsil_crypt.cpp:967:27: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] poDec->Put((const byte*)pabyData, poHeader->nSectorSize); ^ cpl_vsil_crypt.cpp:967:21: error: expected primary-expression before 'const' poDec->Put((const byte*)pabyData, poHeader->nSectorSize); ^ cpl_vsil_crypt.cpp:967:21: error: expected ')' before 'const' cpl_vsil_crypt.cpp: In member function 'virtual size_t VSICryptFileHandle::Write(const void*, size_t, size_t)': cpl_vsil_crypt.cpp:1245:26: error: 'byte' was not declared in this scope (byte*)(pabyWB + poHeader->nPayloadFileSize - ^ cpl_vsil_crypt.cpp:1245:26: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:1245:31: error: expected primary-expression before ')' token (byte*)(pabyWB + poHeader->nPayloadFileSize - ^ cpl_vsil_crypt.cpp: In member function 'virtual int VSICryptFileHandle::Flush()': cpl_vsil_crypt.cpp:1364:22: error: 'byte' was not declared in this scope (byte*)(pabyWB + ^ cpl_vsil_crypt.cpp:1364:22: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:1364:27: error: expected primary-expression before ')' token (byte*)(pabyWB + ^ cpl_vsil_crypt.cpp: In member function 'virtual VSIVirtualHandle* VSICryptFilesystemHandler::Open(const char*, const char*, bool)': cpl_vsil_crypt.cpp:1657:18: error: 'byte' was not declared in this scope (byte*)osIV.c_str(), osIV.size()); ^ cpl_vsil_crypt.cpp:1657:18: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:1657:23: error: expected primary-expression before ')' token (byte*)osIV.c_str(), osIV.size()); ^ cpl_vsil_crypt.cpp:1670:18: error: 'byte' was not declared in this scope (byte*)osKey.c_str(), osKey.size()); ^ cpl_vsil_crypt.cpp:1670:18: note: suggested alternative: In file included from /usr/include/cryptopp/seckey.h:9:0, from /usr/include/cryptopp/rijndael.h:13, from /usr/include/cryptopp/aes.h:13, from cpl_vsil_crypt.cpp:81: /usr/include/cryptopp/config.h:240:23: note: 'CryptoPP::byte' typedef unsigned char byte; ^ cpl_vsil_crypt.cpp:1670:23: error: expected primary-expression before ')' token (byte*)osKey.c_str(), osKey.size()); ^ make[1]: *** [cpl_vsil_crypt.lo] Errore 1 ../GDALmake.opt:652: set di istruzioni per l'obiettivo "cpl_vsil_crypt.lo" non riuscito make[1]: uscita dalla directory "/tmp/SBo/gdal-2.2.4/port" make: *** [port-target] Errore 2 GNUmakefile:70: set di istruzioni per l'obiettivo "port-target" non riuscito Failures: gdal: gdal.SlackBuild return non-zero bash-4.3#