Coder Social home page Coder Social logo

centos7 support? about ndpid HOT 9 CLOSED

jiamo avatar jiamo commented on May 26, 2024
centos7 support?

from ndpid.

Comments (9)

jiamo avatar jiamo commented on May 26, 2024 1

Sorry I am using the latest libndpi. After cmake -DBUILD_NDPI=on .. It works!

I'm using CentOS 7. The reason being is that it allows me to build software that can run on other Linux distributions. This is because it easily satisfies the requirements for gcc and glibc versions."

from ndpid.

utoni avatar utoni commented on May 26, 2024

Are those the only compilation errors you've encountered on CentOs7?

from ndpid.

jiamo avatar jiamo commented on May 26, 2024

The two types of errors mentioned above are the main similar errors that I have identified

from ndpid.

utoni avatar utoni commented on May 26, 2024

Ok, I'll add CentOS to the CI, see what errors occur and try to fix them. Thanks for reporting!

from ndpid.

utoni avatar utoni commented on May 26, 2024

Adding CentOs7 to Github Actions is not as easy as I initially thought. Maybe because it is kinda old and support gets dropped anyway next year.

Meanwhile, I've might have found a solution to your issue;
Can you please try to compile nDPId from the branch tmp and give me feedback if it works for you. Thanks!

from ndpid.

utoni avatar utoni commented on May 26, 2024

@jiamo kindly pinging..

from ndpid.

jiamo avatar jiamo commented on May 26, 2024

I got such error at link step

CMakeFiles/nDPId.dir/nDPId.c.o: In function `ndpi_debug_printf':
/home/jiamo/nDPId/nDPId.c:1215: undefined reference to `ndpi_get_user_data'
CMakeFiles/nDPId.dir/nDPId.c.o: In function `init_workflow':
/home/jiamo/nDPId/nDPId.c:1330: undefined reference to `ndpi_set_user_data'
collect2: error: ld returned 1 exit status
make[2]: *** [nDPId] Error 1
make[1]: *** [CMakeFiles/nDPId.dir/all] Error 2

from ndpid.

utoni avatar utoni commented on May 26, 2024

Thanks for testing! I'll finish my work on branch tmp and will then merge it to main and close this issue. :)

from ndpid.

utoni avatar utoni commented on May 26, 2024

Fixed since d0c070a.

from ndpid.

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.