Scanning dependencies of target libfluidsynth [ 2%] Building C object src/CMakeFiles/libfluidsynth.dir/drivers/fluid_coreaudio.c.o In file included from /Users/stas/Downloads/fluidsynth-1.1.6/src/synth/fluid_event_queue.h:24, from /Users/stas/Downloads/fluidsynth-1.1.6/src/synth/fluid_synth.h:35, from /Users/stas/Downloads/fluidsynth-1.1.6/src/drivers/fluid_coreaudio.c:27: /Users/stas/Downloads/fluidsynth-1.1.6/src/utils/fluid_sys.h: In function ‘new_fluid_cond_mutex’: /Users/stas/Downloads/fluidsynth-1.1.6/src/utils/fluid_sys.h:161: warning: ‘g_thread_init’ is deprecated (declared at /usr/local/Cellar/glib/2.46.0_1/include/glib-2.0/glib/deprecated/gthread.h:265) /Users/stas/Downloads/fluidsynth-1.1.6/src/utils/fluid_sys.h:162: warning: ‘g_mutex_new’ is deprecated (declared at /usr/local/Cellar/glib/2.46.0_1/include/glib-2.0/glib/deprecated/gthread.h:277) In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:46, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25, from /Users/stas/Downloads/fluidsynth-1.1.6/src/drivers/fluid_coreaudio.c:36: /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransportProviders.h: At top level: /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransportProviders.h:108: error: expected identifier before numeric constant /Users/stas/Downloads/fluidsynth-1.1.6/src/drivers/fluid_coreaudio.c: In function ‘new_fluid_core_audio_driver2’: /Users/stas/Downloads/fluidsynth-1.1.6/src/drivers/fluid_coreaudio.c:170: warning: ISO C90 forbids mixed declarations and code /Users/stas/Downloads/fluidsynth-1.1.6/src/drivers/fluid_coreaudio.c:177: warning: ISO C90 forbids mixed declarations and code /Users/stas/Downloads/fluidsynth-1.1.6/src/drivers/fluid_coreaudio.c:190: warning: ISO C90 forbids mixed declarations and code make[2]: *** [src/CMakeFiles/libfluidsynth.dir/drivers/fluid_coreaudio.c.o] Error 1 make[1]: *** [src/CMakeFiles/libfluidsynth.dir/all] Error 2 make: *** [all] Error 2