[Csnd] Compile error on 10.12.2

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] Compile error on 10.12.2

rmgls
hello all, I use to run csound from the command line, ane because macports install v5.16 i compile csound from git (normally all goes fine). my system is as follows: /usr/include/python2.6 /usr/include/python2.7 /opt/local/library/frameworks/python.framework/2.7 /opt/local/library/frameworks/python.framework/3.4 when i compile csound: (cmake ../; make) i get: ld error, symbol not found for ach... my system: 10.12.1 macports outdated for sierra. i tried: cmake include_directories /usr/include/python2.7 without success. below is the result of the make command. Any help would be appreciated. Thanks in advance. Raoul [hidden email] ===================================== ~/csound/Engine/extract.c:74:27: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] while (fscanf(xfp, "%.81s", s) != EOF) { ~^ 1 warning generated. [ 3%] Building C object CMakeFiles/CsoundLib64.dir/Engine/fgens.c.o [ 3%] Building C object CMakeFiles/CsoundLib64.dir/Engine/insert.c.o ~/csound/Engine/insert.c:117:31: warning: format specifies type 'int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] name, csound->icurTime); ^~~~~~~~~~~~~~~~ ~/csound/Engine/insert.c:120:32: warning: format specifies type 'int' but the argument has type 'int64_t' (aka 'long long') [-Wformat] insno, csound->icurTime); ^~~~~~~~~~~~~~~~ 2 warnings generated. [ 3%] Building C object CMakeFiles/CsoundLib64.dir/Engine/linevent.c.o [ 3%] Building C object CMakeFiles/CsoundLib64.dir/Engine/memalloc.c.o ~/csound/Engine/memalloc.c:59:30: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] (uint32) nbytes); ^~~~~~~~~~~~~~~ ~/csound/Engine/memalloc.c:83:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINLOCK ^ ~/csound/Engine/memalloc.c:37:29: note: expanded from macro 'CSOUND_MEM_SPINLOCK' #define CSOUND_MEM_SPINLOCK csoundSpinLock(&csound->memlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:89:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINUNLOCK ^ ~/csound/Engine/memalloc.c:38:31: note: expanded from macro 'CSOUND_MEM_SPINUNLOCK' #define CSOUND_MEM_SPINUNLOCK csoundSpinUnLock(&csound->memlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:121:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINLOCK ^ ~/csound/Engine/memalloc.c:37:29: note: expanded from macro 'CSOUND_MEM_SPINLOCK' #define CSOUND_MEM_SPINLOCK csoundSpinLock(&csound->memlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:127:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINUNLOCK ^ ~/csound/Engine/memalloc.c:38:31: note: expanded from macro 'CSOUND_MEM_SPINUNLOCK' #define CSOUND_MEM_SPINUNLOCK csoundSpinUnLock(&csound->memlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:159:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINLOCK ^ ~/csound/Engine/memalloc.c:37:29: note: expanded from macro 'CSOUND_MEM_SPINLOCK' #define CSOUND_MEM_SPINLOCK csoundSpinLock(&csound->memlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:173:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINUNLOCK ^ ~/csound/Engine/memalloc.c:38:31: note: expanded from macro 'CSOUND_MEM_SPINUNLOCK' #define CSOUND_MEM_SPINUNLOCK csoundSpinUnLock(&csound->memlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:219:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINLOCK ^ ~/csound/Engine/memalloc.c:37:29: note: expanded from macro 'CSOUND_MEM_SPINLOCK' #define CSOUND_MEM_SPINLOCK csoundSpinLock(&csound->memlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Engine/memalloc.c:235:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_MEM_SPINUNLOCK ^ ~/csound/Engine/memalloc.c:38:31: note: expanded from macro 'CSOUND_MEM_SPINUNLOCK' #define CSOUND_MEM_SPINUNLOCK csoundSpinUnLock(&csound->memlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ 9 warnings generated. [ 4%] Building C object CMakeFiles/CsoundLib64.dir/Engine/memfiles.c.o ~/csound/Engine/memfiles.c:549:36: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] fname, (int32) mem_wanted); ^~~~~~~~~~~~~~~~~~ ~/csound/Engine/memfiles.c:673:29: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] (uint32) sfinfo->frames); ^~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. [ 4%] Building C object CMakeFiles/CsoundLib64.dir/Engine/musmon.c.o [ 4%] Building C object CMakeFiles/CsoundLib64.dir/Engine/namedins.c.o [ 4%] Building C object CMakeFiles/CsoundLib64.dir/Engine/rdscor.c.o [ 5%] Building C object CMakeFiles/CsoundLib64.dir/Engine/scsort.c.o [ 5%] Building C object CMakeFiles/CsoundLib64.dir/Engine/scxtract.c.o [ 5%] Building C object CMakeFiles/CsoundLib64.dir/Engine/sort.c.o [ 5%] Building C object CMakeFiles/CsoundLib64.dir/Engine/sread.c.o ~/csound/Engine/sread.c:736:61: warning: field width should have type 'int', but argument has type 'long' [-Wformat] csound->Message(csound, Str("Macro definition for %*s\n"), p - s, s); ~~^ ~~~~~ ~/csound/./include/text.h:129:19: note: expanded from macro 'Str' # define Str(x) (x) ^ ~/csound/Engine/sread.c:1173:29: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] STA(names)[STA(next_name)].posit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~/csound/Engine/sread.c:59:17: note: expanded from macro 'STA' #define STA(x) (csound->sreadStatics.x) ^ ~/csound/Engine/sread.c:1199:58: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] i, buff, STA(names)[i].file, STA(names)[i].posit); ^~~~~~~~~~~~~~~~~~~ ~/csound/Engine/sread.c:59:17: note: expanded from macro 'STA' #define STA(x) (csound->sreadStatics.x) ^ 3 warnings generated. [ 6%] Building C object CMakeFiles/CsoundLib64.dir/Engine/swritestr.c.o [ 6%] Building C object CMakeFiles/CsoundLib64.dir/Engine/twarp.c.o [ 6%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_type_system.c.o [ 6%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_standard_types.c.o [ 7%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_data_structures.c.o [ 7%] Building C object CMakeFiles/CsoundLib64.dir/Engine/pools.c.o [ 7%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libsnd.c.o ~/csound/InOut/libsnd.c:568:54: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] O->inbufsamps * O->sfsampsize, sizeof(MYFLT)*8, sfname); ^~~~~~~~~~~~~~~ ~/csound/InOut/libsnd.c:864:39: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] O->outbufsamps, sizeof(MYFLT)*8, STA(sfoutname)); ^~~~~~~~~~~~~~~ ~/csound/InOut/libsnd.c:938:23: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] csound->nrecs, O->outbufsamps, ^~~~~~~~~~~~~ ~/csound/InOut/libsnd.c:939:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sizeof(MYFLT)*8, STA(sfoutname)); ^~~~~~~~~~~~~~~ ~/csound/InOut/libsnd.c:943:23: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] O->outbufsamps, O->outbufsamps * O->sfsampsize, ^~~~~~~~~~~~~~ 5 warnings generated. [ 7%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libsnd_u.c.o [ 8%] Building C object CMakeFiles/CsoundLib64.dir/InOut/midifile.c.o [ 8%] Building C object CMakeFiles/CsoundLib64.dir/InOut/midirecv.c.o [ 8%] Building C object CMakeFiles/CsoundLib64.dir/InOut/midisend.c.o [ 8%] Building C object CMakeFiles/CsoundLib64.dir/InOut/winascii.c.o [ 9%] Building C object CMakeFiles/CsoundLib64.dir/InOut/windin.c.o [ 9%] Building C object CMakeFiles/CsoundLib64.dir/InOut/window.c.o [ 9%] Building C object CMakeFiles/CsoundLib64.dir/InOut/winEPS.c.o [ 9%] Building C object CMakeFiles/CsoundLib64.dir/InOut/circularbuffer.c.o [ 10%] Building C object CMakeFiles/CsoundLib64.dir/OOps/aops.c.o ~/csound/OOps/aops.c:1392:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1397:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1412:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1424:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1434:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1451:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1462:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1482:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1493:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1519:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1531:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1563:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1574:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1586:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1698:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINLOCK ^ ~/csound/./H/aops.h:26:30: note: expanded from macro 'CSOUND_SPIN_SPINLOCK' #define CSOUND_SPIN_SPINLOCK csoundSpinLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1713:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPIN_SPINUNLOCK ^ ~/csound/./H/aops.h:27:32: note: expanded from macro 'CSOUND_SPIN_SPINUNLOCK' #define CSOUND_SPIN_SPINUNLOCK csoundSpinUnLock(&csound->spinlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1724:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1737:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1748:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1761:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1771:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1788:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1798:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1813:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1823:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1838:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1848:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1863:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1873:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1888:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1899:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1923:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1926:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1948:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1970:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1992:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:1995:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:2017:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:2032:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINLOCK ^ ~/csound/./H/aops.h:28:31: note: expanded from macro 'CSOUND_SPOUT_SPINLOCK' #define CSOUND_SPOUT_SPINLOCK csoundSpinLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/aops.c:2056:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] CSOUND_SPOUT_SPINUNLOCK ^ ~/csound/./H/aops.h:29:33: note: expanded from macro 'CSOUND_SPOUT_SPINUNLOCK' #define CSOUND_SPOUT_SPINUNLOCK csoundSpinUnLock(&csound->spoutlock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ 40 warnings generated. [ 10%] Building C object CMakeFiles/CsoundLib64.dir/OOps/bus.c.o ~/csound/OOps/bus.c:191:9: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:193:9: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:232:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:239:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:258:9: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:265:9: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:294:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:299:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:705:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:710:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:712:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:720:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:799:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:808:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:826:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:837:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:869:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:875:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:878:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:886:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:901:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:905:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:914:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(p->lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:916:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(p->lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:1034:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:1044:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:1066:5: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/OOps/bus.c:1076:5: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ 28 warnings generated. [ 10%] Building C object CMakeFiles/CsoundLib64.dir/OOps/cmath.c.o [ 10%] Building C object CMakeFiles/CsoundLib64.dir/OOps/diskin2.c.o ~/csound/OOps/diskin2.c:438:25: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32) sfinfo.frames); ^~~~~~~~~~~~~~~~~~~~~ ~/csound/OOps/diskin2.c:452:25: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32) sfinfo.frames); ^~~~~~~~~~~~~~~~~~~~~ ~/csound/OOps/diskin2.c:1075:23: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32) sfinfo.frames); ^~~~~~~~~~~~~~~~~~~~~ ~/csound/OOps/diskin2.c:1935:25: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32) sfinfo.frames); ^~~~~~~~~~~~~~~~~~~~~ ~/csound/OOps/diskin2.c:1949:25: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32) sfinfo.frames); ^~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. [ 11%] Building C object CMakeFiles/CsoundLib64.dir/OOps/disprep.c.o [ 11%] Building C object CMakeFiles/CsoundLib64.dir/OOps/dumpf.c.o [ 11%] Building C object CMakeFiles/CsoundLib64.dir/OOps/fftlib.c.o [ 11%] Building C object CMakeFiles/CsoundLib64.dir/OOps/pffft.c.o [ 12%] Building C object CMakeFiles/CsoundLib64.dir/OOps/goto_ops.c.o [ 12%] Building C object CMakeFiles/CsoundLib64.dir/OOps/midiinterop.c.o [ 12%] Building C object CMakeFiles/CsoundLib64.dir/OOps/midiops.c.o [ 12%] Building C object CMakeFiles/CsoundLib64.dir/OOps/midiout.c.o [ 13%] Building C object CMakeFiles/CsoundLib64.dir/OOps/mxfft.c.o [ 13%] Building C object CMakeFiles/CsoundLib64.dir/OOps/oscils.c.o [ 13%] Building C object CMakeFiles/CsoundLib64.dir/OOps/pstream.c.o [ 13%] Building C object CMakeFiles/CsoundLib64.dir/OOps/pvfileio.c.o [ 14%] Building C object CMakeFiles/CsoundLib64.dir/OOps/pvsanal.c.o [ 14%] Building C object CMakeFiles/CsoundLib64.dir/OOps/random.c.o [ 14%] Building C object CMakeFiles/CsoundLib64.dir/OOps/remote.c.o [ 14%] Building C object CMakeFiles/CsoundLib64.dir/OOps/schedule.c.o [ 15%] Building C object CMakeFiles/CsoundLib64.dir/OOps/sndinfUG.c.o [ 15%] Building C object CMakeFiles/CsoundLib64.dir/OOps/str_ops.c.o [ 15%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugens1.c.o [ 15%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugens2.c.o [ 16%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugens3.c.o [ 16%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugens4.c.o ~/csound/OOps/ugens4.c:472:73: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] csound->Warning(csound, Str("Seeding from current time %lu\n"), seed); ~~~ ^~~~ %u ~/csound/OOps/ugens4.c:583:73: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] csound->Warning(csound, Str("Seeding from current time %lu\n"), seed); ~~~ ^~~~ %u ~/csound/OOps/ugens4.c:689:73: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] csound->Warning(csound, Str("Seeding from current time %lu\n"), seed); ~~~ ^~~~ %u 3 warnings generated. [ 16%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugens5.c.o ~/csound/OOps/ugens5.c:677:14: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] p->npoles, p->nvals, totvals, p->lastfram16); ^~~~~~~~~ ~/csound/OOps/ugens5.c:677:25: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] p->npoles, p->nvals, totvals, p->lastfram16); ^~~~~~~~ ~/csound/OOps/ugens5.c:677:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] p->npoles, p->nvals, totvals, p->lastfram16); ^~~~~~~ ~/csound/OOps/ugens5.c:677:44: warning: format specifies type 'unsigned long' but the argument has type 'int32' (aka 'int') [-Wformat] p->npoles, p->nvals, totvals, p->lastfram16); ^~~~~~~~~~~~~ 4 warnings generated. [ 16%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugens6.c.o [ 17%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugtabs.c.o [ 17%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugrw1.c.o [ 17%] Building C object CMakeFiles/CsoundLib64.dir/OOps/ugrw2.c.o [ 17%] Building C object CMakeFiles/CsoundLib64.dir/OOps/vdelay.c.o [ 18%] Building C object CMakeFiles/CsoundLib64.dir/OOps/compile_ops.c.o [ 18%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/babo.c.o [ 18%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/bilbar.c.o [ 18%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/compress.c.o [ 19%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/eqfil.c.o [ 19%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/Vosim.c.o [ 19%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pinker.c.o [ 19%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pitch.c.o ~/csound/Opcodes/pitch.c:1424:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] GRD_MAX_RANDOM_ROWS, p->grd_NumRows, ^~~~~~~~~~~~~~ 1 warning generated. [ 20%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pitch0.c.o [ 20%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/spectra.c.o ~/csound/Opcodes/spectra.c:192:38: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] nocts, bufsiz, (int)(bufsiz*1000/dwnp->srate)); ^~~~~~ 1 warning generated. [ 20%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ambicode1.c.o [ 20%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/sfont.c.o [ 21%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/grain4.c.o [ 21%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/hrtferX.c.o [ 21%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/loscilx.c.o [ 21%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/minmax.c.o [ 22%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pan2.c.o [ 22%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/arrays.c.o [ 22%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/phisem.c.o [ 22%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/hrtfopcodes.c.o [ 23%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/stackops.c.o [ 23%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/vbap.c.o [ 23%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/vbap1.c.o [ 23%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/vbap_n.c.o [ 24%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/vbap_zak.c.o [ 24%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/vaops.c.o [ 24%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugakbari.c.o [ 24%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/harmon.c.o [ 25%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pitchtrack.c.o [ 25%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/partikkel.c.o [ 25%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/shape.c.o [ 25%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/tabsum.c.o [ 26%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/crossfm.c.o [ 26%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvlock.c.o [ 26%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/fareyseq.c.o ~/csound/Opcodes/fareyseq.c:257:77: warning: more '%' conversions than data arguments [-Wformat] Str("Farey: Filter type < 1 dft=%.2f sft=%.2f"), ~~~^ ~/csound/./include/text.h:129:19: note: expanded from macro 'Str' # define Str(x) (x) ^ ~/csound/Opcodes/fareyseq.c:308:32: warning: data argument not used by format string [-Wformat-extra-args] *p->ftype); ^ 2 warnings generated. [ 26%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/modmatrix.c.o [ 27%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/scoreline.c.o [ 27%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/modal4.c.o [ 27%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/physutil.c.o [ 27%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/physmod.c.o [ 28%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/mandolin.c.o [ 28%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/singwave.c.o [ 28%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/fm4op.c.o [ 28%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/moog1.c.o [ 29%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/shaker.c.o [ 29%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/bowedbar.c.o ~/csound/Opcodes/bowedbar.c:54:64: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] "maximum length of %ld.\n"), p->length - 1); ~~~ ^~~~~~~~~~~~~ %d 1 warning generated. [ 29%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gab/tabmorph.c.o [ 29%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gab/hvs.c.o [ 30%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gab/sliderTable.c.o [ 30%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gab/newgabopc.c.o [ 30%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ftest.c.o [ 30%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/hrtfearly.c.o [ 31%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/hrtfreverb.c.o [ 31%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/cpumeter.c.o [ 31%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gendy.c.o [ 31%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/tl/sc_noise.c.o [ 32%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/afilters.c.o [ 32%] Building C object CMakeFiles/CsoundLib64.dir/Top/argdecode.c.o ~/csound/Top/argdecode.c:1299:33: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] sscanf(s, "%g%n", &val, &n); /* use this tempo .. */ ~~ ^~~~ %lg 1 warning generated. [ 32%] Building C object CMakeFiles/CsoundLib64.dir/Top/csdebug.c.o [ 32%] Building C object CMakeFiles/CsoundLib64.dir/Top/cscore_internal.c.o [ 33%] Building C object CMakeFiles/CsoundLib64.dir/Top/cscorfns.c.o [ 33%] Building C object CMakeFiles/CsoundLib64.dir/Top/csmodule.c.o [ 33%] Building C object CMakeFiles/CsoundLib64.dir/Top/getstring.c.o [ 33%] Building C object CMakeFiles/CsoundLib64.dir/Top/main.c.o [ 34%] Building C object CMakeFiles/CsoundLib64.dir/Top/new_opts.c.o [ 34%] Building C object CMakeFiles/CsoundLib64.dir/Top/one_file.c.o [ 34%] Building C object CMakeFiles/CsoundLib64.dir/Top/opcode.c.o [ 34%] Building C object CMakeFiles/CsoundLib64.dir/Top/threads.c.o [ 35%] Building C object CMakeFiles/CsoundLib64.dir/Top/utility.c.o [ 35%] Building C object CMakeFiles/CsoundLib64.dir/Top/threadsafe.c.o ~/csound/Top/threadsafe.c:126:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:128:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:139:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:141:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:158:9: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:171:9: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:187:9: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:194:9: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:209:9: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:221:9: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:240:7: warning: 'OSSpinLockLock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_lock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinLock(lock); ^ ~/csound/./include/csound.h:2059:8: note: expanded from macro 'csoundSpinLock' OSSpinLockLock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:99:9: note: 'OSSpinLockLock' has been explicitly marked deprecated here void OSSpinLockLock( volatile OSSpinLock *__lock ); ^ ~/csound/Top/threadsafe.c:244:7: warning: 'OSSpinLockUnlock' is deprecated: first deprecated in macOS 10.12 - Use os_unfair_lock_unlock() from <os/lock.h> instead [-Wdeprecated-declarations] csoundSpinUnLock(lock); ^ ~/csound/./include/csound.h:2063:8: note: expanded from macro 'csoundSpinUnLock' OSSpinLockUnlock(spinlock); \ ^ /usr/include/libkern/OSSpinLockDeprecated.h:105:9: note: 'OSSpinLockUnlock' has been explicitly marked deprecated here void OSSpinLockUnlock( volatile OSSpinLock *__lock ); ^ 12 warnings generated. [ 35%] Building C object CMakeFiles/CsoundLib64.dir/Top/server.c.o [ 35%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ambicode.c.o [ 36%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/bbcut.c.o [ 36%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/biquad.c.o [ 36%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/butter.c.o [ 36%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/clfilt.c.o [ 37%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/cross2.c.o [ 37%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/dam.c.o [ 37%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/dcblockr.c.o [ 37%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/filter.c.o [ 38%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/flanger.c.o [ 38%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/follow.c.o [ 38%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/fout.c.o [ 38%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/freeverb.c.o [ 39%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ftconv.c.o [ 39%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ftgen.c.o [ 39%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gab/gab.c.o [ 39%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/gab/vectorial.c.o ~/csound/Opcodes/gab/vectorial.c:1909:25: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] seed); ^~~~ ~/csound/Opcodes/gab/vectorial.c:2008:73: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] Str("vrandi: Seeding from current time %lu\n"), seed); ~~~ ^~~~ %u 2 warnings generated. [ 40%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/grain.c.o [ 40%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/locsig.c.o [ 40%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/lowpassr.c.o [ 40%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/metro.c.o [ 41%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/midiops2.c.o [ 41%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/midiops3.c.o [ 41%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/newfils.c.o [ 41%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/nlfilt.c.o [ 42%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/oscbnk.c.o [ 42%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pluck.c.o [ 42%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/paulstretch.c.o ~/csound/Opcodes/paulstretch.c:87:7: warning: plain '_Complex' requires a type specifier; assuming '_Complex double' complex ph = cos(x) + I*sin(x); ^ double /usr/include/complex.h:37:17: note: expanded from macro 'complex' #define complex _Complex ^ 1 warning generated. [ 42%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/repluck.c.o [ 43%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/reverbsc.c.o [ 43%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/seqtime.c.o [ 43%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/sndloop.c.o [ 43%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/sndwarp.c.o [ 44%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/space.c.o [ 44%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/spat3d.c.o [ 44%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/syncgrain.c.o [ 44%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugens7.c.o [ 45%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugens9.c.o ~/csound/Opcodes/ugens9.c:64:42: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] cvfilnam, cvh->magic); ^~~~~~~~~~ ~/csound/Opcodes/ugens9.c:111:32: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] cvh->dataFormat, cvfilnam); ^~~~~~~~~~~~~~~ 2 warnings generated. [ 45%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugensa.c.o [ 45%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/uggab.c.o [ 45%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugmoss.c.o [ 46%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugnorman.c.o [ 46%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugsc.c.o [ 46%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/wave-terrain.c.o [ 46%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/stdopcod.c.o [ 47%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/socksend.c.o [ 47%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/sockrecv.c.o [ 47%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ifd.c.o [ 47%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/partials.c.o [ 48%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/psynth.c.o [ 48%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvsbasic.c.o [ 48%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvscent.c.o [ 48%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvsdemix.c.o [ 49%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvs_ops.c.o [ 49%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvsband.c.o [ 49%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvsbuffer.c.o [ 50%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvsgendy.c.o [ 50%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/dsputil.c.o [ 50%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvadd.c.o ~/csound/Opcodes/pvadd.c:227:32: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32) pp.fftsize, fname); ^~~~~~~~~~~~~~~~~~ 1 warning generated. [ 50%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvinterp.c.o [ 51%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvocext.c.o [ 51%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvread.c.o [ 51%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/ugens8.c.o [ 51%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/vpvoc.c.o [ 52%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/pvoc.c.o [ 52%] Building C object CMakeFiles/CsoundLib64.dir/Opcodes/mp3in.c.o [ 52%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/layer1.c.o [ 52%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/layer2.c.o [ 53%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/layer3.c.o [ 53%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/synth.c.o [ 53%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/tables.c.o [ 53%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/mpadec.c.o [ 54%] Building C object CMakeFiles/CsoundLib64.dir/InOut/libmpadec/mp3dec.c.o [ 54%] Building C object CMakeFiles/CsoundLib64.dir/csound_orclex.c.o [ 54%] Building C object CMakeFiles/CsoundLib64.dir/csound_orcparse.c.o [ 54%] Building C object CMakeFiles/CsoundLib64.dir/csound_prelex.c.o ~/csound/Engine/csound_pre.lex:1307:61: warning: field width should have type 'int', but argument has type 'long' [-Wformat] csound->Message(csound, Str("Macro definition for %*s\n"), p - s, s); ~~^ ~~~~~ ~/csound/./include/text.h:129:19: note: expanded from macro 'Str' # define Str(x) (x) ^ 1 warning generated. [ 55%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_orc_semantics.c.o [ 55%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_orc_expressions.c.o [ 55%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_orc_optimize.c.o [ 55%] Building C object CMakeFiles/CsoundLib64.dir/Engine/csound_orc_compile.c.o ~/csound/Engine/csound_orc_compile.c:827:68: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] Str("create_instrument: instr num %ld\n"), instrNum); ~~~ ^~~~~~~~ %d ~/csound/Engine/csound_orc_compile.c:1026:26: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] inm->instno); ^~~~~~~~~~~ ~/csound/Engine/csound_orc_compile.c:1181:25: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] instrNum); ^~~~~~~~ 3 warnings generated. [ 56%] Building C object CMakeFiles/CsoundLib64.dir/Engine/new_orc_parser.c.o [ 56%] Building C object CMakeFiles/CsoundLib64.dir/Engine/symbtab.c.o [ 56%] Building C object CMakeFiles/CsoundLib64.dir/csound_prslex.c.o ~/csound/Engine/csound_prs.lex:473:57: warning: length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat] csound->DebugMsg(csound,"%s(%d): loc=%Ld; lastloc=%Ld\n", ~^~ ~/csound/Engine/csound_prs.lex:473:57: note: did you mean to use 'll'? csound->DebugMsg(csound,"%s(%d): loc=%Ld; lastloc=%Ld\n", ^ ll ~/csound/Engine/csound_prs.lex:475:26: warning: format specifies type 'long long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat] PARM->llocn, PARM->locn); ^~~~~~~~~~~ ~/csound/Engine/csound_prs.lex:56:17: note: expanded from macro 'PARM' #define PARM csound_prsget_extra(yyscanner)                 ^ ~/csound/Engine/csound_prs.lex:473:70: warning: length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier [-Wformat] csound->DebugMsg(csound,"%s(%d): loc=%Ld; lastloc=%Ld\n", ~^~ ~/csound/Engine/csound_prs.lex:473:70: note: did you mean to use 'll'? csound->DebugMsg(csound,"%s(%d): loc=%Ld; lastloc=%Ld\n", ^ ll ~/csound/Engine/csound_prs.lex:475:39: warning: format specifies type 'long long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat] PARM->llocn, PARM->locn); ^~~~~~~~~~ ~/csound/Engine/csound_prs.lex:56:17: note: expanded from macro 'PARM' #define PARM csound_prsget_extra(yyscanner)                 ^ ~/csound/Engine/csound_prs.lex:1272:61: warning: field width should have type 'int', but argument has type 'long' [-Wformat] csound->Message(csound, Str("Macro definition for %*s\n"), p - s, s); ~~^ ~~~~~ ~/csound/./include/text.h:129:19: note: expanded from macro 'Str' # define Str(x) (x) ^ 5 warnings generated. [ 56%] Building C object CMakeFiles/CsoundLib64.dir/Engine/cs_new_dispatch.c.o [ 57%] Building C object CMakeFiles/CsoundLib64.dir/Engine/cs_par_base.c.o [ 57%] Building C object CMakeFiles/CsoundLib64.dir/Engine/cs_par_orc_semantic_analysis.c.o [ 57%] Building C object CMakeFiles/CsoundLib64.dir/Engine/cs_par_dispatch.c.o [ 57%] Linking C shared library CsoundLib64.framework/CsoundLib64 Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/CppSound.hpp Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/CsoundFile.hpp Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/OpcodeBase.hpp Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/cfgvar.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csPerfThread.hpp Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/cs_par_structs.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/cscore.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csdebug.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csdl.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csound.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csound.hpp Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csoundCore.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csound_data_structures.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csound_standard_types.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/csound_type_system.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/cwindow.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/filebuilding.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/float-version.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/interlocks.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/msg_attr.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/pools.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/pstream.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/pvfileio.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/soundio.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/sysdep.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/text.h Copying OS X content CsoundLib64.framework/Versions/6.0/Headers/version.h [ 57%] Built target CsoundLib64 Scanning dependencies of target urandom [ 57%] Building C object Opcodes/CMakeFiles/urandom.dir/urandom.c.o ~/csound/Opcodes/urandom.c:39:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(p->ur); ^ ~/csound/Opcodes/urandom.c:60:18: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (UNLIKELY(read(ur, &x, sizeof(int64_t))!=sizeof(int64_t))) return NOTOK; ^ 2 warnings generated. [ 58%] Linking C shared library ../liburandom.dylib [ 58%] Built target urandom Scanning dependencies of target buchla [ 58%] Building C object Opcodes/CMakeFiles/buchla.dir/buchla.c.o [ 59%] Linking C shared library ../libbuchla.dylib [ 59%] Built target buchla Scanning dependencies of target chua [ 59%] Building CXX object Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o ~/csound/Opcodes/chua/ChuaOscillator.cpp:547:42: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(M(1) + 1) - abs(M(1) - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:547:42: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(M(1) + 1) - abs(M(1) - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:547:58: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(M(1) + 1) - abs(M(1) - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:547:58: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(M(1) + 1) - abs(M(1) - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:553:42: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:553:42: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:553:58: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:553:58: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:559:42: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:559:42: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:559:58: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:559:58: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:565:42: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:565:42: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^~~ std::abs ~/csound/Opcodes/chua/ChuaOscillator.cpp:565:58: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^ ~/csound/Opcodes/chua/ChuaOscillator.cpp:565:58: note: use function 'std::abs' instead (.5)*(anor - bnor)*(abs(temp + 1) - abs(temp - 1))); ^~~ std::abs 8 warnings generated. [ 60%] Linking CXX shared library ../libchua.dylib [ 60%] Built target chua Scanning dependencies of target exciter [ 60%] Building C object Opcodes/CMakeFiles/exciter.dir/exciter.c.o [ 60%] Linking C shared library ../libexciter.dylib [ 60%] Built target exciter Scanning dependencies of target fareygen [ 61%] Building C object Opcodes/CMakeFiles/fareygen.dir/fareygen.c.o [ 61%] Linking C shared library ../libfareygen.dylib [ 61%] Built target fareygen Scanning dependencies of target cellular [ 61%] Building C object Opcodes/CMakeFiles/cellular.dir/cellular.c.o [ 61%] Linking C shared library ../libcellular.dylib [ 61%] Built target cellular Scanning dependencies of target py [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o ~/csound/Opcodes/py/pythonopcodes.c:134:17: warning: implicit declaration of function 'PyFile_FromString' is invalid in C99 [-Wimplicit-function-declaration] pyFileObj = PyFile_FromString(fullpath, "r"); ^ ~/csound/Opcodes/py/pythonopcodes.c:134:15: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] pyFileObj = PyFile_FromString(fullpath, "r"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~/csound/Opcodes/py/pythonopcodes.c:140:25: warning: implicit declaration of function 'PyFile_AsFile' is invalid in C99 [-Wimplicit-function-declaration] result = PyRun_File(PyFile_AsFile(pyFileObj), fullpath, Py_file_input, ^ ~/csound/Opcodes/py/pythonopcodes.c:140:25: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wint-conversion] result = PyRun_File(PyFile_AsFile(pyFileObj), fullpath, Py_file_input, ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/pythonrun.h:203:23: note: expanded from macro 'PyRun_File' PyRun_FileExFlags(fp, p, s, g, l, 0, NULL) ^~ /opt/local/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/pythonrun.h:128:11: note: passing argument to parameter 'fp' here FILE *fp, ^ 4 warnings generated. [ 62%] Linking C shared library ../libpy.dylib Undefined symbols for architecture x86_64: "_PyFile_AsFile", referenced from: _exec_file_in_given_context in pythonopcodes.c.o "_PyFile_FromString", referenced from: _exec_file_in_given_context in pythonopcodes.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libpy.dylib] Error 1 make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2 make: *** [all] Error 2
       
Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Compile error on 10.12.2

jpff
I think this is issue #631.  Check this page
https://github.com/csound/csound/issues/631

But I neither a mac nor python user
==John ffitch

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Compile error on 10.12.2

rmgls
Hello, 

Yes, but the solution  does nothing, as I configured it.

I found this on stackoverflow
And,  so, I installed the csound6.07.dmg waiting I find what to do to compile from git.

Thanks  for your reply.

Raoul
     I just needed a way to convert a file object to a ctypes FILE* so
     that I can pass it to GD.

   You are out of luck. That was possible in Python 2.x, but is not
   possible in Python 3.x. The documentation explains why not:

     These APIs are a minimal emulation of the Python 2 C API for
     built-in file objects, which used to rely on the buffered I/O
     (FILE*) support from the C standard library. In Python 3, files and
     streams use the new io module, which defines several layers over the
     low-level unbuffered I/O of the operating system.

   If you want a FILE* you are going to have to make one yourself, using
   the C standard library directly.
     answered Apr 21 '13 at 14:39
   David Heffernan
 
     I just needed a way to convert a file object to a ctypes FILE* so
     that I can pass it to GD.

   You are out of luck. That was possible in Python 2.x, but is not
   possible in Python 3.x. The documentation explains why not:

     These APIs are a minimal emulation of the Python 2 C API for
     built-in file objects, which used to rely on the buffered I/O
     (FILE*) support from the C standard library. In Python 3, files and
     streams use the new io module, which defines several layers over the
     low-level unbuffered I/O of the operating system.

   If you want a FILE* you are going to have to make one yourself, using
   the C standard library directly.
   share|improve this answer
   answered Apr 21 '13 at 14:39
 
On 2 Nov 2016, at 21:43, jpff <[hidden email]> wrote:

I think this is issue #631.  Check this page
https://github.com/csound/csound/issues/631

But I neither a mac nor python user
==John ffitch

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Compile error on 10.12.2

Steven Yi
I think we haven't come to a conclusion on how to deal with Python 2/3
for both Csound 6 and 7.  For now though, the primary issue is that
CMake is finding a python3 framework, and Csound 6's python-related
code is designed for Python 2.x.  Your output shows it is using:

/opt/local/Library/Frameworks/Python.fra=
mework/Versions/3.4/include/python3.4m/pythonrun.h:203:23: note: expanded f=
rom macro 'PyRun_File' PyRun_FileExFlags(fp, p, s, g, l, 0, NULL) ^~ /opt/l=
ocal/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/py=
thonrun.h:128:11: note: passing argument to parameter 'fp' here FILE *fp, ^=
 4 warnings generated. [ 62%] Linking C shared library ../libpy.dylib Undef=
ined symbols for architecture x86_64: "_PyFile_AsFile", referenced from: _e=
xec_file_in_given_context in pythonopcodes.c.o "_PyFile_FromString", refere=
nced from: _exec_file_in_given_context in pythonopcodes.c.o ld: symbol(s) n=
ot found for architecture x86_64 clang: error: linker command failed with e=
xit code 1 (use -v to see invocation) make[2]: *** [libpy.dylib] Error 1 ma=
ke[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2 make: *** [all] Error 2=
=20

in /opt/local.  There are two workarounds I can think of:

1. In your build directory, modify the CMakeCache.txt and change the
values that find python 3 and replace them with the system's Python,
which should be python 2.7 I believe.
2. If you don't need the python stuff (opcodes or csnd6 module), you
can disable building those.  This can be done on the commandline when
running cmake, using something like "cmake ..
-DBUILD_PYTHON_INTERFACES=OFF -DBUILD_PYTHON_OPCODES=OFF" or editing
those values within the CMakeCache.txt.



On Thu, Nov 3, 2016 at 5:37 AM, rmgls <[hidden email]> wrote:

> Hello,
>
> Yes, but the solution  does nothing, as I configured it.
>
> I found this on stackoverflow
> And,  so, I installed the csound6.07.dmg waiting I find what to do to
> compile from git.
>
> Thanks  for your reply.
>
> Raoul
> [hidden email]
>      I just needed a way to convert a file object to a ctypes FILE* so
>      that I can pass it to GD.
>
>    You are out of luck. That was possible in Python 2.x, but is not
>    possible in Python 3.x. The documentation explains why not:
>
>      These APIs are a minimal emulation of the Python 2 C API for
>      built-in file objects, which used to rely on the buffered I/O
>      (FILE*) support from the C standard library. In Python 3, files and
>      streams use the new io module, which defines several layers over the
>      low-level unbuffered I/O of the operating system.
>
>    If you want a FILE* you are going to have to make one yourself, using
>    the C standard library directly.
>      answered Apr 21 '13 at 14:39
>    David Heffernan
>
>      I just needed a way to convert a file object to a ctypes FILE* so
>      that I can pass it to GD.
>
>    You are out of luck. That was possible in Python 2.x, but is not
>    possible in Python 3.x. The documentation explains why not:
>
>      These APIs are a minimal emulation of the Python 2 C API for
>      built-in file objects, which used to rely on the buffered I/O
>      (FILE*) support from the C standard library. In Python 3, files and
>      streams use the new io module, which defines several layers over the
>      low-level unbuffered I/O of the operating system.
>
>    If you want a FILE* you are going to have to make one yourself, using
>    the C standard library directly.
>    share|improve this answer
>    answered Apr 21 '13 at 14:39
>
>
> On 2 Nov 2016, at 21:43, jpff <[hidden email]> wrote:
>
> I think this is issue #631.  Check this page
> https://github.com/csound/csound/issues/631
>
> But I neither a mac nor python user
> ==John ffitch
>
> Csound mailing list
> [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>
>
> Csound mailing list [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Compile error on 10.12.2

rmgls
Hi Steven,

Thanks for your reply.
Without python_interface and without python_opcode  Csound from git build fine.
Thanks for this  workaround.
But I will continue to track the issue and report if I find a solution.


Best Regards

Raoul MEGELAS

On 6 Nov 2016, at 16:16, Steven Yi <[hidden email]> wrote:

I think we haven't come to a conclusion on how to deal with Python 2/3
for both Csound 6 and 7.  For now though, the primary issue is that
CMake is finding a python3 framework, and Csound 6's python-related
code is designed for Python 2.x.  Your output shows it is using:

/opt/local/Library/Frameworks/Python.fra=
mework/Versions/3.4/include/python3.4m/pythonrun.h:203:23: note: expanded f=
rom macro 'PyRun_File' PyRun_FileExFlags(fp, p, s, g, l, 0, NULL) ^~ /opt/l=
ocal/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/py=
thonrun.h:128:11: note: passing argument to parameter 'fp' here FILE *fp, ^=
4 warnings generated. [ 62%] Linking C shared library ../libpy.dylib Undef=
ined symbols for architecture x86_64: "_PyFile_AsFile", referenced from: _e=
xec_file_in_given_context in pythonopcodes.c.o "_PyFile_FromString", refere=
nced from: _exec_file_in_given_context in pythonopcodes.c.o ld: symbol(s) n=
ot found for architecture x86_64 clang: error: linker command failed with e=
xit code 1 (use -v to see invocation) make[2]: *** [libpy.dylib] Error 1 ma=
ke[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2 make: *** [all] Error 2=
=20

in /opt/local.  There are two workarounds I can think of:

1. In your build directory, modify the CMakeCache.txt and change the
values that find python 3 and replace them with the system's Python,
which should be python 2.7 I believe.
2. If you don't need the python stuff (opcodes or csnd6 module), you
can disable building those.  This can be done on the commandline when
running cmake, using something like "cmake ..
-DBUILD_PYTHON_INTERFACES=OFF -DBUILD_PYTHON_OPCODES=OFF" or editing
those values within the CMakeCache.txt.



On Thu, Nov 3, 2016 at 5:37 AM, rmgls <[hidden email]> wrote:
Hello,

Yes, but the solution  does nothing, as I configured it.

I found this on stackoverflow
And,  so, I installed the csound6.07.dmg waiting I find what to do to
compile from git.

Thanks  for your reply.

Raoul
[hidden email]
    I just needed a way to convert a file object to a ctypes FILE* so
    that I can pass it to GD.

  You are out of luck. That was possible in Python 2.x, but is not
  possible in Python 3.x. The documentation explains why not:

    These APIs are a minimal emulation of the Python 2 C API for
    built-in file objects, which used to rely on the buffered I/O
    (FILE*) support from the C standard library. In Python 3, files and
    streams use the new io module, which defines several layers over the
    low-level unbuffered I/O of the operating system.

  If you want a FILE* you are going to have to make one yourself, using
  the C standard library directly.
    answered Apr 21 '13 at 14:39
  David Heffernan

    I just needed a way to convert a file object to a ctypes FILE* so
    that I can pass it to GD.

  You are out of luck. That was possible in Python 2.x, but is not
  possible in Python 3.x. The documentation explains why not:

    These APIs are a minimal emulation of the Python 2 C API for
    built-in file objects, which used to rely on the buffered I/O
    (FILE*) support from the C standard library. In Python 3, files and
    streams use the new io module, which defines several layers over the
    low-level unbuffered I/O of the operating system.

  If you want a FILE* you are going to have to make one yourself, using
  the C standard library directly.
  share|improve this answer
  answered Apr 21 '13 at 14:39


On 2 Nov 2016, at 21:43, jpff <[hidden email]> wrote:

I think this is issue #631.  Check this page
https://github.com/csound/csound/issues/631

But I neither a mac nor python user
==John ffitch

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and features can
be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Compile error on 10.12.2

rmgls
Hello Steven,

That’s done.

For the record:

Sudo port -f deactivate python 34 @VERSION

(Here version is @3.4.5_1

Sudo port install swig-python

(This one was hidden by the python34 error.

And as usual:

cMake ..
Make &  sudo make install

After of Course because it is needed:

Sudo port install python34.


Best Regards

Raoul MEGELAS

On 6 Nov 2016, at 16:16, Steven Yi <[hidden email]> wrote:

I think we haven't come to a conclusion on how to deal with Python 2/3
for both Csound 6 and 7.  For now though, the primary issue is that
CMake is finding a python3 framework, and Csound 6's python-related
code is designed for Python 2.x.  Your output shows it is using:

/opt/local/Library/Frameworks/Python.fra=
mework/Versions/3.4/include/python3.4m/pythonrun.h:203:23: note: expanded f=
rom macro 'PyRun_File' PyRun_FileExFlags(fp, p, s, g, l, 0, NULL) ^~ /opt/l=
ocal/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m/py=
thonrun.h:128:11: note: passing argument to parameter 'fp' here FILE *fp, ^=
4 warnings generated. [ 62%] Linking C shared library ../libpy.dylib Undef=
ined symbols for architecture x86_64: "_PyFile_AsFile", referenced from: _e=
xec_file_in_given_context in pythonopcodes.c.o "_PyFile_FromString", refere=
nced from: _exec_file_in_given_context in pythonopcodes.c.o ld: symbol(s) n=
ot found for architecture x86_64 clang: error: linker command failed with e=
xit code 1 (use -v to see invocation) make[2]: *** [libpy.dylib] Error 1 ma=
ke[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2 make: *** [all] Error 2=
=20

in /opt/local.  There are two workarounds I can think of:

1. In your build directory, modify the CMakeCache.txt and change the
values that find python 3 and replace them with the system's Python,
which should be python 2.7 I believe.
2. If you don't need the python stuff (opcodes or csnd6 module), you
can disable building those.  This can be done on the commandline when
running cmake, using something like "cmake ..
-DBUILD_PYTHON_INTERFACES=OFF -DBUILD_PYTHON_OPCODES=OFF" or editing
those values within the CMakeCache.txt.



On Thu, Nov 3, 2016 at 5:37 AM, rmgls <[hidden email]> wrote:
Hello,

Yes, but the solution  does nothing, as I configured it.

I found this on stackoverflow
And,  so, I installed the csound6.07.dmg waiting I find what to do to
compile from git.

Thanks  for your reply.

Raoul
[hidden email]
    I just needed a way to convert a file object to a ctypes FILE* so
    that I can pass it to GD.

  You are out of luck. That was possible in Python 2.x, but is not
  possible in Python 3.x. The documentation explains why not:

    These APIs are a minimal emulation of the Python 2 C API for
    built-in file objects, which used to rely on the buffered I/O
    (FILE*) support from the C standard library. In Python 3, files and
    streams use the new io module, which defines several layers over the
    low-level unbuffered I/O of the operating system.

  If you want a FILE* you are going to have to make one yourself, using
  the C standard library directly.
    answered Apr 21 '13 at 14:39
  David Heffernan

    I just needed a way to convert a file object to a ctypes FILE* so
    that I can pass it to GD.

  You are out of luck. That was possible in Python 2.x, but is not
  possible in Python 3.x. The documentation explains why not:

    These APIs are a minimal emulation of the Python 2 C API for
    built-in file objects, which used to rely on the buffered I/O
    (FILE*) support from the C standard library. In Python 3, files and
    streams use the new io module, which defines several layers over the
    low-level unbuffered I/O of the operating system.

  If you want a FILE* you are going to have to make one yourself, using
  the C standard library directly.
  share|improve this answer
  answered Apr 21 '13 at 14:39


On 2 Nov 2016, at 21:43, jpff <[hidden email]> wrote:

I think this is issue #631.  Check this page
https://github.com/csound/csound/issues/631

But I neither a mac nor python user
==John ffitch

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and features can
be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here