[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] compile libguestfs 1.19.35




after change the source file dbdump.c, "make" leads to :
make  all-am
make[3]: Entering directory `/home/libguest_test/libguestfs-1.19.35/fish'
make -C ../generator stamp-generator
make[4]: Entering directory `/home/libguest_test/libguestfs-1.19.35/generator'
make[4]: `stamp-generator' is up to date.
make[4]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/generator'
  CCLD   guestfish
guestfish-progress.o: In function `progress_bar_init':
/home/libguest_test/libguestfs-1.19.35/fish/progress.c:121: undefined reference to `tgetent'
guestfish-progress.o: In function `progress_bar_set':
/home/libguest_test/libguestfs-1.19.35/fish/progress.c:274: undefined reference to `tgetnum'
/home/libguest_test/libguestfs-1.19.35/fish/progress.c:279: undefined reference to `UP'
/home/libguest_test/libguestfs-1.19.35/fish/progress.c:279: undefined reference to `tputs'
collect2: error: ld returned 1 exit status
make[3]: *** [guestfish] Error 1
make[3]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/fish'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/fish'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/libguest_test/libguestfs-1.19.35'
make: *** [all] Error 2
 

周涛
 
Date: 2012-09-04 18:58
To: 周涛
Subject: Re: compile libguestfs 1.19.35
On Tue, Sep 04, 2012 at 06:45:46PM +0800, 周涛 wrote:
> hi jones!
> i compile this version from source on a new VM (no libguest is installed)
> , after excute "./config", "make" lead to the following error, what should i do:
> ......
> make[4]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/generator'
>   CC     libguestfs_la-guestfs.lo
>   CC     libguestfs_la-actions.lo
>   CC     libguestfs_la-appliance.lo
>   CC     libguestfs_la-bindtests.lo
>   CC     libguestfs_la-dbdump.lo
>   CC     libguestfs_la-events.lo
>   CC     libguestfs_la-file.lo
>   CC     libguestfs_la-filearch.lo
>   CC     libguestfs_la-fuse.lo
>   CC     libguestfs_la-inspect.lo
>   CC     libguestfs_la-inspect-apps.lo
>   CC     libguestfs_la-inspect-fs.lo
>   CC     libguestfs_la-inspect-fs-cd.lo
>   CC     libguestfs_la-inspect-fs-unix.lo
>   CC     libguestfs_la-inspect-fs-windows.lo
>   CC     libguestfs_la-inspect-icon.lo
>   CC     libguestfs_la-launch.lo
>   CC     libguestfs_la-launch-appliance.lo
>   CC     libguestfs_la-launch-libvirt.lo
>   CC     libguestfs_la-launch-unix.lo
>   CC     libguestfs_la-libvirtdomain.lo
>   CC     libguestfs_la-listfs.lo
>   CC     libguestfs_la-match.lo
>   CC     libguestfs_la-proto.lo
>   CCLD   libguestfs.la
> make[3]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/src'
> make[2]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/src'
> Making all in examples
> make[2]: Entering directory `/home/libguest_test/libguestfs-1.19.35/examples'
>   CCLD   create_disk
> ../src/.libs/libguestfs.so: undefined reference to `guestfs___read_db_dump'
> collect2: error: ld returned 1 exit status
 
This is approximately the same error as before, and the fix is the
same:
 
https://www.redhat.com/archives/libguestfs/2012-August/msg00167.html
 
Rich.
 
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]