Page 1 of 9

oss4 not compilable on gentoo

Posted: Tue Aug 04, 2015 4:13 pm
by ossuserr
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?

Re: oss4 not compilable on gentoo

Posted: Tue Aug 04, 2015 5:14 pm
by igorzwx
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

Re: oss4 not compilable on gentoo

Posted: Tue Aug 04, 2015 6:30 pm
by ossuserr
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

Re: oss4 not compilable on gentoo

Posted: Tue Aug 04, 2015 7:07 pm
by ossuserr
So far it does not work. Installed_drivers file is empty... Soundon command does not work...

Re: oss4 not compilable on gentoo

Posted: Tue Aug 04, 2015 8:49 pm
by igorzwx
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

Re: oss4 not compilable on gentoo

Posted: Tue Aug 04, 2015 11:19 pm
by ossuserr
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

Re: oss4 not compilable on gentoo

Posted: Wed Aug 05, 2015 12:08 am
by ossuserr
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

Re: oss4 not compilable on gentoo

Posted: Wed Aug 05, 2015 12:58 am
by igorzwx
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

Re: oss4 not compilable on gentoo

Posted: Wed Aug 05, 2015 3:42 am
by nuc
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.

Re: oss4 not compilable on gentoo

Posted: Thu Aug 20, 2015 4:52 am
by ossuserr
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.

Re: oss4 not compilable on gentoo

Posted: Thu Aug 20, 2015 4:52 am
by ossuserr
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.

Re: oss4 not compilable on gentoo

Posted: Thu Aug 20, 2015 4:56 am
by ossuserr
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)

Re: oss4 not compilable on gentoo

Posted: Thu Aug 20, 2015 1:06 pm
by igorzwx
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

Re: oss4 not compilable on gentoo

Posted: Thu Aug 20, 2015 1:53 pm
by ossuserr
This file is missing /usr/lib/oss/etc/installed_drivers
ossdetect -id does not create it. soundon does not work without that file.

Re: oss4 not compilable on gentoo

Posted: Thu Aug 20, 2015 2:20 pm
by ossuserr
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.