Coder Social home page Coder Social logo

Comments (7)

nikias avatar nikias commented on May 27, 2024 1

That's not a correct fix. Problem here is that configure didn't detect pselect availability. Can you run configure again and see if it detects pselect? If so config.h will have a #define HAVE_PSELECT 1 otherwise please could you post config.log somewhere (like pastebin)? Thanks.

from libusbmuxd.

cshlxm avatar cshlxm commented on May 27, 2024

I have same error ,and pselect has not been detected ,and there was no #define HAVE_PSELECT 1 in config.h

from libusbmuxd.

sanitariu avatar sanitariu commented on May 27, 2024

Here is the logfile:
https://pastebin.com/hyD48nQt

I think here is why it uses system pselect:
#ifdef HAVE_INOTIFY
#include <sys/inotify.h>
#include <sys/select.h>

And in select.h we have it already:
extern int pselect (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
const struct timespec *__restrict __timeout,
const __sigset_t *__restrict __sigmask);

from libusbmuxd.

Hiepars avatar Hiepars commented on May 27, 2024

i have same issue.
add : #define HAVE_PSELECT 1
to config.h
then it works

from libusbmuxd.

sanitariu avatar sanitariu commented on May 27, 2024

ok which is the right solution :) ?

from libusbmuxd.

nikias avatar nikias commented on May 27, 2024

The right solution is to figure out why it doesn't detect pselect as being available

from libusbmuxd.

nikias avatar nikias commented on May 27, 2024

Uh my bad, looks like I forgot to commit the change in configure.ac - fixed with commit 60109fd.

from libusbmuxd.

Related Issues (20)

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.