tce-load -i compiletc cmake ncursesw-dev gtk3-dev curl-dev libpcap-dev libnet-dev cd ettercap-0.8.2 mkdir build cd build cmake -LAH -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_VERBOSE_MAKEFILE=TRUE -DGTK_BUILD_TYPE=GTK3 -DINSTALL_SYSCONFDIR=/usr/local/etc -DPOLKIT_DIR=/usr/local/share/polkit-1/actions -DCURSES_CURSES_LIBRARY="/usr/local/lib/libmenuw.so /usr/local/lib/libpanelw.so" -DCURSES_NCURSES_LIBRARY=/usr/local/lib/libncursesw.so -DCURSES_FORM_LIBRARY=/usr/local/lib/libformw.so -DCURSES_INCLUDE_PATH=/usr/local/include/ncursesw ../ make [0m 32.40s] make install [ 65%] Linking C executable ettercap cd /usr/src/ettercap-0.8.2/build/src && /tmp/tcloop/cmake/usr/local/bin/cmake -E cmake_link_script CMakeFiles/ettercap.dir/link.txt --verbose=1 /usr/local/bin/cc -O2 -w -D_FORTIFY_SOURCE=2 -rdynamic CMakeFiles/ettercap.dir/ec_parser.c.o CMakeFiles/ettercap.dir/ec_main.c.o -o ettercap -Wl,-rpath,/usr/src/ettercap-0.8.2/build/src:/usr/local/lib: interfaces/libec_interfaces.a libettercap.so.0.0.0 /usr/local/lib/libncursesw.so /usr/local/lib/libformw.so /usr/local/lib/libncursesw.so /usr/local/lib/libformw.so /usr/local/lib/libfreetype.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgdk-3.so /usr/local/lib/libgtk-3.so /usr/local/lib/libcairo.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so -lgthread-2.0 /usr/local/lib/libssl.so /usr/local/lib/libcrypto.so -lz -lpthread -ldl /usr/local/lib/libpcap.so /usr/local/lib/libnet.so -lresolv /usr/local/lib/libpcre.so interfaces/libec_interfaces.a(wdg_file.c.o): In function `wdg_file_driver.isra.0': wdg_file.c:(.text+0x1d5): undefined reference to `menu_driver' wdg_file.c:(.text+0x1e0): undefined reference to `current_item' wdg_file.c:(.text+0x1e8): undefined reference to `item_opts' /usr/local/bin/cc -O2 -w -D_FORTIFY_SOURCE=2 -rdynamic CMakeFiles/ettercap.dir/ec_parser.c.o CMakeFiles/ettercap.dir/ec_main.c.o -o ettercap -Wl,-rpath,/usr/src/ettercap-0.8.2/build/src:/usr/local/lib: interfaces/libec_interfaces. a libettercap.so.0.0.0 -L/usr/local/lib -lncursesw -lmenuw -lformw -lpanelw /usr/local/lib/libfreetype.so /usr/local/lib/libglib-2.0.so /us r/local/lib/libgobject-2.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgdk-3.so /usr/local/lib/libgtk-3.so /usr/local/lib/libc airo.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so -lgthread-2.0 /usr/local/lib/libssl.so /usr/local/lib/libcrypto.so -lz -lpthread -ldl /usr/local/lib/libpcap.so /usr/local/lib/libnet.so -lresolv /usr/local/lib/libpcre.so set(CMAKE_C_FLAGS_RELEASE "-O2 -w -D_FORTIFY_SOURCE=2" CACHE STRING "" FORCE)