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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/858175

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/858175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to