Tagged Questions
1
vote
1answer
41 views
Problem compiling a driver : “No rule to make target”
First of all I am running a CentOS 6.4 installation.
My computer is a laptop and I am trying to install the drivers for my ethernet card, because this week end I lost my ability to connect to the ...
0
votes
1answer
30 views
Assembly files in obj-m list when building kernel modules
I'm trying to build kexec as a module, but I'm running into a weird problem. My obj-m is:
obj-m += kexec.o machine_kexec.o relocate_kernel.o
When I run the makefile, it complains that there's "no ...
1
vote
1answer
53 views
Only output errors / warnings when compile kernel?
When you compile kernel you normally see lines like
CC XX.o or LD XX
So, can I skip these messages? Only output errors or warnings generated by gcc
1
vote
0answers
242 views
Make and apt-get Have Stopped Working
So I downloaded the non-free broadcom driver(b44) for my debian install, however when I try to make it I get the following error:
make
make -C /lib/modules/2.6.32-5-amd64/build ...
5
votes
2answers
3k views
How to include local header files in linux kernel module
Say I have a module mymod with source files as follows:
src/mod/mymod.c
src/inc/mymod.h
I try to include mymod.h as follows
#include <mymod.h>
My makefile contains EXTRA_CFLAGS= ...
1
vote
2answers
607 views
How to change the install path of my Linux Source tree?
I was trying to bring up my custom kernel. I did the following :
$ make menuconfig && make modules && make modules_install && make install
I would like to change the ...