Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sigmoid function update #6

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Sigmoid function update #6

wants to merge 10 commits into from

Conversation

AboyBboy
Copy link

Updated sigmoid function to match rawaccel motivity function.

@HerXayah
Copy link

HerXayah commented Jan 16, 2024

Cant seem to be able to build this with an LTO kernel.
works with normal vesrion of this kernel.

DKMS make.log for leetmouse-driver-0.9.0 for kernel 6.7.0-4-cachyos-eevdf-lto (x86_64)
Tue Jan 16 05:39:03 PM CET 2024

::�[32m Compiling leetmouse kernel module�[0m
========================================
#cp -n /var/lib/dkms/leetmouse-driver/0.9.0/build/driver/config.sample.h /var/lib/dkms/leetmouse-driver/0.9.0/build/driver/config.h
make -C /lib/modules/6.7.0-4-cachyos-eevdf-lto/build M=/var/lib/dkms/leetmouse-driver/0.9.0/build/driver modules
make[1]: Entering directory '/usr/lib/modules/6.7.0-4-cachyos-eevdf-lto/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: clang version 16.0.6 (https://gitlab.archlinux.org/archlinux/packaging/packages/clang.git ff762c61c53dca880df8ed701c1bf9c73117e675)
  You are using:           clang version 16.0.6
  CC [M]  /var/lib/dkms/leetmouse-driver/0.9.0/build/driver/usbmouse.o
clang-16: error: unknown argument: '-mpreferred-stack-boundary=4'
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/leetmouse-driver/0.9.0/build/driver/usbmouse.o] Error 1
make[2]: *** [/usr/lib/modules/6.7.0-4-cachyos-eevdf-lto/build/Makefile:1914: /var/lib/dkms/leetmouse-driver/0.9.0/build/driver] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.7.0-4-cachyos-eevdf-lto/build'
make: *** [Makefile:26: driver] Error 2

@AboyBboy
Copy link
Author

Is that specific to this branch or is that an issue in main as well?

@HerXayah
Copy link

Is that specific to this branch or is that an issue in main as well?

Yeah.
TBF im just here because this is the latest updated repo.

@AboyBboy
Copy link
Author

@PrincessAkira Sorry about this, I can't figure out another way to contact you and you're the only other person who's been working on this. Has leetmouse recently stopped working for you or is that just me?

@HerXayah
Copy link

dito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants