Package Details: oss-git 891ddd2-7

Git Clone URL: https://aur.archlinux.org/oss-git.git (read-only)
Package Base: oss-git
Description: Open Sound System UNIX audio architecture
Upstream URL: http://developer.opensound.com/
Keywords: oss
Licenses: GPL2
Conflicts: libflashsupport-oss, libflashsupport-oss-nonfree, oss, oss-nonfree
Provides: oss
Submitter: Nowaker
Maintainer: alexdw
Last Packager: alexdw
Votes: 21
Popularity: 0.478845
First Submitted: 2013-09-21 13:15
Last Updated: 2016-12-27 00:46

Required by (15)

Sources (7)

Latest Comments

1 2 3 4 5 Next › Last »

Galaxy commented on 2018-08-29 09:35

Patch for glibc 2.23+

--- a/os_cmd/Linux/ossdetect/ossdetect.c
+++ b/os_cmd/Linux/ossdetect/ossdetect.c
@@ -12,6 +12,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include <sys/dir.h>

 #define PCI_PASS   0

See also https://github.com/GalaxyAUR/oss-git .


However, even with patch from seawright, the kmod cannot be loaded as: osscore: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0).

Next7 commented on 2018-07-23 06:41

seawright HUGE thanks for the response and patch. This patch did the job! I've made only some syntax corrections.

seawright commented on 2018-07-22 16:19

Oh Dear, code tags didn't work as I expected and removed newline characters. The final 4 linux closing tags shouldn't be there either.

That's a little better. Replaced "code" with "pre". Still trailing tags though and slashes after linux replaced with a space and ="" on #include lines.

seawright commented on 2018-07-22 16:08

I'm not an Arch Linux user so can't verify that this will work with Arch but checked with latest kernel on Ubuntu.

--- a/setup/Linux/oss/build/osscore.c   2018-07-22 16:35:24.559690072 +0100
+++ b/setup/Linux/oss/build/osscore.c   2018-07-22 16:39:42.948338371 +0100
@@ -32,6 +32,7 @@
 #include <linux sched.h="">
 #include <linux interrupt.h="">
 #if LINUX_VERSION_CODE > KERNEL_VERSION(3,10,0)
+#include <linux cred.h="">
 #include <linux uidgid.h="">
 #endif
 #undef strlen
@@ -475,13 +476,17 @@
 unsigned int
 oss_get_uid (void)
 {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)
+  return current->cred->uid.val;
+#else
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
   return __kuid_val(current->cred->uid);
 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
   return current->cred->uid;
 #else
   return current->uid;
 #endif
+#endif
   return 0;
 }
</linux></linux></linux></linux>

Next7 commented on 2018-07-21 20:23

This is exactly the post I meant. The link to the article that explains the solution is not helpful to me as I'm not strong in programming.

alexdw commented on 2018-07-20 06:37

@Next7: Did you manage to find it? Best I could find was this archived post which links to some info on how to fix it: http://archive.is/Z0Ohf

Not sure what's up with oss - the forums have been down for a while now. Might be worth contacting 4Front to get an update: http://www.opensound.com/contact.html

Next7 commented on 2018-07-09 17:15

Does anybody have patch "oss-4.9999-001_oss4_linux_4.11_osscore_fix_git.patch.txt" for error

osscore.c:477:23: error: dereferencing pointer to incomplete type 'const struct cred'

Please post it.

Next7 commented on 2018-07-07 10:46

I've failed to install OSS (kernel 4.17.3-1). oss-git is compiled without errors but after executing command "sudo soundon" I receive error notification that file "stdarg.h" is not found.

https://pastebin.com/R1Rr6c3K

I tried also without success to set CPATH variable before "soundon"

CPATH=${CPATH}:/usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/include

Is it possible to fix this?

alexdw commented on 2018-02-18 20:28

@tedbell: Thanks for the information. Hopefully this is applied to the upstream oss SourceForge git repo soon.

tedbell commented on 2018-02-18 19:50

Will not compile under kernel 4.15

See here for patch: http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5862