seawright HUGE thanks for the response and patch. This patch did the job! I've made only some syntax corrections.
Search Criteria
Package Details: oss-git 5693e1e-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/oss-git.git (read-only, click to copy) |
---|---|
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: | seawright |
Last Packager: | seawright |
Votes: | 26 |
Popularity: | 0.000000 |
First Submitted: | 2013-09-21 13:15 (UTC) |
Last Updated: | 2024-02-08 22:55 (UTC) |
Dependencies (6)
- linux-headers
- git (git-gitAUR, git-glAUR) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional) – for graphical mixer (ossxmix)
- libflashsupport-ossAUR (optional) – Adobe flash plugin support
- libogg (libogg-gitAUR) (optional) – for Ogg Vorbis support in ossplay
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR) (optional) – for Ogg Vorbis support in ossplay
Required by (12)
- bitwig-studio (requires oss) (optional)
- bitwig-studio-4 (requires oss) (optional)
- bitwig-studio-beta (requires oss) (optional)
- bitwig-studio-earlyaccess (requires oss) (optional)
- bitwig-studio-legacy (requires oss) (optional)
- fbff-git (requires oss) (optional)
- libflashsupport-oss (requires oss)
- libflashsupport-oss-git (requires oss)
- libflashsupport-oss-nonfree (requires oss)
- minmad-git (requires oss) (optional)
- rsound-git (requires oss) (optional)
- siren (requires oss) (optional)
Sources (12)
Latest Comments
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 Next › Last »
Next7 commented on 2018-07-23 06:41 (UTC) (edited on 2018-07-23 06:42 (UTC) by Next7)
seawright commented on 2018-07-22 16:19 (UTC) (edited on 2018-07-22 17:28 (UTC) by seawright)
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 (UTC) (edited on 2018-09-02 19:42 (UTC) by seawright)
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 (UTC)
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 (UTC)
@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 (UTC)
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 (UTC) (edited on 2018-07-07 10:51 (UTC) by Next7)
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.
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 (UTC)
@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 (UTC)
Will not compile under kernel 4.15
See here for patch: http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5862
Pinned Comments
Galaxy commented on 2019-10-24 02:55 (UTC)
The latest support Intel HDA is
0x8c20
, and I am usinga348
. If your sound card is not listed there, it is not supported.