<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>On 29-05-2015 00:10, Dirk Hohndel
        wrote:</tt><tt><br>
      </tt></div>
    <blockquote cite="mid:20150528231058.GP3054@rrmbpvm.gr8dns.org"
      type="cite"><tt>
        Try again. Now the new code only builds if you set
        USE_LIBGIT23_API and
        have a very recent git master of libgit2 installed.
        /D
      </tt></blockquote>
    <tt><br>
    </tt><tt>I get the same error:</tt><tt><br>
    </tt><tt><br>
    </tt><tt>
    </tt>
    <title>Konsole output</title>
    <tt>
    </tt>
    <div>
      <tt><span style="color:#000000;background-color:#ffffff;">[ 47%] </span></tt><tt><span
          style="color:#18b218;background-color:#ffffff;">Building C
          object CMakeFiles/subsurface_corelib.dir/git-access.c.o</span></tt><tt><span
          style="color:#000000;background-color:#ffffff;">
        </span></tt><tt><br>
      </tt><tt>/home/paneves/Diveapps/subsurface/git-access.c: In
        function ‘update_local_repo’:</tt><tt><span
          style="color:#18b218;background-color:#ffffff;">
                                                                                                                                                                                              </span></tt><tt><span
          style="color:#000000;background-color:#ffffff;"> </span></tt><tt><br>
      </tt><tt>/home/paneves/Diveapps/subsurface/git-access.c:111:2:
        error: unknown type name ‘git_fetch_options’
      </tt><tt><br>
      </tt><tt>  git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
      </tt><tt><br>
      </tt><tt>  ^
      </tt><tt><br>
      </tt><tt>/home/paneves/Diveapps/subsurface/git-access.c:111:27:
        error: ‘GIT_FETCH_OPTIONS_INIT’ undeclared (first use in this
        function)
      </tt><tt><br>
      </tt><tt>  git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
      </tt><tt><br>
      </tt><tt>                           ^
      </tt><tt><br>
      </tt><tt>/home/paneves/Diveapps/subsurface/git-access.c:111:27:
        note: each undeclared identifier is reported only once for each
        function it appears in
      </tt><tt><br>
      </tt><tt>/home/paneves/Diveapps/subsurface/git-access.c:116:41:
        warning: passing argument 3 of ‘git_remote_fetch’ from
        incompatible pointer type
      </tt><tt><br>
      </tt><tt>  error = git_remote_fetch(origin, NULL, &opts,
        NULL);
      </tt><tt><br>
      </tt><tt>                                         ^
      </tt><tt><br>
      </tt><tt>In file included from
        /home/paneves/Diveapps/install-root/include/git2/clone.h:14:0,
      </tt><tt><br>
      </tt><tt>                 from
        /home/paneves/Diveapps/install-root/include/git2.h:19,
      </tt><tt><br>
      </tt><tt>                 from
        /home/paneves/Diveapps/subsurface/git-access.c:11:
      </tt><tt><br>
      </tt><tt>/home/paneves/Diveapps/install-root/include/git2/remote.h:412:17:
        note: expected ‘const struct git_signature *’ but argument is of
        type ‘int *’
      </tt><tt><br>
      </tt><tt> GIT_EXTERN(int) git_remote_fetch(
      </tt><tt><br>
      </tt><tt>                 ^
      </tt><tt><br>
      </tt><tt>CMakeFiles/subsurface_corelib.dir/build.make:261: recipe
        for target 'CMakeFiles/subsurface_corelib.dir/git-access.c.o'
        failed
      </tt><tt><br>
      </tt><tt>make[2]: ***
        [CMakeFiles/subsurface_corelib.dir/git-access.c.o] Error 1
      </tt><tt><br>
      </tt><tt>CMakeFiles/Makefile2:454: recipe for target
        'CMakeFiles/subsurface_corelib.dir/all' failed
      </tt><tt><br>
      </tt><tt>make[1]: *** [CMakeFiles/subsurface_corelib.dir/all]
        Error 2
      </tt><tt><br>
      </tt><tt>Makefile:127: recipe for target 'all' failed
      </tt><tt><br>
      </tt><tt>make: *** [all] Error 2</tt><tt><br>
      </tt>
      <tt><br>
      </tt></div>
    <tt>
    </tt><tt><br>
      Do I need to clean my src or anything, before atempting to build?<br>
      <br>
    </tt><tt>Cheers:<br>
    </tt><tt>Pedro</tt>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <tt><br>
    </tt><tt><br>
    </tt>
  </body>
</html>