[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses 5.5 with patches up to 20060318 - lib/libtinfo.so: undefined
From: |
Arkadiusz Miskiewicz |
Subject: |
Re: ncurses 5.5 with patches up to 20060318 - lib/libtinfo.so: undefined reference to `_nc_handle_sigwinch' |
Date: |
Sat, 1 Apr 2006 11:31:45 +0200 |
User-agent: |
KMail/1.9.1 |
On Saturday 01 April 2006 02:39, Thomas Dickey wrote:
> On Fri, 31 Mar 2006, Arkadiusz Miskiewicz wrote:
> > It fails:
> >
> > x86_64-pld-linux-gcc ../obj_s/tic.o ../obj_s/dump_entry.o -L../lib
> > -ltinfo -ldl -I../progs -I../../progs -DHAVE_CONFIG_H
> > -I../../progs/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG
> > -I/usr/include/ncurses -march=x86-64 -O2 -DPURE_TERMINFO
> > -D_FILE_OFFSET_BITS=64 -fPIC -o tic
> > .../lib/libtinfo.so: undefined reference to `_nc_handle_sigwinch'
> > collect2: ld returned 1 exit status
> > make[1]: *** [tic] Error 1
> > make[1]: Leaving directory
> > `/home/users/arekm/rpm/BUILD/ncurses-5.5/obj-narrowc/progs'
> >
> > when --with-termlib is used. Should be easy to repeat.
> > _nc_handle_sigwinch function is defined in separate dir not linked into
> > libtinfo it seems.
>
> very likely there is an already-installed copy of ncurses which is
> conflicting with this. I don't recall if the rpath (configure) option
> would help here (it has drawbacks), but you may get better results by
> setting LD_LIBRARY_PATH to your build-tree's lib-directory, as the
> misc/shlib script would do, e.g.,
but _nc_handle_sigwinc() body is in ncurses/tty/lib_tstp.c which does not seem
to be linked into libtinfo.so.X while libtinfo wants to use it.
address@hidden ~/rpm/BUILD/ncurses-5.5]$ objdump
-t ./obj-narrowc/lib/libncurses.so.5.5 | grep _nc_handle_sigwinch
00000000000122a0 g F .text 000000000000006e
_nc_handle_sigwinch
address@hidden ~/rpm/BUILD/ncurses-5.5]$ objdump
-t ./obj-narrowc/lib/libtinfo.so.5.5 | grep _nc_handle_sigwinch
0000000000000000 *UND* 0000000000000000
_nc_handle_sigwinch
existing ncurses copy shouldn't have any meaning here
--
Arkadiusz MiĆkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: ncurses 5.5 with patches up to 20060318 - lib/libtinfo.so: undefined reference to `_nc_handle_sigwinch',
Arkadiusz Miskiewicz <=