pkgsrc-Bugs archive

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

pkg/45340: devel/gdb6 link failure

>Number:         45340
>Category:       pkg
>Synopsis:       devel/gdb6 link failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 08 08:35:00 +0000 2011
>Originator:     Jörn Clausen
University of Bielefeld
On Solaris, devel/gdb6 fails to find ncurses:

gcc -O -I/usr/pkgsrc/20110809/include/ncurses -I/usr/pkgsrc/20110809/include 
-I/usr/pkgsrc/20110809/gcc34/include -I/usr/include       \
        -o gdb gdb.o libgdb.a \
           ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a 
-L/usr/pkgsrc/20110809/lib -R/usr/pkgsrc/20110809/lib -lintl 
../libiberty/libiberty.a     -ldl -ltermcap -lsocket -lnsl -lm -liconv 
Undefined                       first referenced
 symbol                             in file
wattr_on                            libgdb.a(tui-wingeneral.o)
wattr_off                           libgdb.a(tui-wingeneral.o)
ld: fatal: Symbol referencing errors. No output written to gdb

Even adding a dependency to ../../devel/ncurses/ (and devel/gmp, 
while we are at it) does not solve the problem. The above output is already 
with this dependency included, but '-lncurses' is missing from the command line.

NB: This is not a Solaris problem, so please do not assign this to 
solaris-pkg-people. This is a pkgsrc problem: Why does the dependency to 
ncurses not do what it should do? See also pkg/32627.


Home | Main Index | Thread Index | Old Index