build failure with current version

Dirk Hohndel dirk at hohndel.org
Sat Nov 14 10:18:30 PST 2015


> On Nov 14, 2015, at 10:15 AM, Stephen Hemminger <stephen at networkplumber.org> wrote:
> 
> Started in a fresh checkout on Debian 8 (Jessie) with all listed
> required packages installed.
> 
> Scanning dependencies of target subsurface
> [ 98%] [ 98%] [100%] [100%] Building CXX object CMakeFiles/subsurface.dir/subsurface-desktop-main.cpp.o
> Building CXX object CMakeFiles/subsurface.dir/subsurface-desktop-helper.cpp.o
> Building CXX object CMakeFiles/subsurface.dir/qrc_subsurface.cpp.o
> Building CXX object CMakeFiles/subsurface.dir/subsurface_automoc.cpp.o
> Linking CXX executable subsurface
> desktop-widgets/libsubsurface_interface.a(mainwindow.cpp.o): In function `MainWindow::readSettings()':
> /home/shemminger/build/subsurface/desktop-widgets/mainwindow.cpp:1238: undefined reference to `init_proxy()'
> collect2: error: ld returned 1 exit status
> CMakeFiles/subsurface.dir/build.make:264: recipe for target 'subsurface' failed
> make[2]: *** [subsurface] Error 1
> CMakeFiles/Makefile2:271: recipe for target 'CMakeFiles/subsurface.dir/all' failed
> make[1]: *** [CMakeFiles/subsurface.dir/all] Error 2
> Makefile:117: recipe for target 'all' failed
> make: *** [all] Error 2

Oops - I tested both desktop and mobile build. I wonder what I messed up there.
init_proxy() is in qthelper.cpp so should be in subsurface-core

> PS: Build appears to be completely single threaded.
> Is there anyway to do a parallel build?

make -j24 works nicely :-)

/D



More information about the subsurface mailing list