davidedmundson / xembed-sni-proxy

Convert XEmbed system tray icons to SNI icons
GNU General Public License v2.0
32 stars 6 forks source link

Failed build commit a470995 #19

Closed FadeMind closed 8 years ago

FadeMind commented 8 years ago

Cannot build commit a4709952bd4e459c8ccf4f2ce9c313aa8316b6e8

Log: https://pastebin.com/raw.php?i=n8pJC0jG

Lastest lines:

[ 92%] Building CXX object CMakeFiles/xembedsniproxy.dir/xembedsniproxy_automoc.cpp.o
/home/tomasz/xembed-sni-proxy-git/src/xembed-sni-proxy/sniproxy.cpp: In constructor 'SNIProxy::SNIProxy(xcb_window_t, QObject*)':
/home/tomasz/xembed-sni-proxy-git/src/xembed-sni-proxy/sniproxy.cpp:126:53: warning: 'NETWinInfo::NETWinInfo(xcb_connection_t*, xcb_window_t, xcb_window_t, NET::Properties, NET::Role)' is deprecated [-Wdeprecated-declarations]
     NETWinInfo wm(c, m_containerWid, screen->root, 0);
                                                     ^
In file included from /home/tomasz/xembed-sni-proxy-git/src/xembed-sni-proxy/sniproxy.cpp:39:0:
/usr/include/KF5/KWindowSystem/netwm.h:988:30: note: declared here
     KWINDOWSYSTEM_DEPRECATED NETWinInfo(xcb_connection_t *connection, xcb_window_t window,
                              ^
/home/tomasz/xembed-sni-proxy-git/src/xembed-sni-proxy/sniproxy.cpp: In member function 'void SNIProxy::sendClick(uint8_t, int, int)':
/home/tomasz/xembed-sni-proxy-git/src/xembed-sni-proxy/sniproxy.cpp:297:69: warning: narrowing conversion of 'x' from 'int' to 'uint32_t {aka unsigned int}' inside { } [-Wnarrowing]
     const uint32_t config_vals[4] = {x, y, s_embedSize, s_embedSize };
                                                                     ^
/home/tomasz/xembed-sni-proxy-git/src/xembed-sni-proxy/sniproxy.cpp:297:69: warning: narrowing conversion of 'y' from 'int' to 'uint32_t {aka unsigned int}' inside { } [-Wnarrowing]
[100%] Linking CXX executable xembedsniproxy
CMakeFiles/xembedsniproxy.dir/fdoselectionmanager.cpp.o: In function `FdoSelectionManager::onClaimedOwnership()':
fdoselectionmanager.cpp:(.text+0x17): undefined reference to `SNIPROXY()'
fdoselectionmanager.cpp:(.text+0x26): undefined reference to `SNIPROXY()'
CMakeFiles/xembedsniproxy.dir/fdoselectionmanager.cpp.o: In function `FdoSelectionManager::onLostOwnership()':
fdoselectionmanager.cpp:(.text+0x117): undefined reference to `SNIPROXY()'
fdoselectionmanager.cpp:(.text+0x126): undefined reference to `SNIPROXY()'
CMakeFiles/xembedsniproxy.dir/fdoselectionmanager.cpp.o: In function `FdoSelectionManager::onFailedToClaimOwnership()':
fdoselectionmanager.cpp:(.text+0x227): undefined reference to `SNIPROXY()'
CMakeFiles/xembedsniproxy.dir/fdoselectionmanager.cpp.o:fdoselectionmanager.cpp:(.text+0x236): more undefined references to `SNIPROXY()' follow
collect2: error: ld returned 1 exit status
CMakeFiles/xembedsniproxy.dir/build.make:287: recipe for target 'xembedsniproxy' failed
make[2]: *** [xembedsniproxy] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/xembedsniproxy.dir/all' failed
make[1]: *** [CMakeFiles/xembedsniproxy.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
FadeMind commented 8 years ago

FIXED in 392f323f7e15352638ba4090eb6eee3030652220