cmake of Subsurface: link errors

Willem Ferguson willemferguson at zoology.up.ac.za
Sun Apr 19 11:24:10 PDT 2015


I build Subsurface (latest git master) using build.sh

I get the following error mesages:
Linking CXX static library libsubsurface_interface.a
[ 92%] Built target subsurface_interface
make: *** [all] Error 2
[  0%] Automoc for target subsurface_corelib
[  0%] Built target subsurface_corelib_automoc
[  0%] Built target version
[ 23%] Built target subsurface_corelib
[ 23%] Automoc for target TestGpsCoords
[ 23%] Built target TestGpsCoords_automoc
Linking CXX executable TestGpsCoords
libsubsurface_corelib.a(git-access.c.o): In function `update_local_repo':
/home/willem/src/subsurface/git-access.c:83: undefined reference to 
`git_remote_lookup'
/home/willem/src/subsurface/git-access.c:91: undefined reference to 
`git_remote_fetch'
libsubsurface_corelib.a(save-git.c.o): In function `new_directory':
/home/willem/src/subsurface/save-git.c:487: undefined reference to 
`git_treebuilder_new'
libsubsurface_corelib.a(save-git.c.o): In function `get_authorship':
/home/willem/src/subsurface/save-git.c:953: undefined reference to 
`git_signature_default'
libsubsurface_corelib.a(save-git.c.o): In function `create_new_commit':
/home/willem/src/subsurface/save-git.c:1038: undefined reference to 
`git_oid_equal'
libsubsurface_corelib.a(save-git.c.o): In function `do_git_save':
/home/willem/src/subsurface/save-git.c:1117: undefined reference to 
`git_treebuilder_new'
collect2: error: ld returned 1 exit status
make[2]: *** [TestGpsCoords] Error 1
make[1]: *** [CMakeFiles/TestGpsCoords.dir/all] Error 2
make: *** [all] Error 2

Anything I could do now?
I know there is currently a lot of activity to get the build to run 
smoothly.

Kind regards,
willem



More information about the subsurface mailing list