<br><br><div class="gmail_quote">On Mon, Mar 16, 2009 at 3:32 AM, John Emmas <span dir="ltr"><<a href="mailto:johne53@tiscali.co.uk">johne53@tiscali.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
----- Original Message ----- From: "Sampsa Riikonen"<br>
Subject: Re: [Ardour-Users] very big latencies..<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I installed v. 0.116.2 using subversion..<br>
<br>
Now it seems I am getting dependency-hell.. :(<br>
<br>
Now jack says when I start ardour:<br>
<br>
JACK protocol mismatch (22 vs 24)<br>
cannot complete client connection process<br>
<br>
I hope I can uninstall that new version I just installed..!<br>
<br>
</blockquote></div>
Assuming you're building Ardour from source, did you remember to rebuild<br>
Ardour after you upgraded Jack?  Ardour links to libjack so if the<br>
connection protocol has changed you'll need to rebuild Ardour (likewise,<br>
anything else that you build from source that links to libjack).</blockquote><div><br>this is absolutely not true.<br><br>there is never any need to recompile applications that use JACK when the client/server communication protocol changes. the client has no control over the protocol, it does not dictate which version is used, etc. etc. this assumes that the client uses shared linkage, which AFAIK just about everybody does (partly for this very reason).<br>
<br>there is a need to recompile them when the client-side API changes. but this hardly ever happens. for example, the relatively recent changes that were made to fix support for mixed 32/64 bit host & clients altered the data structures internal to JACK in quite fundamental ways. however, it had absolutely no effect on the public data structures of the API and thus no client needed recompilation. <br>
<br>it has been sometime since recompilation was necessary. i am not sure quite how long, but i believe more than a year.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Essentially, what's happened is that jack 0.116.2 is using a newer protocol<br>
(24) but Ardour isn't aware of that and is still trying to connect using an<br>
earlier protocol (22).  </blockquote><div><br>if ardour uses shared linkage to libjack, it will be using whatever version of the client/server protocol is present in the library discovered at runtime. if the library is the correct version (w.r.t. the server), things work, and this is the case where you have a single, correctly installed version of JACK. if you have multiple versions of the library and/or the server, there is obviously potential for version mismatching, and thats when you can see this error.<br>
<br>--p<br> <br></div></div><br>