When configuring synthv1 (SVN trunk) with ./configure --disable-jack, make gives the following error:
g++ -Wl,-O1 -o synthv1_jack .obj_jack/synthv1.o .obj_jack/synthv1_jack.o .obj_jack/synthv1_nsm.o .obj_jack/synthv1widget.o .obj_jack/synthv1widget_env.o .obj_jack/synthv1widget_filt.o .obj_jack/synthv1widget_wave.o .obj_jack/synthv1widget_knob.o .obj_jack/synthv1widget_preset.o .obj_jack/synthv1widget_status.o .obj_jack/synthv1widget_config.o .obj_jack/synthv1widget_jack.o .obj_jack/moc_synthv1_nsm.o .obj_jack/moc_synthv1widget.o .obj_jack/moc_synthv1widget_env.o .obj_jack/moc_synthv1widget_filt.o .obj_jack/moc_synthv1widget_wave.o .obj_jack/moc_synthv1widget_knob.o .obj_jack/moc_synthv1widget_preset.o .obj_jack/moc_synthv1widget_status.o .obj_jack/moc_synthv1widget_jack.o .obj_jack/qrc_synthv1.o -L/usr/lib64/qt4 -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -llo -lQtXml -L/usr/lib64/qt4 -lQtGui -L/usr/X11R6/lib -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread
.obj_jack/synthv1_jack.o: In function synthv1_jack::process(unsigned int)':
synthv1_jack.cpp:(.text+0x154): undefined reference tojack_port_get_buffer'
synthv1_jack.cpp:(.text+0x169): undefined reference to jack_port_get_buffer'
.obj_jack/synthv1_jack.o: In functionsynthv1_jack::open(char const*)':
synthv1_jack.cpp:(.text+0x1eb): undefined reference to jack_client_open'
synthv1_jack.cpp:(.text+0x200): undefined reference tojack_get_sample_rate'
synthv1_jack.cpp:(.text+0x2a6): undefined reference to jack_port_register'
synthv1_jack.cpp:(.text+0x2f5): undefined reference tojack_port_register'
synthv1_jack.cpp:(.text+0x324): undefined reference to jack_set_process_callback'
.obj_jack/synthv1_jack.o: In functionsynthv1_jack::close()':
synthv1_jack.cpp:(.text+0x3d7): undefined reference to jack_port_unregister'
synthv1_jack.cpp:(.text+0x417): undefined reference tojack_port_unregister'
synthv1_jack.cpp:(.text+0x4aa): undefined reference to jack_client_close'
.obj_jack/synthv1_jack.o: In functionsynthv1_jack::activate()':
synthv1_jack.cpp:(.text+0x354): undefined reference to jack_activate'
.obj_jack/synthv1_jack.o: In functionsynthv1_jack::deactivate()':
synthv1_jack.cpp:(.text+0x37a): undefined reference to jack_deactivate'
collect2: error: ld returned 1 exit status
make[2]: *** [synthv1_jack] Error 1
make[2]: Leaving directory/home/kalle/Sources/synthv1-svn/src'
make[1]: *** [sub-src-src_jack-pro-make_default] Error 2
make[1]: Leaving directory `/home/kalle/Sources/synthv1-svn'
make: *** [jack] Error 2
please note that the default combined build is not effective when you either configure --disable-jack or --disable-lv2.
please follow, in either case,
a. to build the jack standalone client and only:
b. to build the lv2 plugin and only:
hth.
cheers
In my opinion jack should not be included in all targets if --disable-jack is given. Likewise for lv2. I'm attaching a patch that will let them to be conditionally included in all targets.
brilliant! i'll apply and commit right away. :)
thanks
fixed on svn trunk [r131]
thanks
Related
Commit: <Commit _id='50422cd51be1ce52e7042f57:131' tree_id='eed89e1419d2c8c6c797cd5e8e9b585100a77b3c' committed=I{'date': datetime.datetime(2013, 5, 4, 19, 20, 40, 621000), 'email': '', 'name': 'rncbc'} authored=I{'date': datetime.datetime(2013, 5, 4, 19, 20, 40, 621000), 'email': '', 'name': 'rncbc'} message='- Fixed exclusive/alternate build targets (lv2, jack).' parent_ids=I['50422cd51be1ce52e7042f57:130'] child_ids=I['50422cd51be1ce52e7042f57:132'] repo_ids=I[ObjectId('50422cd51be1ce52e7042f57')]>
Perfect! Thank you very much!