jackaudio / jack-example-tools

Official examples and tools from the JACK project
GNU General Public License v2.0
37 stars 14 forks source link

compilation error #79

Closed michal-cab closed 1 year ago

michal-cab commented 2 years ago

on ubuntustudio 20.04 / meson 0.63.1 / ninja 1.10.2.git.kitware.jobserver-1

compilation fails with following error:

[1/38] Compiling C object example-clients/jack_inprocess.so.p/inprocess.c.o
FAILED: example-clients/jack_inprocess.so.p/inprocess.c.o 
ccache cc -Iexample-clients/jack_inprocess.so.p -Iexample-clients -I../example-clients -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ example-clients/jack_inprocess.so.p/inprocess.c.o -MF example-clients/jack_inprocess.so.p/inprocess.c.o.d -o example-clients/jack_inprocess.so.p/inprocess.c.o -c ../example-clients/inprocess.c
../example-clients/inprocess.c:59:16: error: expected ‘;’ before ‘int’
   59 | JACK_LIB_EXPORT
      |                ^
      |                ;
   60 | int
      | ~~~             
../example-clients/inprocess.c:119:16: error: expected ‘;’ before ‘void’
  119 | JACK_LIB_EXPORT
      |                ^
      |                ;
  120 | void
      | ~~~~            
[4/38] Compiling C object example-clients/jack_intime.so.p/intime.c.o
FAILED: example-clients/jack_intime.so.p/intime.c.o 
ccache cc -Iexample-clients/jack_intime.so.p -Iexample-clients -I../example-clients -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ example-clients/jack_intime.so.p/intime.c.o -MF example-clients/jack_intime.so.p/intime.c.o.d -o example-clients/jack_intime.so.p/intime.c.o -c ../example-clients/intime.c
../example-clients/intime.c:125:16: error: expected ‘;’ before ‘int’
  125 | JACK_LIB_EXPORT
      |                ^
      |                ;
  126 | int
      | ~~~             
../example-clients/intime.c:155:16: error: expected ‘;’ before ‘void’
  155 | JACK_LIB_EXPORT
      |                ^
      |                ;
  156 | void
      | ~~~~            
[10/38] Compiling C++ object example-clients/jack_internal_metro.so.p/internal_metro.cpp.o
falkTX commented 2 years ago

ubuntu 20.04 has a jack2 version that is too old. and that version includes already the example-tools, so you dont really need this repo for them