intel / intel/hyperscan

build CHIMERA with pcre source failed

Open
#131 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

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
^~~~~
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported CMake configuration with BUILD_CHIMERA=true and the supplied compiler and dependency settings. Inspect pcre/pcre_internal.h and pcre/pcre_byte_order.c around the LINK_SIZE error, then verify that a corrected configuration builds CHIMERA successfully with the PCRE source.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.