Всем привет.
В impala необходимо создать UDF для расчета хеш-суммы, нашел проект на github (
https://github.com/ScalefreeCOM/impala-crypto-udf)
При компиляции выдает следующую ошибку:
username@prepatcher-oel7 impala-crypto-udf-master $ make
[ 50%] Building CXX object CMakeFiles/udfcrypto.dir/udf-crypto.cc.o
In file included from /home/username/impala-crypto-udf-master/udf-crypto.cc:27:0:
/home/username/impala-crypto-udf-master/sm3.h:23:24: error: expected unqualified-id before numeric constant
class BOTAN_PUBLIC_API(2,2) SM3 final : public MDx_HashFunction
^
/home/username/impala-crypto-udf-master/sm3.h:23:24: error: expected ‘)’ before numeric constant
/home/username/impala-crypto-udf-master/udf-crypto.cc:2133:1: error: expected ‘}’ at end of input
}
^
make[2]: *** [CMakeFiles/udfcrypto.dir/udf-crypto.cc.o] Error 1
make[1]: *** [CMakeFiles/udfcrypto.dir/all] Error 2
make: *** [all] Error 2
Помогите, пожалуйста.