Coder Social home page Coder Social logo

Comments (9)

jimmyd-be avatar jimmyd-be commented on July 23, 2024 2

I changed the code a litte bit to make it compile on those systems. Just change the types of ch34x_write_room and
ch34x_chars_in_buffer to int instead of unsiged int.

from ch341ser.

jimmyd-be avatar jimmyd-be commented on July 23, 2024

Same issue in Ubuntu 20.04 LTS on raspberry pi arm64.

from ch341ser.

hktari avatar hktari commented on July 23, 2024

This does indeed fix compilation. Thanks !

from ch341ser.

sostholm avatar sostholm commented on July 23, 2024

Also getting this on:
20.04.3 LTS (Focal Fossa)
CPU: Intel x64 i3-6100

from ch341ser.

sostholm avatar sostholm commented on July 23, 2024

I was able to fix the issue by downloading the official driver and then only replacing wait_queue_t wait; with wait_queue_entry_t wait; before running the make command.

from ch341ser.

juliagoda avatar juliagoda commented on July 23, 2024

#15

sorry for the late response

from ch341ser.

3urobeat avatar 3urobeat commented on July 23, 2024

Hey, just wanted to let you know that I had to revert the changes of 45074ab to make it work on my Arch system.
Otherwise I get the initialization of ‘unsigned int (*)(struct tty_struct *)’ from incompatible pointer type ‘int (*)(struct tty_struct *)’ error.

Arch Linux, Kernel: 5.14.14-zen1-1-zen

Should I open a new issue? Would make sense I guess in case other Arch users get stuck on this and can fix it themselves without you having to work on it right now.
Edit: I just did it, won't hurt I guess.

from ch341ser.

sirlucjan avatar sirlucjan commented on July 23, 2024

Question for Ubuntu/Mint users. As a change made by the maintainer of this repository makes it impossible to build this on Arch Linux and therefore we would like to determine the culprit. I have two leads and would like to eliminate one of them.

Could you see if this solution works for you?

If it doesn't build up in you after this change, we can probably pinpoint the real cause of the problem.

from ch341ser.

juliagoda avatar juliagoda commented on July 23, 2024

I have tested for both cases - when there is a newer kernel with gcc and an older one, and it looks like the condition from the pull request adjusts correctly. Nevertheless, it would be good if others would confirm this. Users no longer need to clone the repo from @sirlucjan if they don't want to, because the changes were accepted in the pull request

from ch341ser.

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.