Comments (4)
Can you apply this command line and retry again?
sudo apt-get install build-essential
make clean
make
On Tue, Aug 2, 2011 at 10:46 AM, OliverColeman
[email protected]
wrote:
Was using this in an earlier kernel without issue, but since upgrading the kernel to 2.6.38-11 I get the following when trying to compile:
oliver@hubert:~/bin/acpi_call$ make make -C /lib/modules/2.6.38-11-generic/build M=/home/oliver/bin/acpi_call modules make[1]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic' CC [M] /home/oliver/bin/acpi_call/acpi_call.o In file included from /usr/src/linux-headers-2.6.38-11-generic/arch/x86/include/asm/percpu.h:44:0, from /usr/src/linux-headers-2.6.38-11-generic/arch/x86/include/asm/current.h:5, from /usr/src/linux-headers-2.6.38-11-generic/arch/x86/include/asm/processor.h:15, from ./include/linux/prefetch.h:14, from ./include/linux/list.h:7, from ./include/linux/module.h:9, from /home/oliver/bin/acpi_call/acpi_call.c:3: ./include/linux/kernel.h:12:20: fatal error: stdarg.h: No such file or directory compilation terminated. make[2]: *** [/home/oliver/bin/acpi_call/acpi_call.o] Error 1 make[1]: *** [_module_/home/oliver/bin/acpi_call] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic' make: *** [default] Error 2
Reply to this email directly or view it on GitHub:
#10
from acpi_call.
Wow, speedy response. :)
build-essential was already installed (and I already tried "make clean; make")...
If it makes any difference I'm running Kubuntu 11.04.
from acpi_call.
I recently updated to Ubuntu 11.04, and I am getting the same error - stdarg.h
is missing. I think it has something to do with Ubuntu changing the default paths in /lib
and /usr/lib
for 32 and 64 bit systems.
This is what I get for locate stdarg.h
:
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/include/stdarg.h
Maybe the kernel module Makefile misses this path... However, I tried the DKMS method used in bumblebee and is works, so please try running the bumblebee DKMS script.
from acpi_call.
I ended up just using the entire bumblebee package installed from the ppa for ubuntu, works like a charm. :)
from acpi_call.
Related Issues (20)
- `README.md` links to non-existing website `http://marcodallas.github.io/acpi_call_GUI/` (error 404 "Not Found".)
- Patch for kernel 4.12.4 HOT 2
- Overwriting return values when read?
- Errors in 4.17.2-1 kernel, version 1.1.0-137
- GPU will not turn back on
- debian with kernel 4.19
- Ubuntu 18.04 how build? HOT 1
- Mainlining effort
- Please merge pull requests fixing compilation issues
- How to build on Debian 10 - Warning: modules_install: missing 'System.map' file. Skipping depmod
- Build errors in Ubuntu 19.10 HOT 2
- Can't install on alpine linux
- SSL error on make install
- Fix for `line 39: warning: command substitution: ignored null byte in input` in `turn_off_gpu.sh` on Manjaro 18.1.5 HOT 1
- New fork maintained by the NixOS community HOT 21
- Please Add \_SB.PCI0.RP01.PXSX Some Acer laptop Use this
- Cannot write value to EC
- kernel NULL pointer dereference on Linux kernel 5.13 HOT 3
- Add support for GA502IU HOT 1
- I am not able to get the thing working on my ryzen 5 4600H + gtx 1650 Asus TUF A15 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 acpi_call.