Giter VIP home page Giter VIP logo

Comments (6)

mdb256 avatar mdb256 commented on May 30, 2024 3

The issue appears the same as #44 in that the assembler predates the AVX2 instruction set - it does not know how to assemble those instructions. 2009 was a long time ago.

We have been able to build Hyperscan on Centos 6 using the devtoolset collections, which include a newer GCC as well as bintutils that provides a more recent as.

If you are unable to upgrade the binutils package that provides /bin/as, a work around is to disable the fat runtime, which should means it won't attempt to compile AVX2 instructions.

We will look at updating the CMake configuration steps to catch this form of build error at an earlier stage.

from hyperscan.

leeyiw avatar leeyiw commented on May 30, 2024

@mdb256 That's great. After update my as, the build is success. Maybe you could add this issue to some FAQ or add version dependency at Requirements

from hyperscan.

mdb256 avatar mdb256 commented on May 30, 2024

Very good. I'll close this issue now, so if there is anything else, please open a new one.

from hyperscan.

Allen-kevin avatar Allen-kevin commented on May 30, 2024

I had success installed hyperscan, but when i run command,
gcc -o simplegrep simplegrep.c $(pkg-config --cflags --libs libhs)
i got a error with following messages:
simplegrep.c:61:16: fatal error: hs.h: No such file or directory #include <hs.h> compilation terminated.

from hyperscan.

xiangwang1 avatar xiangwang1 commented on May 30, 2024

Hi, what's your output of pkg-config --cflags --libs libhs in command line?
Does it look like -I/usr/local/include/hs -L/usr/local/lib -lhs? If so, all required header files including hs.h should appear at /usr/local/include/hs/.

from hyperscan.

Allen-kevin avatar Allen-kevin commented on May 30, 2024

thank you!

from hyperscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.