On Thu, May 29, 2014 at 05:05:30PM +0530, abhishek jain wrote:These symbols are provided by 'libtinfo' which is part of ncurses.
> Hi
>
> I'm getting following error while compiling libguestfs-1.26.1...
>
> CCLD guestfish
> guestfish-progress.o: In function `progress_bar_init':
> /home/ubuntu/libguestfs-1.26.1/fish/progress.c:123: undefined reference to
> `tgetent'
> guestfish-progress.o: In function `progress_bar_set':
> /home/ubuntu/libguestfs-1.26.1/fish/progress.c:282: undefined reference to
> `tgetnum'
> /home/ubuntu/libguestfs-1.26.1/fish/progress.c:297: undefined reference to
> `UP'
> guestfish-progress.o: In function `fprintf':
> /usr/include/powerpc-linux-gnu/bits/stdio2.h:97: undefined reference to `UP'
> collect2: error: ld returned 1 exit status
So you'll probably need to install that library, eg:
yum install ncurses-devel
apt-get install libtinfo-dev
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top