Comments (3)
I think you are running into this perhaps
So this patch should work around it or you could use the upstream version.
So I guess you need to ask the person whop built this for fedora to add that patch to it or git clone the newest version.
from bbswitch.
Same error (in English) with Linux 5.8.11:
make: Entering directory '/gnu/store/jghf3pd73jpdf6balqgjllaqccvh4rpz-linux-libre-module-builder-5.8.11/lib/modules/build'
AR /tmp/guix-build-bbswitch-module-0.8.drv-0/source/built-in.a
CC [M] /tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.o
/tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.c: In function 'bbswitch_init':
/tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.c:460:18: error: implicit declaration of function 'proc_create'; did you mean 'vfs_create'? [-Werror=implicit-function-declaration]
acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
^~~~~~~~~~~
vfs_create
/tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.c:460:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
^
/tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.c: In function 'bbswitch_exit':
/tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.c:490:5: error: implicit declaration of function 'remove_proc_entry'; did you mean 'remove_memory'? [-Werror=implicit-function-declaration]
remove_proc_entry("bbswitch", acpi_root_dir);
^~~~~~~~~~~~~~~~~
remove_memory
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:281: /tmp/guix-build-bbswitch-module-0.8.drv-0/source/bbswitch.o] Error 1
make: *** [Makefile:1752: /tmp/guix-build-bbswitch-module-0.8.drv-0/source] Error 2
from bbswitch.
from bbswitch.
Related Issues (20)
- cank't build moduel for kernel 5.7 HOT 1
- HDMI audio controller not being reactivated HOT 1
- Void Linux: bbswitch module(external module) does not survive kernel upgrades.. HOT 1
- Can't shutdown card HOT 2
- 内核5.7.7编译报错
- Error with 5.9.8.2 kernel
- Implicit Function Declarations causing make to fail
- Hibernation does NOT work
- build failure on armhf and ppc64el HOT 1
- AORUS 15G - bbswitch: No suitable _DSM call found.
- New release request to fix build failure in Arch Linux RISC-V
- Module verification failed: signature and/or required key missing - tainting kernel HOT 1
- Random freezee HOT 1
- No suitable _DSM call found. HOT 2
- internal nvidia and external nvidia
- Network Analyzer: Wi-Fi Signal
- [email protected]
- Network Analyzer: Ping '172.0.0.34'
- nvidia GPU not responding after turning off with bbswitch
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 bbswitch.