Linked Questions

186 votes
8 answers
328k views

Error :: You must put some 'source' URIs in your sources.list

I'm trying to install PIL a python module on ubuntu I first need to install a package called python-imaging using the following command sudo apt-get build-dep python-imaging When I try and do ...
david's user avatar
  • 1,999
49 votes
4 answers
95k views

How do I build a single in-tree kernel module?

The linux-source-... has a module which is disabled in the config /boot/config-3.4-trunk-686-pae so that it is not part of linux-image-... (This is on Debian, but the solution should be the same for ...
mab's user avatar
  • 603
29 votes
3 answers
69k views

"no symbol version for module_layout" when trying to load usbhid.ko

I am trying to build my own module for usbhid.ko, but after I compiled, I can't load the module. dmesg says no symbol version for module_layout. I am wondering what is the problem? I have already used ...
SpecC's user avatar
  • 401
10 votes
4 answers
38k views

My makefile results in: No rule to make target `arch/x86/tools/relocs.c', needed

I am using Ubuntu 12.04. I wrote a simple hello world kernel module (hello.c). I wrote the folllowing makefile for it: obj-m+=hello.o KDIR:= /usr/src/linux-headers-3.2.0-24-generic-pae all: $(...
AvinashK's user avatar
  • 401
5 votes
1 answer
23k views

How to resolve SSL error during make ... modules_install command?

I'm new posting questions, but read a lot in the askubuntu forum. My knowledge about linux is not professional, but decent. I am an everyday user and run all my computers with xubuntu. Today I have a ...
redtorgue's user avatar
3 votes
2 answers
10k views

How do I compile a kernel module?

A good man on NetworkManager mailinglist provided a patch that hopefully would solve an issue I'm experiencing related to slow mobile broadband detection on Ubuntu 11.04 64-bit. I'd really like to ...
Paolo's user avatar
  • 1,776
0 votes
1 answer
5k views

How to add a custom driver to my kernel?

I want to add a custom driver to my kernel source. But I have no idea how to do this. Any help will be appreciated. Thanks.
python_beginner's user avatar
0 votes
1 answer
6k views

module build failing with error "No rule to make target"

I am trying to build the modules in folder "drivers/md/" using the steps in the answer How (recipe) to build only one kernel module? But I am getting the below error # make -C /lib/modules/$(uname -...
Haris's user avatar
  • 149
2 votes
2 answers
2k views

Empty build directory in custom compiled kernel

I have a script (found here on github) that custom compiles the 3.8 linux kernel (with Xenomai for real-time). The kernel compiles/installs/runs however when I try to install my graphics driver (fglrx ...
yapatel's user avatar
  • 23
1 vote
1 answer
2k views

Broken links inside Linux header file folder

I installed the Linux header file for my kernel using command: sudo apt-get install linux-headers-`uname -r` In the folder /usr/src/linux-headers-2.6.32-21-generic all the files have broken ...
Karthi prime's user avatar
3 votes
1 answer
1k views

Send stereoscopic image via HDMI Frame Packing

Frame packing is a method of sending a left and a right view (for stereoscopic 3D) vertically stacked within one frame via HDMI. If each view has size width x height the resulting "packed" frame has ...
frafl's user avatar
  • 194
1 vote
1 answer
1k views

amdgpu_trace.h: No such file or directory When trying to build amdgpu

The full error message from make: In file included from /home/username/linux-5.0.0/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h:496, from /home/username/linux-5.0.0/drivers/gpu/drm/amd/...
Tooniis's user avatar
  • 1,572
2 votes
0 answers
2k views

Modprobe: 'Invalid nodule format', yet works after insmod

I am having a problem with Ubuntu 12.04 not properly recognising a custom made kernel module. The kernel module is a spoof of raw1394. So that programs that look for the presence of a raw1394 module ...
bjem's user avatar
  • 431
1 vote
1 answer
934 views

Driver installation: compiling source code for newer kernel

I am trying to install a driver for this DAQ card, but when I execute (as in given documentation): insmod /usr/.../advdrv_core.ko i get this error: invalid module format As I found out, this is ...
domagojk's user avatar
  • 111
1 vote
1 answer
873 views

Hauppauge WinTV-soloHD usb stick does not work on 16.04.1

This question has been extensively discussed under the 'Hauppauge winTv SoloHD unclaimed' 1 question on askubuntu. My set up is similar. andrew@xps15:~$ lsb_release -a No LSB modules are available. ...
Andrew's user avatar
  • 31

15 30 50 per page