Linking error with recent libdc

Gaetan Bisson bisson at archlinux.org
Tue Jul 7 20:59:00 PDT 2015


Hi,

I'm getting errors when compiling a recent subsurface (git snapshot
fe8605e) against a recent subsurface-libdc (git snapshot c164cfb,
Subsutface-testing banch). Basically all goes well and then:

[100%] Building CXX object CMakeFiles/subsurface.dir/subsurface_automoc.cpp.o
Linking CXX executable subsurface
libsubsurface_corelib.a(libdivecomputer.c.o): In function `do_libdivecomputer_import':
/build/subsurface-git/src/subsurface/libdivecomputer.c:932: undefined reference to `dc_device_custom_open'
libsubsurface_corelib.a(qtserialbluetooth.cpp.o): In function `dc_serial_qt_open':
/build/subsurface-git/src/subsurface/qtserialbluetooth.cpp:232: undefined reference to `dc_serial_init'
collect2: error: ld returned 1 exit status
CMakeFiles/subsurface.dir/build.make:281: recipe for target 'subsurface' failed
make[2]: *** [subsurface] Error 1
CMakeFiles/Makefile2:514: recipe for target 'CMakeFiles/subsurface.dir/all' failed
make[1]: *** [CMakeFiles/subsurface.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

Any idea what is wrong here?

-- 
Gaetan


More information about the subsurface mailing list