<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, we use custom field options to mark fields that need to be
    treated in a<br>
    special way when converting to json and back. Currently we only use
    hex option,<br>
    which tells CRIT to represent a field as a hex string, instead of
    decimal integer, <br>
    because json doesn't support hex notation for integers.<br>
    <br>
    Unfortunately, I couldn't find a way to make protoc-c compile
    everything properly<br>
    without this link.<br>
    <br>
    <div class="moz-cite-prefix">On 01/21/2015 08:43 PM, Saied Kazemi
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+Um-ghgPX-5ZMc=Ts1_gYbH7ztiHk=BtwQaLpBz9wGgnncDTA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Thanks for your quick reply.</div>
        </div>
        <div><br>
        </div>
        Yes, that solved the problem.  The failure was confusing because
        I was compiling for months without any issues even when using
        -j.  Anyway, I see that after commit "crit: add --format hex
        option", one has to install libprotobuf-dev for make to work.
        <div><br>
        </div>
        <div>--Saied<br>
          <div><br>
          </div>
          <div>P.S. Isn't having a symbolic link in the build system to
            a hard coded pathname fragile?<br>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jan 21, 2015 at 10:36 AM,
          Ruslan Kuprieiev <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:kupruser@gmail.com"
              target="_blank">kupruser@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi Saied,<br>
              <br>
              That is probably because you don't have protobuf-devel
              package installed.<br>
              We now have it as a dependency.<br>
              <br>
              Could you install it and try again?<br>
              <br>
              Thanks,<br>
              Ruslan
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <div>On 01/21/2015 08:25 PM, Saied Kazemi wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi Cyrill,
                      <div><br>
                      </div>
                      <div>I applied the patch and made sure to start
                        with a clean slate but ran into the following
                        error:
                        <div><br>
                        </div>
                        <div>
                          <div>grep:
                            protobuf/google/protobuf/descriptor.proto:
                            No such file or directory</div>
                        </div>
                        <div><br>
                        </div>
                        <div>Haven't looked into it yet, just wanted to
                          report back before long.</div>
                        <div><br>
                        </div>
                        <div>--Saied</div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Wed, Jan 21, 2015 at
                        3:49 AM, Cyrill Gorcunov <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:gorcunov@openvz.org"
                            target="_blank">gorcunov@openvz.org</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"><br>
                          Instead of generating intermideate files with
                          .SECONDARY<br>
                          helper lets calculate proto deps on the fly.<br>
                          <br>
                          Signed-off-by: Cyrill Gorcunov &lt;<a
                            moz-do-not-send="true"
                            href="mailto:gorcunov@openvz.org"
                            target="_blank">gorcunov@openvz.org</a>&gt;<br>
                          ---<br>
                           protobuf/Makefile | 84
                          ++++++++++++++++++++-----------------------------------<br>
                           1 file changed, 31 insertions(+), 53
                          deletions(-)<br>
                          <br>
                          Guys, could you please test this patch out and
                          tell me if<br>
                          it resolves all the problems for you.<br>
                          <br>
_______________________________________________<br>
                          CRIU mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:CRIU@openvz.org"
                            target="_blank">CRIU@openvz.org</a><br>
                          <a moz-do-not-send="true"
                            href="https://lists.openvz.org/mailman/listinfo/criu"
                            target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
CRIU mailing list
<a moz-do-not-send="true" href="mailto:CRIU@openvz.org" target="_blank">CRIU@openvz.org</a>
<a moz-do-not-send="true" href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>