Code Monkey home page Code Monkey logo

netlink's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

netlink's Issues

Support erlang 18

There has been a PR sitting in netlink's queue since July, which is preventing exometer from supporting erlang 18. Can you merge this please?

OSX : fatal error: 'asm/types.h' file not found

Did someone ever built netlink on OSX 10.8.5 ?

cc -fpic -shared    -c -o netlink_drv.o netlink_drv.c
clang: warning: argument unused during compilation: '-shared'
netlink_drv.c:22:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
         ^
1 error generated.
make[4]: *** [netlink_drv.o] Error 1

Wrong output name of .so file when using elixir

I added netlink to my mix.exs file and compiled it.
When I try to start iex -S mix it fails with not finding netlink_drv.
If I look into _build/dev/lib/netlink/priv there is a file called netlink.so, renaming it to netlink_drv.so fixes it.
This using Erlang 21.3.8 with Elixir 1.8.1-otp-21, installed with asdf

Compilation fails on Linux Alpine containers

==> netlink (compile)
Compiled src/netlink_app.erl
Compiled src/netlink_sup.erl
Compiled src/netlink_gen.erl
Compiled src/netlink_drv.erl
Compiled src/netlink_codec.erl
Compiled src/netlink.erl
Compiled src/netlink_stat.erl
Compiled src/netl_codec.erl
Compiling c_src/netlink_drv.c
c_src/netlink_drv.c:22:23: fatal error: asm/types.h: No such file or directory
compilation terminated.
ERROR: compile failed while processing /opt/app/deps/netlink: rebar_abort
==> ap_merger
** (Mix) Could not compile dependency :netlink, "/opt/app/.mix/rebar compile skip_deps=true deps_dir="/opt/app/_build/prod/lib"" command failed. You can recompile this dependency with "mix deps.compile netlink", update it with "mix deps.update netlink" or clean it with "mix deps.clean netlink"
The command '/bin/sh -c mix do deps.get, deps.compile' returned a non-zero code: 1

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.