You are not logged in.

#1 2009-06-23 23:21:34

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

[solved] oss not working with new kernel 2.6.30

..[~]> sudo /etc/rc.d/oss start
:: Starting Open Sound System                                                                               [BUSY] Relinking OSS kernel modules for "2.6.30-ARCH SMP preempt mod_unload "
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.30-ARCH/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function 'osscore_exit':
/usr/lib/oss/build/osscore.c:329: warning: unused variable 'i'
/usr/lib/oss/build/osscore.c: In function 'oss_spin_unlock_irqrestore':
/usr/lib/oss/build/osscore.c:378: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c: In function 'oss_pci_read_devpath':
/usr/lib/oss/build/osscore.c:1608: error: 'struct device' has no member named 'bus_id'
/usr/lib/oss/build/osscore.c: In function 'oss_fp_check':
/usr/lib/oss/build/osscore.c:1829: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1831: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1833: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1838: warning: comparison of distinct pointer types lacks a cast
/usr/lib/oss/build/osscore.c:1840: warning: comparison of distinct pointer types lacks a cast
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make: *** [default] Error 2

Relinking the OSS kernel modules failed
                                                                                                            [FAIL]

Any ideas?

edit:
is this because I still have an older version of gcc? Do I just need to wait for my mirror to sync?

Last edited by sand_man (2009-06-23 23:49:40)


neutral

Offline

#2 2009-06-23 23:49:26

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved] oss not working with new kernel 2.6.30

Hmm I'm not sure exactly what was going on here but it seems I had an incompatibale version of oss installed.
I redownloaded from AUR and it works.

..[~]> yaourt -S oss
warning: downgrading package oss (4.1_1052-1 => 4.1_1052b-1)
resolving dependencies...
looking for inter-conflicts...

neutral

Offline

#3 2009-06-24 10:19:19

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] oss not working with new kernel 2.6.30

That is actually a more recent package.
Sometime ago there was some discussion about the version numbering on the oss package.

http://bbs.archlinux.org/viewtopic.php?id=72847


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2009-06-24 10:26:18

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved] oss not working with new kernel 2.6.30

Ah well that explains it! I was wondering about that for quite a while... Thanks R00KIE


neutral

Offline

#5 2009-07-06 22:54:02

Session
Member
Registered: 2008-06-23
Posts: 37

Re: [solved] oss not working with new kernel 2.6.30

Had exact same problem. pacman -S oss fixed it for me. This thread was of great value smile

Offline

Board footer

Powered by FluxBB