oss4 not compilable on gentoo

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

oss4 not compilable on gentoo

Postby ossuserr » Tue Aug 04, 2015 4:13 pm

I tried https://github.com/etch-squeeze/oss-v4. ... /ender.zip , applied the patch from another thread without success.
ossdevlinks'
cc -c -O -Wall -DOSS_LITTLE_ENDIAN -I../../include -I../../kernel/framework/include -I../../kernel/OS/Linux -I../../kernel/nonfree/include -I../.. ossdevlinks.c -o ./ossdevlinks.o
In file included from ossdevlinks.c:43:0:
../../kernel/framework/include/oss_config.h:39:16: fatal error: os.h: No such file or directory
#include <os.h>
^
compilation terminated.
Makefile:38: recipe for target 'ossdevlinks.o' failed
make[2]: *** [ossdevlinks.o] Error 1
make[2]: Leaving directory '/oss-v4.2-build2008-ender/ddd/cmd/ossdevlinks'
../make.defs:11: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory '/oss-v4.2-build2008-ender/ddd/cmd'
make.defs:11: recipe for target 'subdirs' failed
make: *** [subdirs] Error 1

BEFORE applying the patch i had another error like PIC kernel not supported or smth like that.
Tried installing from angelos portage it's 2007 old, required dkms file, found in the net put to ebuild folder, no success.. The base pack was missing. So... No one is using OSS on gentoo nowadays, there is no a single source for installaion. Which makes me wonder if i should move to that crap debian for the sake of oss4?

igorzwx
Known Member
Posts: 1258
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss4 not compilable on gentoo

Postby igorzwx » Tue Aug 04, 2015 5:14 pm

ossuserr wrote:Tried installing from angelos portage it's 2007 old, required dkms file, found in the net put to ebuild folder, no success.. The base pack was missing. So... No one is using OSS on gentoo nowadays, there is no a single source for installaion. Which makes me wonder if i should move to that crap debian for the sake of oss4?


You may try a kind of "funtoo":
_https://github.com/funtoo/funtoo-overlay/tree/master/media-sound/oss
_http://www.funtoo.org/Package:Open_Sound_System_%28OSS%29

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Tue Aug 04, 2015 6:30 pm

Funtoo devs told me to add their portage to gentoo portage but i failed to do so maybe because their instructions were not quite complete or just incompatible with current gentoo. But gentoo devs told me that adding funtoo can break many packages in the future and referred me to some complex manual about activing funtoo only for a single package by using some local portage. But one developer, may Gods bless him, created for OSS lovers some new overlay which allows to install oss4 2011 easily. do the following:
layman -f -o https://raw.github.com/hasufell/media-o ... sitory.xml -a media-overlay
put this line into /etc/portage/package.use
media-sound/oss gtk salsa vmix-float
Now
emerge -av oss

That compiles oss fine. Already checked by two people. Now it should be checked if it's functioning.
To recompile all programs with oss support, add oss use flag to /etc/portage/make.conf and then emerge -av --newuse --deep @world
Last edited by ossuserr on Thu Aug 20, 2015 8:59 pm, edited 1 time in total.

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Tue Aug 04, 2015 7:07 pm

So far it does not work. Installed_drivers file is empty... Soundon command does not work...

igorzwx
Known Member
Posts: 1258
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss4 not compilable on gentoo

Postby igorzwx » Tue Aug 04, 2015 8:49 pm

ossuserr wrote:So far it does not work. Installed_drivers file is empty... Soundon command does not work...


Perhaps, you may want to read a kind of Ubuntu manual
_http://manpages.ubuntu.com/manpages/vivid/man8/ossdetect.8.html

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Tue Aug 04, 2015 11:19 pm

Whatever Igor says about non-existing jews and freemasons and their dark masters, let people decide for themselves. Those dark forces have already created a personal internet for everyone and freely block my emails and posts even those innocent concerning developemnt of oss free driver.. I will just provide a screenshot how they block developemnt of oss by removing and hiding issues on github.

Follow the link http://pixpipeline.com/d/23e27f4a5882.jpg
That link no longer works. New link http://4put.ru/pictures/max/1111/3413116.jpg
Last edited by ossuserr on Thu Aug 20, 2015 4:50 am, edited 1 time in total.

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Wed Aug 05, 2015 12:08 am

What's that octal mode? That kind of manual does not explain which options should i choose after installation? I tried ossdetect -diu without success. Soundon command results in
cat: /version.dat: No such file or directory
No /etc/installed_drivers - cannot continue

igorzwx
Known Member
Posts: 1258
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss4 not compilable on gentoo

Postby igorzwx » Wed Aug 05, 2015 12:58 am

ossuserr wrote:What's that octal mode? That kind of manual does not explain which options should i choose after installation? I tried ossdetect -diu without success. Soundon command results in
cat: /version.dat: No such file or directory
No /etc/installed_drivers - cannot continue


Post here the output of this command:

Code: Select all

$ sudo ossdetect -v

nuc
Moderator
Posts: 109
Joined: Fri Aug 03, 2012 10:20 am
Sound Card: PowerColor DEVIL HDX
OS: ArchLinux
Contact:

Re: oss4 not compilable on gentoo

Postby nuc » Wed Aug 05, 2015 3:42 am

I'm using funtoo here (flavor of gentoo), OSSv4 is working great and is officially supported. You might try it instead of gentoo, the people on funtoo irc are very friendly :)
The GitHub issue is really strange, although maybe the've had some server issues... kinda looks like a corrupted database tho~. Try to open it again.
Check out my effort on revamping the opensound website => github.com/Nuc1eoN/4Front-Tech-Website
Any feedback greatly appreciated =)

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Thu Aug 20, 2015 4:52 am

Can you explain how to add funtu portage to gentu OS to install only oss driver because i don't want any other software from funtu.

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Thu Aug 20, 2015 4:52 am

Can you explain how to add funtu portage to gentu OS to install only oss driver because i don't want any other software from funtu.

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Thu Aug 20, 2015 4:56 am

ossdetect -v
Detected CMedia CM8738/CM8768
Detected Creative Sound Blaster Audigy/Audigy2
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)

igorzwx
Known Member
Posts: 1258
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss4 not compilable on gentoo

Postby igorzwx » Thu Aug 20, 2015 1:06 pm

ossuserr wrote:Soundon command results in

Code: Select all

cat: /version.dat: No such file or directory
No /etc/installed_drivers - cannot continue


igorzwx wrote:Post here the output of this command:

Code: Select all

$ sudo ossdetect -v


ossuserr wrote:

Code: Select all

# ossdetect -v
Detected CMedia CM8738/CM8768
Detected Creative Sound Blaster Audigy/Audigy2
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)


ossdetect performs two operations:

1. it detects souncards;

2. it creates "a file with the list of the configured drivers in $OSSETCDIR/installed_drivers".

See: _http://manpages.ubuntu.com/manpages/vivid/man8/ossdetect.8.html

If your soundcards are detected, and you can see them in the output of "ossdetect -v",
you may want to read the list of "installed_drivers".

Depending on you hardware, you may see something like this:

Code: Select all

$ cat /usr/lib/oss/etc/installed_drivers
oss_hdaudio #Intel High Definition Audio (PPT)
oss_usb #Generic USB audio/MIDI device (BETA)


The content of the file "installed_drivers" should be similar to the output of "ossdetect -v".

If your drivers are in the "installed_drivers" list, you may try to start OSS4:

Code: Select all

$ sudo soundon


See also "man soundon":

Code: Select all

$ man soundon
NAME
       soundon - Start Open Sound System

DESCRIPTION
       The  soundon  command is used to load the OSS core module (osscore) and
       the low level drivers for the sound devices detected in ths system  (by
       ossdetect).   The  list  of  low  level sound device drivers to load is
       located in /usr/lib/oss/etc/installed_drivers which  is  maintained  by
       the ossdetect command.

       There are no command line arguments. Only the super user (root) can use
       this command.

       Open Sound System can be unloaded by executing the soundoff command.


NOTE: OSS4 is actually installed by a certain "install script", that is, /usr/lib/oss/build/install.sh
This magic script does contain the "ossdetect -v" command

Code: Select all

$ cat /usr/lib/oss/build/install.sh | grep ossdetect
   /usr/sbin/ossdetect
   /usr/sbin/ossdetect -v


For example, to install the pre-compiled "tar.bz2" package from 4Front _http://www.opensound.com/download.cgi
you have to unpack it and run the "install script"

Code: Select all

$ sudo sh /usr/lib/oss/build/install.sh
Attachments
oss-install.pdf
The official install manual
(23.84 KiB) Downloaded 994 times

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Thu Aug 20, 2015 1:53 pm

This file is missing /usr/lib/oss/etc/installed_drivers
ossdetect -id does not create it. soundon does not work without that file.

ossuserr
Known Member
Posts: 272
Joined: Thu Jan 08, 2015 12:01 am
Sound Card: audigy 2 zs platinum, esi juli
OS: gentu riced to bo0st
Location: Earth

Re: oss4 not compilable on gentoo

Postby ossuserr » Thu Aug 20, 2015 2:20 pm

tar.bz file from your site lacks install.sh file. Also such file is missing after oss installation from the portage of the mentioned programmer.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests