Giter VIP home page Giter VIP logo

rtpbreak's People

Contributors

dookie2000ca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rtpbreak's Issues

compiler error on debian 8.2

make[1]: Entering directory '/usr/local/src/rtpbreak/src'
%
%  Compiling rtpbreak v1.3a
%
%  CC...................: cc
%  CFLAGS...............: -Wall -O3  
%  LDFLAGS..............: 
%  LIBS.................: -lpcap -lnet 
%  DEFS.................: 
%
cc -c -DVERSION=\"1.3a\" -Wall -O3    main.c
main.c: In function ‘dissect_udp’:
main.c:207:23: error: invalid application of ‘sizeof’ to incomplete type ‘struct udphdr’
   if (pktlen < sizeof(struct udphdr))
                       ^
main.c:212:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct udphdr’
   len = pktlen - sizeof(struct udphdr);
                         ^
main.c:214:44: error: invalid application of ‘sizeof’ to incomplete type ‘struct udphdr’
   if (len != ntohs(pktudp->uh_ulen)-sizeof(struct udphdr))
                                            ^
main.c: In function ‘sig_stats_handler’:
main.c:1365:7: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
   int s;
       ^
Makefile:15: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/usr/local/src/rtpbreak/src'
Makefile:14: recipe for target 'build' failed
make: *** [build] 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.