OSS modules won't build Kernel 3.10

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

OSS modules won't build Kernel 3.10

Postby Matti » Tue Jul 02, 2013 8:04 pm

Linus and company released Kernel 3.10 and unfortunately OSSv4 isn't compatible with it just like before it had problems with 3.8 version. This kernel is already available in Saucy development version of Ubuntu 13.10 which most likely will ship with 3.11 in October.

I've installed it from Ubuntu Mainline Kernel PPA on Ubuntu 13.04 and I have the newest Open Sound System with patch applied for Kernel 3.8 compatibility. When I booted the system there was no sound so I tried the soundon command:
Code: Select all
~$ sudo soundon
Relinking OSS kernel modules for ""
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/3.10.0-031000-generic/build M=/usr/lib/oss/build modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-3.10.0-031000-generic'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘init_proc_fs’:
/usr/lib/oss/build/osscore.c:287:8: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
/usr/lib/oss/build/osscore.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default]
/usr/lib/oss/build/osscore.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default]
/usr/lib/oss/build/osscore.c:300:20: error: dereferencing pointer to incomplete type
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default]
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1638:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/lib/oss/build/osscore.c: In function ‘oss_fp_check’:
/usr/lib/oss/build/osscore.c:1862:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1864:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1864:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1864:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1866:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1871:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1871:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1871:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1873:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/usr/lib/oss/build/osscore.o] Błąd 1
make[1]: *** [_module_/usr/lib/oss/build] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-3.10.0-031000-generic'
make: *** [default] Błąd 2

Relinking the OSS kernel modules failed


I've found a patch for 3.10 compatibility but it isn't made by Open Sound developers and it definitely needs some work. In fact I had to make some corrections of formatting (probably because it wasn't preserved by forum) to be able to apply it to /usr/lib/oss/build/ but it worked.

I know have a working sound with 3.10 kernel. I'm wondering what the developers think of that patch is it any good (code quality wise). Also can anyone update Mercurial repository with patches for 3.8 and 3.10 kernels compatibility.
Attachments
oss_3.10.txt
(1.74 KiB) Downloaded 4197 times
Matti
Member
 
Posts: 39
Joined: Sun May 29, 2011 12:34 pm

Re: OSS modules won't build Kernel 3.10

Postby alexdw » Sat Jul 06, 2013 1:41 pm

Thanks for posting this - the patch seems to work for me (using Arch Linux with the 3.10-1_x86_64 kernel in the testing repo). :)
alexdw
New Member
 
Posts: 7
Joined: Sat Jul 06, 2013 12:29 pm

Re: OSS modules won't build Kernel 3.10

Postby xenphor » Sat Aug 24, 2013 4:17 pm

I seem to be having problems in fedora 19 (3.10.9-200.fc19.x86_64). Is this how I should apply the patch?


$ pwd
/usr/lib/oss/build/
$ sudo patch --dry-run < oss.patch

The /usr/lib/oss/build/ only gets created after you run make install first right? So it fails for me on the first time with this:

Code: Select all
$ sudo make install
for n in lib cmd kernel os_cmd kernel/OS/Linux noregparm;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
lib
make[1]: Entering directory `/home/dustin/Downloads/oss/lib'
for n in libOSSlib libossmix;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
libOSSlib
make[2]: Entering directory `/home/dustin/Downloads/oss/lib/libOSSlib'
sh ./compile.sh /lib "cc" "-O -fPIC" "make"
make[3]: Entering directory `/home/dustin/Downloads/oss/lib/libOSSlib'
make[3]: `libOSSlib.so' is up to date.
make[3]: Leaving directory `/home/dustin/Downloads/oss/lib/libOSSlib'
make[2]: Leaving directory `/home/dustin/Downloads/oss/lib/libOSSlib'
libossmix
make[2]: Entering directory `/home/dustin/Downloads/oss/lib/libossmix'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/lib/libossmix'
make[1]: Leaving directory `/home/dustin/Downloads/oss/lib'
cmd
make[1]: Entering directory `/home/dustin/Downloads/oss/cmd'
for n in ossdevlinks ossinfo ossmix ossmixd osspartysh ossphone ossplay osstest ossxmix savemixer vmixctl;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
ossdevlinks
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossdevlinks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossdevlinks'
ossinfo
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossinfo'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossinfo'
ossmix
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossmix'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossmix'
ossmixd
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossmixd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossmixd'
osspartysh
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/osspartysh'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/osspartysh'
ossphone
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossphone'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossphone'
ossplay
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossplay'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossplay'
osstest
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/osstest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/osstest'
ossxmix
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/ossxmix'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/ossxmix'
savemixer
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/savemixer'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/savemixer'
vmixctl
make[2]: Entering directory `/home/dustin/Downloads/oss/cmd/vmixctl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/cmd/vmixctl'
make[1]: Leaving directory `/home/dustin/Downloads/oss/cmd'
kernel
make[1]: Entering directory `/home/dustin/Downloads/oss/kernel'
for n in drv framework;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
drv
make[2]: Entering directory `/home/dustin/Downloads/oss/kernel/drv'
for n in oss_ali5455 oss_atiaudio oss_audigyls oss_audioloop oss_audiopci oss_cmi878x oss_cmpci oss_cs4281 oss_cs461x oss_digi96 oss_emu10k1x oss_envy24 oss_envy24ht oss_fmedia oss_geode oss_hdaudio oss_ich oss_imux oss_madi oss_midiloop oss_midimix oss_sblive oss_sbpci oss_sbxfi oss_solo oss_trident oss_usb oss_userdev oss_via823x oss_via97 oss_ymf7xx;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
oss_ali5455
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_ali5455'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_ali5455'
oss_atiaudio
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_atiaudio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_atiaudio'
oss_audigyls
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_audigyls'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_audigyls'
oss_audioloop
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_audioloop'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_audioloop'
oss_audiopci
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_audiopci'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_audiopci'
oss_cmi878x
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_cmi878x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_cmi878x'
oss_cmpci
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_cmpci'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_cmpci'
oss_cs4281
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_cs4281'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_cs4281'
oss_cs461x
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_cs461x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_cs461x'
oss_digi96
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_digi96'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_digi96'
oss_emu10k1x
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_emu10k1x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_emu10k1x'
oss_envy24
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_envy24'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_envy24'
oss_envy24ht
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_envy24ht'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_envy24ht'
oss_fmedia
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_fmedia'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_fmedia'
oss_geode
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_geode'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_geode'
oss_hdaudio
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_hdaudio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_hdaudio'
oss_ich
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_ich'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_ich'
oss_imux
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_imux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_imux'
oss_madi
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_madi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_madi'
oss_midiloop
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_midiloop'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_midiloop'
oss_midimix
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_midimix'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_midimix'
oss_sblive
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_sblive'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_sblive'
oss_sbpci
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_sbpci'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_sbpci'
oss_sbxfi
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_sbxfi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_sbxfi'
oss_solo
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_solo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_solo'
oss_trident
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_trident'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_trident'
oss_usb
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_usb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_usb'
oss_userdev
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_userdev'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_userdev'
oss_via823x
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_via823x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_via823x'
oss_via97
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_via97'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_via97'
oss_ymf7xx
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/drv/oss_ymf7xx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv/oss_ymf7xx'
make[2]: Leaving directory `/home/dustin/Downloads/oss/kernel/drv'
framework
make[2]: Entering directory `/home/dustin/Downloads/oss/kernel/framework'
for n in ac97 audio midi mixer osscore remux sndstat uart401 vmix_core;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
ac97
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/ac97'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/ac97'
audio
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/audio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/audio'
midi
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/midi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/midi'
mixer
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/mixer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/mixer'
osscore
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/osscore'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/osscore'
remux
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/remux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/remux'
sndstat
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/sndstat'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/sndstat'
uart401
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/uart401'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/uart401'
vmix_core
make[3]: Entering directory `/home/dustin/Downloads/oss/kernel/framework/vmix_core'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework/vmix_core'
make[2]: Leaving directory `/home/dustin/Downloads/oss/kernel/framework'
make[1]: Leaving directory `/home/dustin/Downloads/oss/kernel'
os_cmd
make[1]: Entering directory `/home/dustin/Downloads/oss/os_cmd'
for n in Linux;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
Linux
make[2]: Entering directory `/home/dustin/Downloads/oss/os_cmd/Linux'
for n in ossdetect ossvermagic;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
ossdetect
make[3]: Entering directory `/home/dustin/Downloads/oss/os_cmd/Linux/ossdetect'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/os_cmd/Linux/ossdetect'
ossvermagic
make[3]: Entering directory `/home/dustin/Downloads/oss/os_cmd/Linux/ossvermagic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dustin/Downloads/oss/os_cmd/Linux/ossvermagic'
make[2]: Leaving directory `/home/dustin/Downloads/oss/os_cmd/Linux'
make[1]: Leaving directory `/home/dustin/Downloads/oss/os_cmd'
kernel/OS/Linux
make[1]: Entering directory `/home/dustin/Downloads/oss/kernel/OS/Linux'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dustin/Downloads/oss/kernel/OS/Linux'
noregparm
make[1]: Entering directory `/home/dustin/Downloads/oss/noregparm'
for n in kernel kernel/OS/Linux;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
kernel
make[2]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel'
for n in drv framework;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
drv
make[3]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv'
for n in oss_ali5455 oss_atiaudio oss_audigyls oss_audioloop oss_audiopci oss_cmi878x oss_cmpci oss_cs4281 oss_cs461x oss_digi96 oss_emu10k1x oss_envy24 oss_envy24ht oss_fmedia oss_geode oss_hdaudio oss_ich oss_imux oss_madi oss_midiloop oss_midimix oss_sblive oss_sbpci oss_sbxfi oss_solo oss_trident oss_usb oss_userdev oss_via823x oss_via97 oss_ymf7xx;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
oss_ali5455
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_ali5455'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_ali5455'
oss_atiaudio
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_atiaudio'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_atiaudio'
oss_audigyls
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_audigyls'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_audigyls'
oss_audioloop
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_audioloop'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_audioloop'
oss_audiopci
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_audiopci'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_audiopci'
oss_cmi878x
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cmi878x'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cmi878x'
oss_cmpci
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cmpci'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cmpci'
oss_cs4281
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cs4281'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cs4281'
oss_cs461x
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cs461x'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_cs461x'
oss_digi96
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_digi96'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_digi96'
oss_emu10k1x
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_emu10k1x'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_emu10k1x'
oss_envy24
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_envy24'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_envy24'
oss_envy24ht
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_envy24ht'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_envy24ht'
oss_fmedia
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_fmedia'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_fmedia'
oss_geode
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_geode'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_geode'
oss_hdaudio
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_hdaudio'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_hdaudio'
oss_ich
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_ich'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_ich'
oss_imux
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_imux'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_imux'
oss_madi
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_madi'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_madi'
oss_midiloop
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_midiloop'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_midiloop'
oss_midimix
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_midimix'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_midimix'
oss_sblive
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_sblive'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_sblive'
oss_sbpci
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_sbpci'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_sbpci'
oss_sbxfi
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_sbxfi'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_sbxfi'
oss_solo
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_solo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_solo'
oss_trident
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_trident'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_trident'
oss_usb
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_usb'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_usb'
oss_userdev
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_userdev'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_userdev'
oss_via823x
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_via823x'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_via823x'
oss_via97
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_via97'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_via97'
oss_ymf7xx
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_ymf7xx'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv/oss_ymf7xx'
make[3]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/drv'
framework
make[3]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework'
for n in ac97 audio midi mixer osscore remux sndstat uart401 vmix_core;do (echo $n && cd $n && make ARCH=x86_64) || eval 'exit 1'; done
ac97
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/ac97'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/ac97'
audio
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/audio'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/audio'
midi
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/midi'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/midi'
mixer
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/mixer'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/mixer'
osscore
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/osscore'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/osscore'
remux
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/remux'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/remux'
sndstat
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/sndstat'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/sndstat'
uart401
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/uart401'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/uart401'
vmix_core
make[4]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/vmix_core'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework/vmix_core'
make[3]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/framework'
make[2]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel'
kernel/OS/Linux
make[2]: Entering directory `/home/dustin/Downloads/oss/noregparm/kernel/OS/Linux'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dustin/Downloads/oss/noregparm/kernel/OS/Linux'
make[1]: Leaving directory `/home/dustin/Downloads/oss/noregparm'
sh build.sh
Check devices for oss_ali5455
Check devices for oss_atiaudio
Check devices for oss_audigyls
Check devices for oss_audioloop
Check devices for oss_audiopci
Check devices for oss_cmi878x
Check devices for oss_cmpci
Check devices for oss_cs4281
Check devices for oss_cs461x
Check devices for oss_digi96
Check devices for oss_emu10k1x
Check devices for oss_envy24ht
Check devices for oss_envy24
Check devices for oss_fmedia
Check devices for oss_geode
Check devices for oss_hdaudio
Check devices for oss_ich
Check devices for oss_imux
Check devices for oss_madi
Check devices for oss_midiloop
Check devices for oss_midimix
Check devices for oss_sblive
Check devices for oss_sbpci
Check devices for oss_sbxfi
Check devices for oss_solo
Check devices for oss_trident
Check devices for oss_usb
Check devices for oss_userdev
Check devices for oss_via823x
Check devices for oss_via97
Check devices for oss_ymf7xx
Warning: No libsalsa library compiled
done ossinfo
done ossmix
done osspartysh
done ossphone
done ossplay
done ossrecord
done osstest
done ossxmix
done ossdevlinks
done savemixer
done vmixctl
done ossdetect
#rm -f "/usr/lib/oss"/modules/*.o
(cd prototype; find -L . -type d | xargs -i{} mkdir -p /{})
(cd prototype; find -L . -type f | xargs -i{} cp {} /{})
cd "/usr/lib/oss"/build && sh install.sh

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make[1]: Entering directory `/usr/lib/oss/build'
make -C /lib/modules/3.10.9-200.fc19.x86_64/build M=/usr/lib/oss/build modules
make[2]: Entering directory `/usr/src/kernels/3.10.9-200.fc19.x86_64'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘init_proc_fs’:
/usr/lib/oss/build/osscore.c:287:8: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
        create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
        ^
/usr/lib/oss/build/osscore.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_root =
                      ^
/usr/lib/oss/build/osscore.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_devfiles =
                          ^
/usr/lib/oss/build/osscore.c:300:20: error: dereferencing pointer to incomplete type
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
                    ^
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default]
   fop->fsync = oss_no_fsync;
              ^
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1638:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
   return dev_name(&dip->pcidev->dev);
   ^
In file included from include/linux/kernel.h:12:0,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:4,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /usr/lib/oss/build/osscore.c:15:
/usr/lib/oss/build/osscore.c: In function ‘oss_fp_check’:
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: note: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1862:3: note: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: note: in expansion of macro ‘raw_irqs_disabled_flags’
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib/oss/build/osscore.c:1864:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1864:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1864:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: note: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1866:3: note: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: note: in expansion of macro ‘raw_irqs_disabled_flags’
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib/oss/build/osscore.c:1871:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1871:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1871:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: note: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1873:3: note: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
cc1: some warnings being treated as errors
make[3]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[2]: *** [_module_/usr/lib/oss/build] Error 2
make[2]: Leaving directory `/usr/src/kernels/3.10.9-200.fc19.x86_64'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/lib/oss/build'


After I patch osscore.o in /usr/lib/oss/build I either run 'make install' again or 'soundon' and get the same error.
xenphor
New Member
 
Posts: 5
Joined: Sat Aug 24, 2013 12:02 am

Re: OSS modules won't build Kernel 3.10

Postby alexdw » Sat Aug 24, 2013 8:15 pm

xenphor wrote:I seem to be having problems in fedora 19 (3.10.9-200.fc19.x86_64).

For 3.10.7 or above, you'll probably need this patch as well: viewtopic.php?f=3&t=5275
alexdw
New Member
 
Posts: 7
Joined: Sat Jul 06, 2013 12:29 pm

Re: OSS modules won't build Kernel 3.10

Postby xenphor » Sat Aug 24, 2013 11:53 pm

I tried patching the first one again and then the second one right after it but 'make install' still fails on the same errors.
Are you supposed to patch the file before 'make install'? It's in multiple directories in the build directory.
xenphor
New Member
 
Posts: 5
Joined: Sat Aug 24, 2013 12:02 am

Re: OSS modules won't build Kernel 3.10

Postby alexdw » Sun Aug 25, 2013 8:56 am

xenphor wrote:I tried patching the first one again and then the second one right after it but 'make install' still fails on the same errors.
Are you supposed to patch the file before 'make install'? It's in multiple directories in the build directory.

Yes, you need to patch the files after you extract the TAR file but before "make install".
alexdw
New Member
 
Posts: 7
Joined: Sat Jul 06, 2013 12:29 pm

Re: OSS modules won't build Kernel 3.10

Postby squeeze » Sun Aug 25, 2013 11:02 am

Hi

You could also use my github repo. It's pre-patched with mostly kernel compatibility patches up to kernel 3.11

Sincerely,

squeeze
squeeze
New Member
 
Posts: 6
Joined: Sat May 18, 2013 7:39 pm

Re: OSS modules won't build Kernel 3.10

Postby xenphor » Sun Aug 25, 2013 3:35 pm

okay that repo worked, thank you.

What exactly would be the process of upgrading it?
xenphor
New Member
 
Posts: 5
Joined: Sat Aug 24, 2013 12:02 am

Re: OSS modules won't build Kernel 3.10

Postby squeeze » Sun Aug 25, 2013 7:32 pm

xenphor wrote:What exactly would be the process of upgrading it?


I'm not sure if your Question is how to patch the source.
In any case here is an example.

Code: Select all
mkdir bildOss
cd bildOss
wget http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2008-src-gpl.tar.bz2
tar -xjvf oss-v4.2-build2008-src-gpl.tar.bz2
cd oss-v4.2-build2008-src-gpl
wget -O kernel-3.8.patch http://www.opensound.com/forum/download/file.php?id=113&sid=8dbb1f2aba90e0ae1a021ee94ecc145c
wget -O kernel-3.10.patch http://www.opensound.com/forum/download/file.php?id=126&sid=8dbb1f2aba90e0ae1a021ee94ecc145c
patch -p0 < kernel-3.8.patch
patch -p0 < kernel-3.10.patch


The Ten Minute Guide to diff and patch
squeeze
New Member
 
Posts: 6
Joined: Sat May 18, 2013 7:39 pm

Re: OSS modules won't build Kernel 3.10

Postby xenphor » Sun Aug 25, 2013 7:52 pm

Sorry, I guess if someone has a repo then I might be better off using that but it would still be useful to be able to patch the source on my own. I'm just wondering, to upgrade, if you just run a 'make install' again and overwrite existing files or do you remove everything first?

Also is that libflashsupport.so necessary for something? Because I was able to get sound through flash by removing the flash.so that was already on my system. I compiled the new library and installed it but didn't notice any difference.
xenphor
New Member
 
Posts: 5
Joined: Sat Aug 24, 2013 12:02 am

Re: OSS modules won't build Kernel 3.10

Postby squeeze » Wed Aug 28, 2013 4:44 pm

xenphor wrote:Sorry, I guess if someone has a repo then I might be better off using that but it would still be useful to be able to patch the source on my own. I'm just wondering, to upgrade, if you just run a 'make install' again and overwrite existing files or do you remove everything first.


I would suggest to first stop the soundsystem by sudo soundoff and second uninstall the old build by invoking sudo make uninstall in the old build directory before you install the new build.
squeeze
New Member
 
Posts: 6
Joined: Sat May 18, 2013 7:39 pm

Re: OSS modules won't build Kernel 3.10

Postby keantoken » Sun Sep 15, 2013 7:37 am

I followed Squeeze's directions and it gets past osscore.c, but stops at the first driver compile:

Code: Select all
# sh /usr/lib/oss/build/install.sh
Unrecognized kernel release '3.10-11.dmz.1-liquorix-amd64'

OSS build environment set up for REGPARM kernels

Building module osscore
Building module lynxone
Compiling module lynxone failed
make -C /lib/modules/3.10-11.dmz.1-liquorix-amd64/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.10-11.dmz.1-liquorix-amd64'
  CC [M]  /usr/lib/oss/build/lynxone.o
In file included from /usr/lib/oss/build/module.inc:45:0,
                 from /usr/lib/oss/build/lynxone.c:21:
/usr/lib/oss/build/pci_wrapper.inc:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'osspci_probe'
/usr/lib/oss/build/pci_wrapper.inc:69:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'osspci_remove'
In file included from /usr/lib/oss/build/lynxone.c:21:0:
/usr/lib/oss/build/module.inc:51:12: error: 'osspci_probe' undeclared here (not in a function)
/usr/lib/oss/build/module.inc:52:13: error: 'osspci_remove' undeclared here (not in a function)
In file included from /usr/lib/oss/build/lynxone.c:21:0:
/usr/lib/oss/build/module.inc:33:12: warning: 'instance' defined but not used [-Wunused-variable]
In file included from /usr/lib/oss/build/module.inc:45:0,
                 from /usr/lib/oss/build/lynxone.c:21:
/usr/lib/oss/build/pci_wrapper.inc:17:18: warning: 'dev_map' defined but not used [-Wunused-variable]
/usr/lib/oss/build/pci_wrapper.inc:18:12: warning: 'n_devmap' defined but not used [-Wunused-variable]
make[2]: *** [/usr/lib/oss/build/lynxone.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.10-11.dmz.1-liquorix-amd64'
make: *** [default] Error 2


I'm running a freshly installed Debian Sid.
keantoken
Member
 
Posts: 35
Joined: Fri Jul 08, 2011 2:54 am

Re: OSS modules won't build Kernel 3.10

Postby keantoken » Sun Sep 15, 2013 7:49 am

I just got it working by following Cesium's instructions here, after following Squeeze's instructions:

viewtopic.php?f=3&t=5191&sid=99142b1bd4ccc872f8e03f324f84fdc1#p19472
keantoken
Member
 
Posts: 35
Joined: Fri Jul 08, 2011 2:54 am

Re: OSS modules won't build Kernel 3.10

Postby pezmarino » Fri Sep 27, 2013 1:28 pm

squeeze wrote:Hi

You could also use my github repo. It's pre-patched with mostly kernel compatibility patches up to kernel 3.11

Sincerely,

squeeze


I downloaded the file, compiled and installed. It is working in debian 3.10 kernel.
Thanks.
pezmarino
New Member
 
Posts: 7
Joined: Fri Sep 27, 2013 1:23 pm

Re: OSS modules won't build Kernel 3.10

Postby pezmarino » Sun Sep 29, 2013 8:44 am

This is the package which I made for kernel 3.10 amd64, debian. Use it on your own risk. :? . (And if you want to) :D
The source it is from Squeeze: https://github.com/etch-squeeze/oss-v4.2-build2008/archive/ender.zip
oss-linux-4.2-2008_amd64.deb:
https://mega.co.nz/#!Ixw0lboJ!Hjqyf3S8b2CL2iIBpqYEfAUHV-RBX_cO1lsgnuwkFJg
pezmarino
New Member
 
Posts: 7
Joined: Fri Sep 27, 2013 1:23 pm

Next

Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron