Comments (6)
same here:
DKMS make.log for tty0tty-r54.b843c37 for kernel 6.6.7-4-MANJARO (x86_64)
lun 18 dic 2023, 15:34:24, CET
make -C /lib/modules/6.6.7-4-MANJARO/build M=/var/lib/dkms/tty0tty/r54.b843c37/build modules
make[1]: ingresso nella directory «/usr/lib/modules/6.6.7-4-MANJARO/build»
CC [M] /var/lib/dkms/tty0tty/r54.b843c37/build/tty0tty.o
/var/lib/dkms/tty0tty/r54.b843c37/build/tty0tty.c:855:18: error: initialization of ‘ssize_t (*)(struct tty_struct *, const u8 *, size_t)’ {aka ‘long int (*)(struct tty_struct *, const unsigned char *, long unsigned int)’} from incompatible pointer type ‘int (*)(struct tty_struct *, const unsigned char *, int)’ [-Werror=incompatible-pointer-types]
855 | .write = tty0tty_write,
| ^~~~~~~~~~~~~
/var/lib/dkms/tty0tty/r54.b843c37/build/tty0tty.c:855:18: note: (near initialization for ‘serial_ops.write’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/tty0tty/r54.b843c37/build/tty0tty.o] Error 1
make[2]: *** [/usr/lib/modules/6.6.7-4-MANJARO/build/Makefile:1913: /var/lib/dkms/tty0tty/r54.b843c37/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: uscita dalla directory «/usr/lib/modules/6.6.7-4-MANJARO/build»
make: *** [Makefile:30: all] Error 2
from tty0tty.
The fix is #49
from tty0tty.
The fix described in #49 is already applied to my source.
This error occours in static struct tty_operations serial_ops
declaration
from tty0tty.
Forgive me for the multiple references; I forgot to git add
twice and mangled the commits. Anyway, #52—assuming you’ve already applied #49—should solve this problem on kernel 6.6.1 and up.
from tty0tty.
Yes, I can confirm that it works. Thank you very much
from tty0tty.
Error on kernel 6.6.8
make[1]: ingresso nella directory «/usr/src/linux-6.6.8»
CC [M] /tmp/MG/tty0tty-git_0124_6.6.8/module/tty0tty.o
/tmp/MG/tty0tty-git_0124_6.6.8/module/tty0tty.c:606:18: error: initialization of ‘ssize_t (*)(struct tty_struct *, const u8 *, size_t)’ {aka ‘long int (*)(struct tty_struct *, const unsigned char *, long unsigned int)’} from incompatible pointer type ‘int (*)(struct tty_struct *, const unsigned char *, int)’ [-Werror=incompatible-pointer-types]
606 | .write = tty0tty_write,
| ^~~~~~~~~~~~~
/tmp/MG/tty0tty-git_0124_6.6.8/module/tty0tty.c:606:18: note: (near initialization for ‘serial_ops.write’)
/tmp/MG/tty0tty-git_0124_6.6.8/module/tty0tty.c:608:24: error: initialization of ‘void (*)(struct tty_struct *, const struct ktermios *)’ from incompatible pointer type ‘void (*)(struct tty_struct *, struct ktermios *)’ [-Werror=incompatible-pointer-types]
608 | .set_termios = tty0tty_set_termios,
| ^~~~~~~~~~~~~~~~~~~
/tmp/MG/tty0tty-git_0124_6.6.8/module/tty0tty.c:608:24: note: (near initialization for ‘serial_ops.set_termios’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /tmp/MG/tty0tty-git_0124_6.6.8/module/tty0tty.o] Errore 1
make[2]: *** [/usr/src/linux-6.6.8/Makefile:1913: /tmp/MG/tty0tty-git_0124_6.6.8/module] Errore 2
make[1]: *** [Makefile:234: __sub-make] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-6.6.8»
make: *** [Makefile:26: default] Errore 2
from tty0tty.
Related Issues (20)
- Device or resource busy
- won't compile HOT 5
- modprobe: ERROR: could not insert 'tty0tty': Device or resource busy HOT 3
- write error: Invalid argument HOT 5
- tty_port_destroy was added in 3.8.1. HOT 1
- [Solved] tty0tty error on Linux Mint 19.3 HOT 4
- Installation steps on fedora 27 HOT 1
- modprobe: ERROR: could not insert 'tty0tty': Device or resource busy HOT 9
- Not working on Linux kernel 5.12.4-arch1-2 HOT 2
- make Error
- Does not compile against kernel 5.14
- Ubuntu /module/make error HOT 8
- WSL2 support HOT 1
- Unnecessary step in the installation process HOT 1
- Resource temporarily unavailable HOT 1
- Back/forward compatibility issues HOT 1
- tty0tty failed after update to Linux 6.1 HOT 4
- error: initialization of ‘void (*)(struct tty_struct *, const struct ktermios *)’ HOT 1
- [patch] fix for Linux kernels >= 6.6. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tty0tty.