[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #41245] weechat fails to build if ncurses is build wi

From: zeom
Subject: [Weechat-dev] [bug #41245] weechat fails to build if ncurses is build with the --with-termlib flag
Date: Thu, 16 Jan 2014 02:08:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.68 Safari/537.36


                 Summary: weechat fails to build if ncurses is build with the
--with-termlib flag
                 Project: WeeChat
            Submitted by: zeom
            Submitted on: Thu 16 Jan 2014 02:08:41 AM GMT
                Category: compilation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.4.3-dev
                IRC nick: zeom



Here is the error message:

/usr/bin/x86_64-pc-linux-gnu-gcc  -march=native -msse4 -O2 -pipe -ggdb  -Wall
-W -Werror-implicit-function-declaration  -L/usr/lib64 -L/usr/lib64 
-Wl,--as-needed CMakeFiles/weechat.dir/gui-curses-bar-window.o
CMakeFiles/weechat.dir/gui-curses-window.o  -o weechat -rdynamic
../libweechat_gui_common.a ../../plugins/libweechat_plugins.a
../../core/libweechat_core.a -lgcrypt -lgpg-error -lgnutls -ldl -lncursesw -lm
-lcurl ../libweechat_gui_common.a ../../plugins/libweechat_plugins.a
CMakeFiles/weechat.dir/gui-curses-main.o: undefined reference to symbol
note: 'nodelay' is defined in DSO /lib64/libtinfow.so.5 so try adding it to
the linker command line
/lib64/libtinfow.so.5: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
src/gui/curses/CMakeFiles/weechat.dir/build.make:271: recipe for target
'src/gui/curses/weechat' failed

It is my understanding that if you build ncurses with the --with -termlib flag
some functions get moved to libtinfo{w}.so.

Using "ncurses{w}5-config --libs" might be right way  to fix this, but I have
no clue about cmake to even attempt to patch this myself.

It happens with the latest version in the git repo.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]