dahdi-dkms 1:2.5.0.1+dfsg-1ubuntu2: dahdi kernel module failed to build [fatal error: asm/system.h: no such file or directory]

Bug #1014834 reported by Marius B. Kotsbak
220
This bug affects 25 people
Affects Status Importance Assigned to Milestone
dahdi-linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Automatically reported.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: dahdi-dkms 1:2.5.0.1+dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu9
Architecture: amd64
DKMSKernelVersion: 3.2.0-26-generic
Date: Mon Jun 18 22:11:55 2012
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
PackageArchitecture: all
PackageVersion: 1:2.5.0.1+dfsg-1ubuntu2
SourcePackage: dahdi-linux
Title: dahdi-dkms 1:2.5.0.1+dfsg-1ubuntu2: dahdi kernel module failed to build
UpgradeStatus: Upgraded to precise on 2012-04-21 (58 days ago)

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :
tags: removed: need-duplicate-check
summary: dahdi-dkms 1:2.5.0.1+dfsg-1ubuntu2: dahdi kernel module failed to build
+ [fatal error: asm/system.h: Ingen slik fil eller filkatalog]
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Actually this might be caused by my installation of a 3.4 kernel from Quantal and maybe not the header package. Anyway I don't use this dkms so I can just remove it.

summary: dahdi-dkms 1:2.5.0.1+dfsg-1ubuntu2: dahdi kernel module failed to build
- [fatal error: asm/system.h: Ingen slik fil eller filkatalog]
+ [fatal error: asm/system.h: no such file or directory]
Changed in dahdi-linux (Ubuntu):
status: New → Invalid
Changed in dahdi-linux (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
G. Paul Ziemba (p-lpn) wrote :

Here's a possible workaround (read: quick and dirty hack) for those of us who need to make it work RFN (adjust path to match your kernel/arch):

cd /usr/src/linux-headers-3.5.0-17/arch/x86/include/asm
ln -s switch_to.h system.h

It worked for me on 3.5.0-17-generic x86_64 (Ubuntu 12.10)

Some related discussion at http://www.mindwerks.net/2012/06/wireless-bcm4312-with-the-3-4-and-3-5-kernel/ and https://lkml.org/lkml/2012/3/29/360

Your mileage may vary. I have no idea what other things this workaround might break.

Revision history for this message
Uxorious (uxorious) wrote :

As posted in Bug #1074578:

As seen here (http://git.kernel.org/linus/0195c002), upstream aparently removed asm/system.h on purpose, and dahdi will have to be fixed.

Revision history for this message
Ramil Minnigaliev (thunderamur) wrote :

make[1]: Вход в каталог `/usr/src/linux-headers-3.5.0-27-generic'
  CC [M] /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.o
  SHIPPED /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
  LD [M] /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/dahdi.o
  LD [M] /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/dahdi_vpmadt032_loader.o
  CC [M] /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/wcb4xxp/base.o
/var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/wcb4xxp/base.c:38:46: фатальная ошибка: asm/system.h: Нет такого файла или каталога
компиляция прервана.
make[3]: *** [/var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/wcb4xxp/base.o] Ошибка 1
make[2]: *** [/var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi/wcb4xxp] Ошибка 2
make[1]: *** [_module_/var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu2/build/drivers/dahdi] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.5.0-27-generic'
make: *** [modules] Ошибка 2

Revision history for this message
Ramil Minnigaliev (thunderamur) wrote :

G. Paul Ziemba (p-lpn)
>> cd /usr/src/linux-headers-3.5.0-17/arch/x86/include/asm
>> ln -s switch_to.h system.h

Build pass, but Asterisk MeetMe() do not work. Useless for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.