configure: WARNING: LASH support is disabled
process.c: In function ‘process_info_connect_jack’:
process.c:456:3: warning: ‘jack_client_new’ is deprecated [-Wdeprecated-declarations]
456 | if (!(procinfo->jack_client = jack_client_new (jack_client_name)))
| ^~
In file included from process.c:21:
/usr/include/jack/jack.h:127:17: note: declared here
127 | jack_client_t * jack_client_new (const char *client_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
| ^~~~~~~~~~~~~~~
main.c: In function ‘main’:
main.c:128:3: warning: implicit declaration of function ‘gtk_set_locale’; did you mean ‘setlocale’? [-Wimplicit-function-declaration]
128 | gtk_set_locale ();
| ^~~~~~~~~~~~~~
| setlocale
/usr/bin/ld: jack_rack-midi.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: /lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:356: jack-rack] Error 1
make[1]: *** [Makefile:281: all] Error 2
make: *** [Makefile:306: all-recursive] Error 1
I also got the Jack Rack 1.4.7 source from SourceForge and manually did configure and make, but it still gave the same error.
Susie B. wrote: ↑11. Feb 2024, 21:13
/usr/bin/ld: jack_rack-midi.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: /lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:356: jack-rack] Error 1
make[1]: *** [Makefile:281: all] Error 2
make: *** [Makefile:306: all-recursive] Error 1[/code]
I also got the Jack Rack 1.4.7 source from SourceForge and manually did configure and make, but it still gave the same error.
Out of curiosity I tried to compile it myself and I also got the complain about undefined reference to pthread ... (then to libdl and and finally to libm)
If no one will give the proper solution, here is a workaround
- do ./configure
- do make
- all files should be compiled, just linking process should give the above undefined reference, so go into directory "src" and issue this:
I was also able to successfully compile Jack Rack using your workaround.
I installed it as well and it seems to work fine.
I appreciate you taking the time to help me.
I appreciate you adding the Jack Rack binary package to the Salix repository.
It is easier for a layman like me to use the official package than building it by myself.
I will install it as soon as the package arrives in the mirror.