-
Notifications
You must be signed in to change notification settings - Fork 248
Closed
Labels
Description
Hi,
trying to compile libsoundio i get this error:
..
System Dependencies
-------------------
* threads : OK
* JACK (optional) : OK
* PulseAudio (optional) : OK
* ALSA (optional) : OK
* CoreAudio (optional) : not found
* WASAPI (optional) : not found
..
[ 2%] Building CXX object CMakeFiles/libsoundio_shared.dir/src/jack.cpp.o
/libsoundio/src/jack.cpp: In function ‘int soundio_jack_init(SoundIoPrivate*)’:
/mnt/data/gb1/home/srv/source/git/libsoundio/src/jack.cpp:919:84: error: invalid conversion from ‘void (*)(jack_port_id_t, const char*, const char*, void*) {aka void (*)(unsigned int, const char*, const char*, void*)}’ to ‘JackPortRenameCallback {aka int (*)(unsigned int, const char*, const char*, void*)}’ [-fpermissive]
if ((err = jack_set_port_rename_callback(sij->client, port_rename_calllback, si))) {
^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-c99-extensions" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/libsoundio_shared.dir/src/jack.cpp.o] Error 1
make[1]: *** [CMakeFiles/libsoundio_shared.dir/all] Error 2
make: *** [all] Error 2
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
How could this be resolved?
Thanks
Thomas