Giter Club home page Giter Club logo

vdens's People

Contributors

mnalli avatar rd235 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mnalli

vdens's Issues

Undefined macro?

make fail with VDE_ETHBUFSIZE undeclared...where is defined?

make  all-am
make[1]: ingresso nella directory "/home/gabriele/mytmp/vdens/src/vdens"
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT vdens.o -MD -MP -MF .deps/vdens.Tpo -c -o vdens.o vdens.c
vdens.c: In function ‘plug2tap’:
vdens.c:214:12: error: ‘VDE_ETHBUFSIZE’ undeclared (first use in this function); did you mean ‘FD_SETSIZE’?
   char buf[VDE_ETHBUFSIZE];
            ^~~~~~~~~~~~~~
            FD_SETSIZE
vdens.c:214:12: note: each undeclared identifier is reported only once for each function it appears in
vdens.c: In function ‘stream2tap’:
vdens.c:258:20: error: ‘VDE_ETHBUFSIZE’ undeclared (first use in this function); did you mean ‘FD_SETSIZE’?
  unsigned char buf[VDE_ETHBUFSIZE];
                    ^~~~~~~~~~~~~~
                    FD_SETSIZE
vdens.c: In function ‘mountaddr’:
vdens.c:299:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
   asprintf(&line, "nameserver %*.*s\n", len, len, tagbegin);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vdens.c:300:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(fd, line, strlen(line));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vdens.c: In function ‘unsharenet’:
vdens.c:144:4: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
    read(pipe_fd[0], &unshare_rv, sizeof(unshare_rv));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vdens.c:151:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
    write(pipe_fd[1], &unshare_rv, sizeof(unshare_rv));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:413: vdens.o] Error 1
make[1]: uscita dalla directory "/home/gabriele/mytmp/vdens/src/vdens"
make: *** [Makefile:305: all] Error 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.