smtk2ssrf make error

Salvador Cuñat salvador.cunat at gmail.com
Sat Feb 11 04:06:42 PST 2017


Good morning Alessandro

On Sat, Feb 11, 2017 at 10:26:57AM +0000, Alessandro Volpi wrote:
> 
> The build.sh script execution resulted in a new failure, see the attached
> build.log file. I think I am missing something ...
> 
> >

> building Subsurface in subsurface/build
> Building in /home/ale/src, installing in /home/ale/src/install-root
> Cloning into 'libgit2'...
> Note: checking out 'v0.24.5'.
>          ......................
>
> /home/ale/src/subsurface/smtk-import/smartrak.c: In function ‘prepare_data’:
> /home/ale/src/subsurface/smtk-import/smartrak.c:610:54: error: dereferencing pointer to incomplete type ‘dc_descriptor_t {aka struct dc_descriptor_t}’
>    dev_data->vendor = copy_string(dev_data->descriptor->vendor);
>                                                       ^~
> smtk-import/CMakeFiles/smtk_import.dir/build.make:62: recipe for target 'smtk-import/CMakeFiles/smtk_import.dir/smartrak.c.o' failed
> make[2]: *** [smtk-import/CMakeFiles/smtk_import.dir/smartrak.c.o] Error 1
> CMakeFiles/Makefile2:844: recipe for target 'smtk-import/CMakeFiles/smtk_import.dir/all' failed
> make[1]: *** [smtk-import/CMakeFiles/smtk_import.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....

It looks like you are building against subsurface tag v4.6.0.  There
were some last time changes in some functions, which went unnoticed
for me before the release.
It was fixed after the release, so it should build with latest git
master.
Any way, if you prefer building tagged releases, 4.6.1 is expected to
be released this weekend, probably tomorrow.

Best regards.

Salva


More information about the subsurface mailing list