Coder Social home page Coder Social logo

dns-echo-user's People

Contributors

pspacek avatar raybellis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

clayne pspacek

dns-echo-user's Issues

compilation error on Ubuntu 20.04 and Arch Linux 2021-09-23

Version: 80b9999

Error:

gcc -DHAVE_CONFIG_H -I.     -g -O2 -std=c99 -fdiagnostics-show-option -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -Wundef -Wformat=2 -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Waggregate-return -Winit-self -Wpacked -Wc++-compat -Wno-long-long -Wno-overlength-strings -Wdeclaration-after-statement -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-qual -Wwrite-strings -fno-common -MT process.o -MD -MP -MF .deps/process.Tpo -c -o process.o process.c
process.c:35:13: error: conflicting types for ‘getcpu’; have ‘void(cpu_set_t *, int)’
   35 | static void getcpu(cpu_set_t* cpus, int n)
      |             ^~~~~~
In file included from /usr/include/sched.h:43,
                 from /usr/include/pthread.h:22,
                 from process.c:17:
/usr/include/bits/sched.h:92:12: note: previous declaration of ‘getcpu’ with type ‘int(unsigned int *, unsigned int *)’
   92 | extern int getcpu (unsigned int *, unsigned int *) __THROW;
      |            ^~~~~~

Files generated by compilation on Arch Linux 2021-09-23, /usr/include/bits/sched.h from glibc 2.32:

config.log

config.h

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.