oss4-dkms 4.2-build2004-1ubuntu1: oss4 kernel module failed to build (fatal error: bits/predefs.h: No such file or directory)

Bug #858175 reported by M Lucius
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
oss4 (Debian)
Fix Released
Unknown
oss4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

install oss4 sound system for X-fi card

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: oss4-dkms 4.2-build2004-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
DKMSKernelVersion: 3.0.0-11-generic
Date: Sat Sep 24 14:18:38 2011
PackageVersion: 4.2-build2004-1ubuntu1
SourcePackage: oss4
Title: oss4-dkms 4.2-build2004-1ubuntu1: oss4 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
M Lucius (marcel-lucius) wrote :
tags: removed: need-duplicate-check
summary: oss4-dkms 4.2-build2004-1ubuntu1: oss4 kernel module failed to build
+ (fatal error: bits/predefs.h: No such file or directory)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in oss4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Jerome Robert (jeromerobert) wrote :

The same bug in Debian: http://bugs.debian.org/640829

wahyu emka (mk-wahyu)
Changed in oss4 (Ubuntu):
status: Confirmed → New
Revision history for this message
Jerome Robert (jeromerobert) wrote :

http://bugs.debian.org/640829 is fixed but http://bugs.debian.org/645537 still make the module fail to build.

Revision history for this message
Vinycius Maia (mrk3004-deactivatedaccount) wrote :

To me the solution of Jerome resolved this proble , but others appeared:

make.log:

DKMS is make.log oss4-4.2-build2005 for kernel 3.0.0-12-generic (x86_64)
Sun Nov 13 12:09:55 EST 2011
cp: can not get status "/ lib/modules/3.0.0-12-generic/source/include/linux/limits.h": No such file or directory

Revision history for this message
Vinycius Maia (mrk3004-deactivatedaccount) wrote :

I found a solution:

sudo mkdir /lib/modules/3.0.0-12-generic/source
sudo ln -s /usr/include /lib/modules/3.0.0-12-generic/source/

then I had some permissions issues:

anjinhuviny@viny-server:~$ ossmix
/dev/mixer: Permission denied
anjinhuviny@viny-server:~$ osstest
Sound subsystem and version: OSS 4.2 (b 2005/201110151348) (0x00040100)
Platform: Linux/x86_64 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011

*** Scanning sound adapter #-1 ***
/dev/oss/oss_cs42810/pcm0 (audio engine 0): CS4281
- Performing audio playback test... /dev/oss/oss_cs42810/pcm0: Permission denied
Can't open the device

*** Some errors were detected during the tests ***

the solution to these problems are simple:

sudo chmod 777 /dev/mixer
sudo chmod 777 -R /dev/oss

Changed in oss4 (Debian):
status: Unknown → Fix Released
Revision history for this message
mYse|f 600 (myself600) wrote :

> the solution to these problems are simple:
>
> sudo chmod 777 /dev/mixer
> sudo chmod 777 -R /dev/oss

You actually need to permit the system to use your audio device. You can do that either by going to 'System Settings -> Users and Groups -> Advanced Settings -> User Privileges' and enable 'Use audio devices', or by executing 'sudo /usr/sbin/adduser `whoami` audio' from the Terminal.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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