-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/28/2016 11:03 PM, [email protected] wrote: > > Hi, > > the daily update I usually do failed while compiling gdb: > > Before I post every bit/log of the compilation process... > > Here are the last lines. Is there already known, how to fix that? > > > libdecnumber.a -ldl -ldl -ltermcap -lncurses -lm -ldl -lpthread > -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic > ../libiberty/libiberty.a build-gnulib/import/libgnu.a -ldl > -Wl,--dynamic-list=./proc-service.list > /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: > > > warning: libncurses.so.5, needed by /lib64/libreadline.so.6, may > conflict with libncurses.so.6 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: > > > tui-io.o: undefined reference to symbol 'resetty' > /lib64/libtinfo.so.6: error adding symbols: DSO missing from command > line collect2: error: ld returned 1 exit status Makefile:1405: > recipe for target 'gdb' failed make[2]: *** [gdb] Error 1 make[2]: > Leaving directory > '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1/gdb' > Makefile:8119: recipe for target 'all-gdb' failed make[1]: *** > [all-gdb] Error 2 make[1]: Leaving directory > '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1' Makefile:845: > recipe for target 'all' failed make: *** [all] Error 2 * ERROR: > sys-devel/gdb-7.10.1::gentoo failed (compile phase): * emake failed > > Cheers, Meino
Looks like gdb is linking againt libreadline but libreadline is linked against ncurses 5 and you're trying to link gdb against ncurses 6. So rebuild libreadline which should cause it to link against version 6 and try again. Also you may want to disable the tinfo flag for ncurses 6 because it's problematic and mostly needed by binary packages and I don't think you have any linked against ncurses 6. - -- Fernando Rodriguez -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYFLe6AAoJEPbOFX/5Ulwc/00P/jPMf4tVQoRM13EK0HrWoZGz vWwqz6uHRx/7JxVl+vbZ9q9NjAOJYujJABBHfsTy2dYuM/hV8XqcMQUD9fzQX/Ug b3MJnCHh92AD7f1kInfxtFOF7Av6iSpwu/orj/H2UkGgAhGMoPK0M9RoTpGo9SaA UZGn7M/U66k22PnoeyV2ekdnwBp/kWOXJe90vNeXEiAlteYV3bd7onCkRRRRQtbQ t2HfmLxP8x5XLM6aZ3ZQg7pV5GgHC2vXt209twSgUETwzYckz6VcaolQcAHCrxk4 8TBaSU9BpudVGFOXXaEqEnh0MX8+E3oh01Mu4j0rmnZ6rVX4kXcXUa7Oh1Q8dCRO M3fbyqOV88uDQlTgKSE9vtJWcOCV5m8xe7YqXC90eb3jdZ3mrVckYyIEKYSJYiri i0EvZf+WNXCpoNnwRD2GQFVkqdyEWElRu498smKiXY9dTLl5MBvZVauGwzrPXWTU 1pVhyGHBBjIseUk79ycSUyNeIA68wgEbxAD+J9VFnzKbYGYo4/ZnrA/KQ+4DWiSy En/XY8afn8lHjXmSnajI7MX4Su3QC9Gz5zCmNGC6Px1RAN0YwtZjAH3SQG3v1aWH M5dK0ahS5bmwOrRRuSAGh8xNEeAjGhW4RuHF4gZd6V7IViP/EfpvNaiiVLsZZc1b 4LBYZwviEBTd7ynqC9SW =Oy1Z -----END PGP SIGNATURE-----

