hyperscan icon indicating copy to clipboard operation
hyperscan copied to clipboard

build CHIMERA with pcre source failed

Open hardboydu opened this issue 5 years ago • 4 comments

cmake

        cmake ../$HYPERSCAN \
                -DCMAKE_INSTALL_PREFIX=$PREFIX/$HYPERSCAN \
                -DCMAKE_C_COMPILER=$PREFIX/$GCC7/bin/gcc \
                -DCMAKE_CXX_COMPILER=$PREFIX/$GCC7/bin/g++ \
                -DCMAKE_BUILD_TYPE=Release \
                -DBUILD_STATIC_AND_SHARED=yes \
                -DBOOST_ROOT=$PREFIX/$BOOST \
                -DFAT_RUNTIME=true \
                -DBUILD_CHIMERA=true \
                -Wno-dev

log

In file included from /temp/hyperscan-5.0.0/pcre/pcre_byte_order.c:50:0:
/temp/hyperscan-5.0.0/pcre/pcre_internal.h:467:2: error: #error LINK_SIZE must be either 2, 3, or 4
 #error LINK_SIZE must be either 2, 3, or 4
  ^~~~~

hardboydu avatar Jan 08 '19 07:01 hardboydu