feuerlabs / netlink Goto Github PK
View Code? Open in Web Editor NEWnetlink socket api
License: Mozilla Public License 2.0
netlink socket api
License: Mozilla Public License 2.0
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?
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
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
I create a simple erlang project with netlink, but this running error in docker with open network.
See https://github.com/getong/netlink_docker#error-message
The second container failed with the error msg eaddrinuse
.
==> 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.