View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003775 | ardour | bugs | public | 2011-02-15 21:36 | 2020-04-19 20:15 |
| Reporter | ccaudle | Assigned To | cth103 | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0003775: svn 8864 build fails because ‘jack_latency_callback_mode_t’ has not been declared | ||||
| Description | Checked out latest SVN of Ardour 3 on 15 Feb, ./waf build or ./waf clean;./waf build fail with compilation error. Previously built ardour 3 successfully, on 15 feb ran svn update, then attempted build. Building with gcc 4.5.1 on Fedora 14. Output of build: [173/710] cxx: libs/ardour/audio_track_importer.cc -> build/default/libs/ardour/audio_track_importer_1.o In file included from ../libs/surfaces/control_protocol/control_protocol.cc:24:0: ../libs/ardour/ardour/route.h:251:34: error: ‘jack_latency_callback_mode_t’ has not been declared ../libs/ardour/ardour/route.h:510:59: error: ‘jack_latency_callback_mode_t’ has not been declared In file included from ../libs/ardour/ardour/track.h:24:0, from ../libs/ardour/ardour/audio_track.h:23, from ../libs/ardour/audio_track.cc:31: ../libs/ardour/ardour/route.h:251:34: error: ‘jack_latency_callback_mode_t’ has not been declared ../libs/ardour/ardour/route.h:510:59: error: ‘jack_latency_callback_mode_t’ has not been declared In file included from ../libs/ardour/audio_diskstream.cc:62:0: ../libs/ardour/ardour/route.h:251:34: error: ‘jack_latency_callback_mode_t’ has not been declared ../libs/ardour/ardour/route.h:510:59: error: ‘jack_latency_callback_mode_t’ has not been declared Waf: Leaving directory `/home/chris/Src/Ardour3/3.0/build' Build failed: -> task failed (err 0000001): {task: cxx control_protocol.cc -> control_protocol_1.o} -> task failed (err 0000001): {task: cxx audio_track.cc -> audio_track_1.o} -> task failed (err 0000001): {task: cxx audio_diskstream.cc -> audio_diskstream_1.o} | ||||
| Tags | No tags attached. | ||||
|
|
I re-ran ./waf configure and verified that the check for has new jack latency api returned no. I will upload the config.log file created, although I do not see the nice table of values that gets printed at the end of the configure stage. Does that summary get logged somewhere? |
|
2011-02-15 21:54
|
|
|
|
I grep'ed for jack_latency, and found instances in route.h, port.h, and audioengine.h. In port.h and audioengine.h, there was an #ifdef HAVE_JACK_NEW_LATENCY around places that referenced lack_latency_callback_mode_t but route.h did not have such an #ifdef. Did route.h get some additions or changes which assume that the new jack API additions will be present? |
|
|
Here is the jack I have installed: $ rpm -q jack-audio-connection-kit jack-audio-connection-kit-1.9.6-2.fc14.x86_64 $ rpm -q jack-audio-connection-kit-devel jack-audio-connection-kit-devel-1.9.6-2.fc14.x86_64 1.9.6 from the Fedora 14 standard repositories. Not sure whether Fedora patches jack compared to the upstream release, but I doubt the header changed, so this would probably occur anywhere you were trying to build Ardour 3 using the existing jack release. |
|
|
I reverted route.h and audioengine.cc to 8671, and the build seems to be continuing. I didn't look at the diffs to see how badly that is going to break the logic, but that at least seems to confirm it is just the most recent commits which caused the build breakage. |
|
|
Hits the same thing later in the build in port.cc |
|
|
Fixed in SVN. |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-02-15 21:36 | ccaudle | New Issue | |
| 2011-02-15 21:53 | ccaudle | Note Added: 0010098 | |
| 2011-02-15 21:54 | ccaudle | File Added: config.log | |
| 2011-02-15 23:01 | ccaudle | Note Added: 0010099 | |
| 2011-02-15 23:07 | ccaudle | Note Added: 0010100 | |
| 2011-02-16 02:47 | cth103 | Relationship added | related to 0003776 |
| 2011-02-16 02:48 | cth103 | cost | => 0.00 |
| 2011-02-16 02:48 | cth103 | Status | new => confirmed |
| 2011-02-16 02:48 | cth103 | Target Version | => 3.0-alpha1 |
| 2011-02-16 02:52 | ccaudle | Note Added: 0010108 | |
| 2011-02-16 02:53 | ccaudle | Note Added: 0010109 | |
| 2011-02-16 14:33 | cth103 | Note Added: 0010117 | |
| 2011-02-16 14:33 | cth103 | Status | confirmed => resolved |
| 2011-02-16 14:33 | cth103 | Resolution | open => fixed |
| 2011-02-16 14:33 | cth103 | Assigned To | => cth103 |
| 2020-04-19 20:15 | system | Note Added: 0022405 | |
| 2020-04-19 20:15 | system | Status | resolved => closed |