jackaudio / jack2

jack2 codebase
GNU General Public License v2.0
2.22k stars 377 forks source link

[SOLVED] Symbol lookup error: undefined symbol: jackctl_driver_get_type #638

Closed stan-janssen closed 4 years ago

stan-janssen commented 4 years ago

When building the current develop and master branches on Ubuntu 18.04, get the following error when running jackd -v:

./build/jackd -v
./build/jackd: symbol lookup error: ./build/jackd: undefined symbol: jackctl_driver_get_type

My configuration:

./waf configure --prefix=/usr --firewire --classic
Setting top to                           : /home/stan/Ontwikkeling/Overige/jack2 
Setting out to                           : /home/stan/Ontwikkeling/Overige/jack2/build 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
Checking platform                        : Linux 
Checking for program 'pkg-config'        : /usr/bin/pkg-config 
Checking for 'alsa >= 1.0.18'            : yes 
Checking for 'libffado >= 1.999.17'      : yes 
Checking for 'gtkIOStream >= 1.4.0'      : not found 
Checking for 'eigen3 >= 3.1.2'           : yes 
Checking for header windows.h            : not found 
Checking for 'portaudio-2.0 >= 19'       : not found 
Checking for header mmsystem.h           : not found 
Checking for 'celt >= 0.11.0'            : not found 
Checking for 'celt >= 0.8.0'             : not found 
Checking for 'celt >= 0.7.0'             : not found 
Checking for 'celt >= 0.5.0'             : not found 
Checking for header opus/opus_custom.h   : not found 
Checking for 'opus >= 0.9.0'             : yes 
Checking for 'samplerate'                : yes 
Checking for 'sndfile'                   : yes 
Checking for library readline            : yes 
Checking for header readline/readline.h  : yes 
Checking for header systemd/sd-daemon.h  : yes 
Checking for library systemd             : yes 
Checking for header db.h                 : yes 
Checking for library db                  : yes 
Checking for header alloca.h             : yes 
Checking for ppoll                       : yes 
Checking for header execinfo.h           : yes 
Checking for ucontext->uc_mcontext.gp_regs : no 
Checking for ucontext->uc_mcontext.uc_regs : no 
Checking for ucontext->uc_mcontext.mc_gregs : no 
Checking for ucontext->uc_mcontext.gregs    : yes 
Checking for NGREG                          : yes 

==================
JACK 1.9.14 svn revision will checked and eventually updated during build
Maximum JACK clients                        : 256 
Maximum ports per application               : 2048 
Install prefix                              : /usr 
Library directory                           : /usr/lib 
Drivers directory                           : /usr/lib/jack 
Build debuggable binaries                   : no 
C compiler flags                            : ['-Wall'] 
C++ compiler flags                          : ['-Wall', '-std=gnu++11'] 
Linker flags                                : ['-Wl,--no-undefined'] 
Build with engine profiling                 : no 
Build with 32/64 bits mixed mode            : no 
Build standard JACK (jackd)                 : yes 
Build D-Bus JACK (jackdbus)                 : no 
Autostart method                            : classic 
Build doxygen documentation                 : no 
Enable ALSA driver                          : yes 
Enable FireWire driver (FFADO)              : yes 
Enable IIO driver                           : no 
Enable Portaudio driver                     : no 
Enable WinMME driver                        : no 
Build with CELT                             : no 
Build Opus netjack2                         : no 
Build with libsamplerate                    : yes 
Build with libsndfile                       : yes 
Build with readline                         : yes 
Use systemd notify                          : yes 
Use Berkeley DB (metadata)                  : yes 

'configure' finished successfully (0.456s)

Output from compilation:

$ ./waf
Waf: Entering directory `/home/stan/Ontwikkeling/Overige/jack2/build'
[  1/265] Compiling svnversion_regenerate.sh
[  2/265] Compiling jack.pc.in
Generated /home/stan/Ontwikkeling/Overige/jack2/build/svnversion.h (0+19c5cf73ee768b387388a3424210f534b24be411)

[  3/265] Compiling posix/JackPosixThread.cpp
[  4/265] Compiling posix/JackPosixProcessSync.cpp
[  5/265] Compiling linux/JackLinuxTime.c
[  6/265] Compiling common/JackMidiPort.cpp
[  7/265] Compiling common/JackMidiAPI.cpp
[  8/265] Compiling common/JackActivationCount.cpp
[  9/265] Compiling posix/JackPosixServerLaunch.cpp
[ 10/265] Compiling common/JackPortType.cpp
[ 11/265] Compiling linux/JackLinuxFutex.cpp
[ 12/265] Compiling posix/JackSocketClientChannel.cpp
[ 13/265] Compiling common/JackPort.cpp
[ 14/265] Compiling posix/JackSocket.cpp
[ 15/265] Compiling common/timestamps.c
[ 16/265] Compiling common/JackMessageBuffer.cpp
[ 17/265] Compiling common/JackAPI.cpp
[ 18/265] Compiling common/JackDebugClient.cpp
[ 19/265] Compiling common/JackFrameTimer.cpp
[ 20/265] Compiling common/JackError.cpp
[ 21/265] Compiling common/JackEngineControl.cpp
[ 22/265] Compiling common/ringbuffer.c
[ 23/265] Compiling common/JackShmMem.cpp
[ 24/265] Compiling common/JackGenericClientChannel.cpp
[ 25/265] Compiling common/JackAudioPort.cpp
[ 26/265] Compiling common/JackGraphManager.cpp
[ 27/265] Compiling common/promiscuous.c
[ 28/265] Compiling common/JackClient.cpp
[ 29/265] Compiling common/JackGlobals.cpp
[ 30/265] Compiling common/JackException.cpp
[ 31/265] Compiling common/shm.c
[ 32/265] Compiling common/JackTools.cpp
[ 33/265] Compiling posix/JackPosixMutex.cpp
[ 34/265] Compiling common/JackMetadata.cpp
[ 35/265] Compiling common/JackTransportEngine.cpp
[ 36/265] Compiling common/JackConnectionManager.cpp
[ 37/265] Compiling common/JackLibAPI.cpp
[ 38/265] Compiling common/JackLibClient.cpp
[ 39/265] Compiling common/JackEngineProfiling.cpp
[ 40/265] Compiling common/shm.c
[ 41/265] Compiling common/JackMidiPort.cpp
[ 42/265] Compiling common/JackNetInterface.cpp
[ 43/265] Compiling common/JackAudioPort.cpp
../common/JackMetadata.cpp: In destructor ‘Jack::JackMetadata::~JackMetadata()’:
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/metadata.db’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:71:18: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/metadata.db", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/__db.001’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:74:18: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/__db.001", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/__db.002’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:77:18: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/__db.002", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/__db.003’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:80:18: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/__db.003", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:84:18: note: ‘snprintf’ output between 9 and 4105 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp: In member function ‘int Jack::JackMetadata::PropertyInit()’:
../common/JackMetadata.cpp:90:5: warning: ‘/jack_db’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 int JackMetadata::PropertyInit()
     ^~~~~~~~~~~~
../common/JackMetadata.cpp:118:14: note: ‘snprintf’ output between 9 and 4105 bytes into a destination of size 4097
     snprintf (dbpath, sizeof(dbpath), "%s/jack_db", fDBFilesDir);
     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:90:5: warning: ‘/jack_db/metadata.db’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 int JackMetadata::PropertyInit()
     ^~~~~~~~~~~~
../common/JackMetadata.cpp:138:14: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4097
     snprintf (dbpath, sizeof(dbpath), "%s/jack_db/metadata.db", fDBFilesDir);
     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 44/265] Compiling common/JackAPI.cpp
[ 45/265] Compiling common/JackActivationCount.cpp
[ 46/265] Compiling common/JackRestartThreadedDriver.cpp
[ 47/265] Compiling posix/JackSocketServerChannel.cpp
[ 48/265] Compiling common/JackThreadedDriver.cpp
[ 49/265] Compiling common/JackMidiRawOutputWriteQueue.cpp
[ 50/265] Linking build/common/libjack.so
[ 51/265] Compiling common/JackServer.cpp
[ 52/265] Compiling common/JackEngineProfiling.cpp
[ 53/265] Compiling posix/JackNetUnixSocket.cpp
[ 54/265] Compiling common/JackMessageBuffer.cpp
[ 55/265] Compiling common/JackDebugClient.cpp
[ 56/265] Compiling posix/JackSocketServerNotifyChannel.cpp
[ 57/265] Compiling common/JackMidiBufferReadQueue.cpp
[ 58/265] Compiling common/JackMidiAsyncWaitQueue.cpp
[ 59/265] Compiling common/JackInternalClient.cpp
[ 60/265] Compiling posix/JackSocketNotifyChannel.cpp
[ 61/265] Compiling common/JackEngineControl.cpp
[ 62/265] Compiling common/JackFreewheelDriver.cpp
[ 63/265] Compiling common/JackMetadata.cpp
[ 64/265] Compiling common/JackExternalClient.cpp
[ 65/265] Compiling common/JackTools.cpp
[ 66/265] Compiling common/JackPortType.cpp
[ 67/265] Compiling common/JackEngine.cpp
[ 68/265] Compiling common/JackMidiWriteQueue.cpp
[ 69/265] Compiling common/JackDriver.cpp
../common/JackMetadata.cpp: In destructor ‘Jack::JackMetadata::~JackMetadata()’:
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/metadata.db’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:71:18: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/metadata.db", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/__db.001’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:74:18: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/__db.001", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/__db.002’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:77:18: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/__db.002", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db/__db.003’ directive output may be truncated writing 17 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:80:18: note: ‘snprintf’ output between 18 and 4114 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db/__db.003", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:54:1: warning: ‘/jack_db’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 JackMetadata::~JackMetadata()
 ^~~~~~~~~~~~
../common/JackMetadata.cpp:84:18: note: ‘snprintf’ output between 9 and 4105 bytes into a destination of size 4097
         snprintf (dbpath, sizeof(dbpath), "%s/jack_db", fDBFilesDir);
         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp: In member function ‘int Jack::JackMetadata::PropertyInit()’:
../common/JackMetadata.cpp:90:5: warning: ‘/jack_db’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 int JackMetadata::PropertyInit()
     ^~~~~~~~~~~~
../common/JackMetadata.cpp:118:14: note: ‘snprintf’ output between 9 and 4105 bytes into a destination of size 4097
     snprintf (dbpath, sizeof(dbpath), "%s/jack_db", fDBFilesDir);
     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../common/JackMetadata.cpp:90:5: warning: ‘/jack_db/metadata.db’ directive output may be truncated writing 20 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
 int JackMetadata::PropertyInit()
     ^~~~~~~~~~~~
../common/JackMetadata.cpp:138:14: note: ‘snprintf’ output between 21 and 4117 bytes into a destination of size 4097
     snprintf (dbpath, sizeof(dbpath), "%s/jack_db/metadata.db", fDBFilesDir);
     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 70/265] Compiling common/JackMidiUtil.cpp
[ 71/265] Compiling common/JackMidiAPI.cpp
[ 72/265] Compiling common/JackMidiDriver.cpp
[ 73/265] Compiling common/JackTimedDriver.cpp
[ 74/265] Compiling common/JackMidiReceiveQueue.cpp
[ 75/265] Compiling common/JackTransportEngine.cpp
[ 76/265] Compiling common/JackAudioDriver.cpp
[ 77/265] Compiling common/JackMidiReadQueue.cpp
[ 78/265] Compiling common/JackGraphManager.cpp
[ 79/265] Compiling common/JackGlobals.cpp
[ 80/265] Compiling linux/JackLinuxTime.c
[ 81/265] Compiling common/JackMidiBufferWriteQueue.cpp
[ 82/265] Compiling common/JackFrameTimer.cpp
[ 83/265] Compiling linux/JackLinuxFutex.cpp
[ 84/265] Compiling common/JackArgParser.cpp
[ 85/265] Compiling common/JackRequestDecoder.cpp
[ 86/265] Compiling posix/JackPosixMutex.cpp
[ 87/265] Compiling common/JackMidiAsyncQueue.cpp
[ 88/265] Compiling common/JackInternalSessionLoader.cpp
[ 89/265] Compiling posix/JackSocket.cpp
[ 90/265] Compiling common/JackPort.cpp
[ 91/265] Compiling common/JackServerGlobals.cpp
[ 92/265] Compiling common/JackNetTool.cpp
[ 93/265] Compiling posix/JackPosixProcessSync.cpp
[ 94/265] Compiling common/JackControlAPI.cpp
[ 95/265] Compiling posix/JackPosixThread.cpp
[ 96/265] Compiling common/JackMidiRawInputWriteQueue.cpp
[ 97/265] Compiling common/JackDriverLoader.cpp
[ 98/265] Compiling common/timestamps.c
[ 99/265] Compiling common/JackShmMem.cpp
[100/265] Compiling common/promiscuous.c
[101/265] Compiling common/JackException.cpp
[102/265] Compiling common/JackError.cpp
[103/265] Compiling common/JackServerAPI.cpp
[104/265] Compiling common/JackGenericClientChannel.cpp
[105/265] Compiling common/JackConnectionManager.cpp
[106/265] Compiling common/JackClient.cpp
[107/265] Compiling common/ringbuffer.c
[108/265] Compiling common/JackWaitCallbackDriver.cpp
[109/265] Compiling common/JackWaitThreadedDriver.cpp
[110/265] Compiling common/JackMidiSendQueue.cpp
[111/265] Compiling common/ringbuffer.c
[112/265] Compiling linux/JackLinuxTime.c
[113/265] Compiling common/JackGlobals.cpp
[114/265] Compiling common/JackException.cpp
[115/265] Compiling posix/JackPosixMutex.cpp
[116/265] Compiling common/JackNetTool.cpp
[117/265] Compiling posix/JackNetUnixSocket.cpp
[118/265] Compiling common/JackNetInterface.cpp
[119/265] Compiling common/JackLibSampleRateResampler.cpp
[120/265] Compiling posix/JackPosixThread.cpp
[121/265] Compiling common/JackResampler.cpp
[122/265] Linking build/common/libjackserver.so
[123/265] Compiling common/JackAudioAdapterInterface.cpp
[124/265] Compiling common/JackNetAPI.cpp
[125/265] Compiling example-clients/inprocess.c
[126/265] Compiling common/JackNetManager.cpp
[127/265] Compiling common/JackProfiler.cpp
[128/265] Compiling common/JackAudioAdapter.cpp
[129/265] Compiling common/JackAudioAdapterInterface.cpp
[130/265] Linking build/example-clients/inprocess.so
[131/265] Compiling common/JackLibSampleRateResampler.cpp
[132/265] Compiling common/JackResampler.cpp
[133/265] Compiling common/JackNetAdapter.cpp
[134/265] Compiling common/JackAudioAdapter.cpp
[135/265] Compiling common/JackResampler.cpp
[136/265] Compiling linux/alsa/JackAlsaAdapter.cpp
[137/265] Compiling common/JackAudioAdapterInterface.cpp
[138/265] Compiling common/JackAudioAdapterFactory.cpp
[139/265] Compiling common/JackLibSampleRateResampler.cpp
[140/265] Compiling common/Jackdmp.cpp
[141/265] Linking build/common/libjacknet.so
[142/265] Linking build/common/profiler.so
[143/265] Compiling common/JackDummyDriver.cpp
[144/265] Compiling common/JackLoopbackDriver.cpp
[145/265] Compiling common/JackNetDriver.cpp
[146/265] Compiling common/netjack.c
[147/265] Linking build/common/netmanager.so
[148/265] Linking build/common/netadapter.so
[149/265] Compiling common/netjack_packet.c
[150/265] Linking build/jackd
[151/265] Linking build/common/audioadapter.so
[152/265] Compiling common/JackNetOneDriver.cpp
[153/265] Compiling common/JackProxyDriver.cpp
[154/265] Compiling linux/alsa/alsa_midi_jackmp.cpp
[155/265] Compiling linux/alsa/alsa_seqmidi.c
[156/265] Linking build/jack_dummy.so
[157/265] Linking build/jack_loopback.so
[158/265] Compiling linux/alsa/JackAlsaDriver.cpp
[159/265] Compiling linux/alsa/hammerfall.c
[160/265] Compiling linux/alsa/ice1712.c
[161/265] Compiling linux/alsa/alsa_driver.c
[162/265] Compiling linux/alsa/hdsp.c
[163/265] Compiling linux/alsa/alsa_rawmidi.c
[164/265] Compiling linux/alsa/generic_hw.c
[165/265] Compiling common/memops.c
[166/265] Compiling linux/alsarawmidi/JackALSARawMidiUtil.cpp
[167/265] Compiling linux/alsarawmidi/JackALSARawMidiOutputPort.cpp
[168/265] Compiling linux/alsarawmidi/JackALSARawMidiDriver.cpp
../linux/alsa/alsa_rawmidi.c: In function ‘midi_port_open’:
../linux/alsa/alsa_rawmidi.c:475:36: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 63 [-Wformat-truncation=]
   snprintf(name, sizeof(name), "%s %d", port->name, num);
                                    ^~
../linux/alsa/alsa_rawmidi.c:475:3: note: ‘snprintf’ output between 3 and 76 bytes into a destination of size 64
   snprintf(name, sizeof(name), "%s %d", port->name, num);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[169/265] Compiling linux/alsarawmidi/JackALSARawMidiReceiveQueue.cpp
[170/265] Linking build/jack_net.so
[171/265] Compiling linux/alsarawmidi/JackALSARawMidiPort.cpp
[172/265] Compiling linux/alsarawmidi/JackALSARawMidiInputPort.cpp
[173/265] Linking build/jack_proxy.so
[174/265] Linking build/jack_netone.so
[175/265] Compiling linux/alsarawmidi/JackALSARawMidiSendQueue.cpp
[176/265] Compiling linux/firewire/JackFFADOMidiReceiveQueue.cpp
[177/265] Compiling linux/firewire/JackFFADODriver.cpp
[178/265] Compiling linux/firewire/JackFFADOMidiInputPort.cpp
../linux/alsa/JackAlsaDriver.cpp: In function ‘jack_driver_param_constraint_desc_t* enum_alsa_devices()’:
../linux/alsa/JackAlsaDriver.cpp:583:1: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-truncation=]
 enum_alsa_devices()
 ^~~~~~~~~~~~~~~~~
../linux/alsa/JackAlsaDriver.cpp:624:25: note: ‘snprintf’ output between 3 and 140 bytes into a destination of size 128
                 snprintf(device_id.str, sizeof(device_id.str), "%s,%d", card_id.str, device_no);
                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[179/265] Compiling linux/firewire/JackFFADOMidiOutputPort.cpp
[180/265] Linking build/jack_alsa.so
[181/265] Compiling linux/firewire/JackFFADOMidiSendQueue.cpp
[182/265] Compiling example-clients/freewheel.c
[183/265] Compiling example-clients/connect.c
[184/265] Compiling example-clients/lsp.c
[185/265] Linking build/example-clients/jack_freewheel
[186/265] Compiling example-clients/metro.c
[187/265] Linking build/jack_alsarawmidi.so
[188/265] Linking build/example-clients/jack_connect
../example-clients/lsp.c: In function ‘main’:
../example-clients/lsp.c:249:6: warning: ‘jack_port_get_total_latency’ is deprecated [-Wdeprecated-declarations]
      jack_port_get_total_latency (client, port));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../example-clients/lsp.c:26:0:
../common/jack/jack.h:1238:16: note: declared here
 jack_nframes_t jack_port_get_total_latency (jack_client_t *client,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~

[189/265] Compiling example-clients/midiseq.c
[190/265] Linking build/example-clients/jack_lsp
../example-clients/metro.c: In function ‘main’:
../example-clients/metro.c:138:6: warning: variable ‘verbose’ set but not used [-Wunused-but-set-variable]
  int verbose = 0;
      ^~~~~~~

[191/265] Compiling example-clients/midisine.c
[192/265] Linking build/example-clients/jack_metro
../example-clients/midiseq.c: In function ‘main’:
../example-clients/midiseq.c:85:17: warning: variable ‘nframes’ set but not used [-Wunused-but-set-variable]
  jack_nframes_t nframes;
                 ^~~~~~~

[193/265] Linking build/example-clients/jack_midiseq
[194/265] Linking build/example-clients/jack_midisine
[195/265] Compiling example-clients/showtime.c
[196/265] Compiling example-clients/simple_client.c
[197/265] Compiling example-clients/zombie.c
[198/265] Compiling example-clients/ipload.c
[199/265] Compiling example-clients/ipunload.c
[200/265] Linking build/example-clients/jack_showtime
[201/265] Compiling example-clients/alias.c
[202/265] Linking build/example-clients/jack_simple_client
[203/265] Linking build/example-clients/jack_zombie
[204/265] Linking build/example-clients/jack_unload
[205/265] Linking build/jack_firewire.so
[206/265] Linking build/example-clients/jack_load
[207/265] Compiling example-clients/bufsize.c
[208/265] Compiling example-clients/wait.c
[209/265] Linking build/example-clients/jack_alias
[210/265] Compiling example-clients/samplerate.c
[211/265] Compiling example-clients/evmon.c
[212/265] Linking build/example-clients/jack_wait
[213/265] Compiling example-clients/monitor_client.c
[214/265] Linking build/example-clients/jack_bufsize
[215/265] Compiling example-clients/thru_client.c
[216/265] Linking build/example-clients/jack_samplerate
[217/265] Compiling example-clients/cpu_load.c
[218/265] Compiling example-clients/simple_session_client.c
[219/265] Linking build/example-clients/jack_monitor_client
[220/265] Compiling example-clients/session_notify.c
[221/265] Linking build/example-clients/jack_evmon
[222/265] Linking build/example-clients/jack_thru
[223/265] Compiling example-clients/server_control.cpp
[224/265] Linking build/example-clients/jack_cpu_load
../example-clients/simple_session_client.c: In function ‘session_callback’:
../example-clients/simple_session_client.c:57:9: warning: ‘jack_session_reply’ is deprecated [-Wdeprecated-declarations]
         jack_session_reply( client, event );
         ^~~~~~~~~~~~~~~~~~
In file included from ../example-clients/simple_session_client.c:17:0:
../common/jack/session.h:204:5: note: declared here
 int jack_session_reply (jack_client_t        *client,
     ^~~~~~~~~~~~~~~~~~
../example-clients/simple_session_client.c:63:9: warning: ‘jack_session_event_free’ is deprecated [-Wdeprecated-declarations]
         jack_session_event_free (event);
         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../example-clients/simple_session_client.c:17:0:
../common/jack/session.h:217:6: note: declared here
 void jack_session_event_free (jack_session_event_t *event) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
      ^~~~~~~~~~~~~~~~~~~~~~~
../example-clients/simple_session_client.c: In function ‘main’:
../example-clients/simple_session_client.c:123:9: warning: ‘jack_set_session_callback’ is deprecated [-Wdeprecated-declarations]
         jack_set_session_callback (client, session_callback, NULL);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../example-clients/simple_session_client.c:17:0:
../common/jack/session.h:187:5: note: declared here
 int jack_set_session_callback (jack_client_t       *client,
     ^~~~~~~~~~~~~~~~~~~~~~~~~

[225/265] Linking build/example-clients/jack_simple_session_client
[226/265] Compiling example-clients/netslave.c
[227/265] Compiling example-clients/netmaster.c
[228/265] Compiling example-clients/latent_client.c
../example-clients/netslave.c: In function ‘main’:
../example-clients/netslave.c:136:5: warning: ‘jack_set_net_slave_shutdown_callback’ is deprecated [-Wdeprecated-declarations]
     jack_set_net_slave_shutdown_callback(net, net_shutdown, NULL);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../example-clients/netslave.c:30:0:
../common/jack/net.h:233:5: note: declared here
 int jack_set_net_slave_shutdown_callback(jack_net_slave_t *net, JackNetSlaveShutdownCallback shutdown_callback, void *arg) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[229/265] Compiling example-clients/midi_dump.c
[230/265] Linking build/example-clients/jack_server_control
../example-clients/session_notify.c: In function ‘main’:
../example-clients/session_notify.c:181:2: warning: ‘jack_session_commands_free’ is deprecated [-Wdeprecated-declarations]
  jack_session_commands_free(retval);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../example-clients/session_notify.c:32:0:
../common/jack/session.h:266:6: note: declared here
 void jack_session_commands_free (jack_session_command_t *cmds) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
      ^~~~~~~~~~~~~~~~~~~~~~~~~~

[231/265] Linking build/example-clients/jack_session_notify
[232/265] Linking build/example-clients/jack_net_slave
[233/265] Linking build/example-clients/jack_net_master
[234/265] Linking build/example-clients/jack_latent_client
[235/265] Compiling example-clients/midi_latency_test.c
[236/265] Compiling example-clients/simdtests.cpp
[237/265] Compiling example-clients/property.c
[238/265] Linking build/example-clients/jack_midi_dump
[239/265] Compiling example-clients/transport.c
[240/265] Compiling example-clients/capture_client.c
[241/265] Compiling common/netjack_packet.c
[242/265] Linking build/example-clients/jack_midi_latency_test
[243/265] Compiling example-clients/netsource.c
[244/265] Compiling example-clients/alsa_in.c
[245/265] Linking build/example-clients/jack_property
[246/265] Linking build/example-clients/jack_rec
[247/265] Linking build/example-clients/jack_transport
[248/265] Compiling common/memops.c
../example-clients/alsa_in.c: In function ‘set_swparams’:
../example-clients/alsa_in.c:269:2: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated [-Wdeprecated-declarations]
  err = snd_pcm_sw_params_set_xfer_align(handle, swparams, 1);
  ^~~
In file included from /usr/include/alsa/asoundlib.h:54:0,
                 from ../example-clients/alsa_in.c:20:
/usr/include/alsa/pcm.h:1302:5: note: declared here
 int snd_pcm_sw_params_set_xfer_align(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) __attribute__((deprecated));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[249/265] Linking build/example-clients/jack_simdtests
[250/265] Compiling example-clients/alsa_out.c
[251/265] Compiling common/memops.c
[252/265] Compiling tests/test.cpp
[253/265] Linking build/example-clients/jack_netsource
[254/265] Compiling tests/cpu.c
[255/265] Compiling tests/iodelay.cpp
[256/265] Compiling tests/external_metro.cpp
[257/265] Linking build/example-clients/alsa_in
../example-clients/alsa_out.c: In function ‘set_swparams’:
../example-clients/alsa_out.c:270:2: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated [-Wdeprecated-declarations]
  err = snd_pcm_sw_params_set_xfer_align(handle, swparams, 1);
  ^~~
In file included from /usr/include/alsa/asoundlib.h:54:0,
                 from ../example-clients/alsa_out.c:21:
/usr/include/alsa/pcm.h:1302:5: note: declared here
 int snd_pcm_sw_params_set_xfer_align(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val) __attribute__((deprecated));
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[258/265] Linking build/example-clients/alsa_out
../tests/cpu.c: In function ‘process’:
../tests/cpu.c:81:31: warning: variable ‘in’ set but not used [-Wunused-but-set-variable]
  jack_default_audio_sample_t *in, *out;
                               ^~

[259/265] Linking build/tests/jack_cpu
[260/265] Linking build/tests/jack_iodelay
[261/265] Linking build/tests/jack_test
[262/265] Linking build/tests/jack_multiple_metro
[263/265] Symlinking build/common/libjack.so
[264/265] Symlinking build/common/libjackserver.so
[265/265] Symlinking build/common/libjacknet.so
Waf: Leaving directory `/home/stan/Ontwikkeling/Overige/jack2/build'
'build' finished successfully (5.831s)

I only have libjack for jack 1 installed from APT at the moment:

$ sudo apt list --installed | grep jack

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libjack0/bionic,now 1:0.125.0-3 amd64 [installed,automatic]

If there is other information that I can supply, please let me know. I'd like to help solve this.

stan-janssen commented 4 years ago

I solved the problem by calling:

sudo ldconfig

after installing. It works fine now.