Coder Social home page Coder Social logo

netmap-netfilter's People

Contributors

koszik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

netmap-netfilter's Issues

./link Compile error #2

make: Leaving directory /usr/src/linux-headers-3.2.0-4-amd64' make: Entering directory/root/netmap/netmap-netfilter/netmap'
gcc -c session.c -I /root/netmap/netmap/sys/ -ggdb -O3 -pg
In file included from session.c:21:0:
missing.h:508:25: warning: ‘struct sockopt’ declared inside parameter list [enabled by default]
missing.h:511:24: warning: ‘struct sockopt’ declared inside parameter list [enabled by default]
missing.h:514:23: warning: ‘struct thread’ declared inside parameter list [enabled by default]
gcc -c netmap_io.c -I /root/netmap/netmap/sys/ -ggdb -O3 -pg
In file included from netmap_io.c:16:0:
missing.h:508:25: warning: ‘struct sockopt’ declared inside parameter list [enabled by default]
missing.h:511:24: warning: ‘struct sockopt’ declared inside parameter list [enabled by default]
missing.h:514:23: warning: ‘struct thread’ declared inside parameter list [enabled by default]
gcc -c dummy.c -I /root/netmap/netmap/sys/ -ggdb -O3 -pg
gcc -pg session.o dummy.o netmap_io.o -o ses -ggdb
make: Leaving directory /root/netmap/netmap-netfilter/netmap' In file included from sockopt.c:17:0: netmap/missing.h:508:25: warning: ‘struct sockopt’ declared inside parameter list [enabled by default] netmap/missing.h:508:25: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] netmap/missing.h:511:24: warning: ‘struct sockopt’ declared inside parameter list [enabled by default] netmap/missing.h:514:23: warning: ‘struct thread’ declared inside parameter list [enabled by default] sockopt.c: In function ‘sockopt_init’: sockopt.c:132:5: warning: passing argument 3 of ‘new_session’ makes pointer from integer without a cast [enabled by default] In file included from sockopt.c:17:0: netmap/missing.h:797:1: note: expected ‘void *’ but argument is of type ‘int’ missing.o: In functionktime_get_real':
/root/netmap/netmap-netfilter/missing.c:647: undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status
root@debian7:~/netmap/netmap-netfilter#

./link compile error

root@debian7:/netmap/netmap-netfilter# ./link
make: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC /root/netmap/netmap-netfilter/main.o CC /root/netmap/netmap-netfilter/pktest.o /root/netmap/netmap-netfilter/pktest.c: In function ‘consume_pkt’: /root/netmap/netmap-netfilter/pktest.c:42:14: warning: assignment from incompatible pointer type [enabled by default] CC /root/netmap/netmap-netfilter/missing.o /root/netmap/netmap-netfilter/missing.c: In function ‘net_ratelimit’: /root/netmap/netmap-netfilter/missing.c:469:12: warning: type defaults to ‘int’ in declaration of ‘last’ [-Wimplicit-int] /root/netmap/netmap-netfilter/missing.c: In function ‘xassign_irq_vector’: /root/netmap/netmap-netfilter/missing.c:779:1: warning: no return statement in function returning non-void [-Wreturn-type] /root/netmap/netmap-netfilter/missing.c: At top level: /root/netmap/netmap-netfilter/missing.c:778:12: warning: ‘xassign_irq_vector’ defined but not used [-Wunused-function] /root/netmap/netmap-netfilter/missing.c:781:13: warning: ‘xfree_irq_vector’ defined but not used [-Wunused-function] /root/netmap/netmap-netfilter/missing.c:784:13: warning: ‘xresend_irq’ defined but not used [-Wunused-function] CC /root/netmap/netmap-netfilter/datagram.o CC /root/netmap/netmap-netfilter/cpumask.o /root/netmap/netmap-netfilter/cpumask.c:2:7: warning: conflicting types for built-in function ‘calloc’ [enabled by default] /root/netmap/netmap-netfilter/cpumask.c:4:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes] LD /root/netmap/netmap-netfilter/built-in.o Building modules, stage 2. MODPOST 0 modules make: Leaving directory/usr/src/linux-headers-3.2.0-4-amd64'
make: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC /root/netmap/netmap-netfilter/linux/bitmap.o CC /root/netmap/netmap-netfilter/linux/exthdrs_core.o CC /root/netmap/netmap-netfilter/linux/find_last_bit.o CC /root/netmap/netmap-netfilter/linux/find_next_bit.o CC /root/netmap/netmap-netfilter/linux/hexdump.o CC /root/netmap/netmap-netfilter/linux/kasprintf.o CC /root/netmap/netmap-netfilter/linux/kstrtox.o CC /root/netmap/netmap-netfilter/linux/rcutiny.o In file included from /root/netmap/netmap-netfilter/linux/rcutiny.c:54:0: /root/netmap/netmap-netfilter/linux/rcutiny_plugin.h:29:31: fatal error: linux/wait-simple.h: No such file or directory compilation terminated. make[3]: *** [/root/netmap/netmap-netfilter/linux/rcutiny.o] Error 1 make[2]: *** [_module_/root/netmap/netmap-netfilter/linux] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 make: Leaving directory/usr/src/linux-headers-3.2.0-4-amd64'
root@debian7:
/netmap/netmap-netfilter#

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.