Subject: Re: ntop2
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 08/02/2002 15:12:42
On Fri, Aug 02, 2002 at 08:38:05AM +0200, Bernd Ernesti wrote:
> [...]
> /pkgsrc/net/ntop2/work.i386/ntop/intop/gnuline.c:141: undefined reference to `history_list'
> 
> Hmm, I thought that this maybe because I don't have ncurses installed,
> but the ncurses doesn't have this function so it must be a different library.
> 
> Ah, there is a libhistory library which has that function, but there is no -lhistory
> while linking intop.
> 
> But neither adding a -lhistory nor /usr/pkg/lib/libhistory.a to the linking command
> fix the error. I'm runing out of ideas now.

On my system it's defined in librealdine, so you should not need extra
libraries.
swing:/home/bouyer>nm /usr/pkg/lib/libreadline.a | grep story_list
         U history_list
00000120 T history_list
         U history_list
         U history_list

Maybe your libraries are corrupted ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--