Code Monkey home page Code Monkey logo

Comments (7)

rsa9000 avatar rsa9000 commented on June 14, 2024

Just check with Debian Jessie x64 with installed zlib1g-dev-1.2.8 and npk-tools compiled successfully.

You could try to check, which linking options is recommended (via pkg-config) and then correct Makefile:
pkg-config --libs libz

from npk-tools.

parhs avatar parhs commented on June 14, 2024

thank you. I just added -lz at the end and it compiled.
However when tried extracting I was always getting "Error: remain file chunk not enogh for partition"
Which versions does it support?

from npk-tools.

rsa9000 avatar rsa9000 commented on June 14, 2024

It supports old versions. I personally use it with ROSv5. With ROSv6 it works not so good.

from npk-tools.

parhs avatar parhs commented on June 14, 2024

Hm nice. Does these file contain executables etc? Are all these written in C?

from npk-tools.

rsa9000 avatar rsa9000 commented on June 14, 2024

What file do you mean? If you mean MikroTik packages (with *.npk extension), then the answer is yes. They are contain executables/libraries/drivers. RouterOS is just some kind of Linux distributive with a lot of proprietary code.

from npk-tools.

rsa9000 avatar rsa9000 commented on June 14, 2024

And yes this files are mostly binary and written in compilable languages (e.g. C, C++, etc.) So, even when you extract them, you can not easily audit them.

from npk-tools.

rsa9000 avatar rsa9000 commented on June 14, 2024

Compilation issue is solved, and after latest changes in source code the unpacking of newer versions of NPK files is supported too, so I close this issue. Feel free to open new issue if something going not as expected.

from npk-tools.

Related Issues (2)

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.