Hi

Actually I have no problem to build the last version of LinuxSampler (2.4.1) for the existing version of my distribution
using GCC 12.3

But I failed to build LinuxSampler for the next coming version of my distribution using GCC15.2 :
my system was not supposed to be UNIX98 compatible
But indeed it is

I simply have had to add this patch to add one line in configure.ac and it's OK now :

--- /configure.ac    2025-11-07 14:35:24.000000000 +0100
+++ /configure.ac    2025-11-09 19:12:47.608538979 +0100
@@ -131,6 +131,7 @@
 #define _GNU_SOURCE 1
 #endif
 #include <features.h>
+#include <stdlib.h>
 void main(void) {
 #if _XOPEN_SOURCE >= 500
 exit(0); /* UNIX98 compatible */


Maybe it is useful to add this line  #include <stdlib.h>
inside your source to be compliant with the next GCC15

Best Regards



_______________________________________________
Linuxsampler-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to