<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>after change the source file dbdump.c, "make" leads to :</DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
  <DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make  all-am</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[3]: Entering directory `/home/libguest_test/libguestfs-1.19.35/fish'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make -C ../generator stamp-generator</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[4]: Entering directory `/home/libguest_test/libguestfs-1.19.35/generator'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[4]: `stamp-generator' is up to date.</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[4]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/generator'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">  CCLD   guestfish</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">guestfish-progress.o: In function `progress_bar_init':</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/home/libguest_test/libguestfs-1.19.35/fish/progress.c:121: undefined reference to `tgetent'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">guestfish-progress.o: In function `progress_bar_set':</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/home/libguest_test/libguestfs-1.19.35/fish/progress.c:274: undefined reference to `tgetnum'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/home/libguest_test/libguestfs-1.19.35/fish/progress.c:279: undefined reference to `UP'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">/home/libguest_test/libguestfs-1.19.35/fish/progress.c:279: undefined reference to `tputs'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">collect2: error: ld returned 1 exit status</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[3]: *** [guestfish] Error 1</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[3]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/fish'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[2]: *** [all] Error 2</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[2]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/fish'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[1]: *** [all-recursive] Error 1</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make[1]: Leaving directory `/home/libguest_test/libguestfs-1.19.35'</SPAN></DIV>
  <DIV><SPAN 
  style="BACKGROUND-COLOR: #ccffcc">make: *** [all] Error 2</SPAN></DIV></DIV></BLOCKQUOTE>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>周涛</SPAN></DIV>
<DIV> </DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:rjones@redhat.com">Richard W.M. 
Jones</A></DIV>
<DIV><B>Date:</B> 2012-09-04 18:58</DIV>
<DIV><B>To:</B> <A href="mailto:tao.zhou@neusoft.com">周涛</A></DIV>
<DIV><B>CC:</B> <A href="mailto:libguestfs@redhat.com">libguestfs</A></DIV>
<DIV><B>Subject:</B> Re: compile libguestfs 1.19.35</DIV></DIV></DIV>
<DIV>
<DIV>On Tue, Sep 04, 2012 at 06:45:46PM +0800, 周涛 wrote:</DIV>
<DIV>> hi jones!</DIV>
<DIV>> </DIV>
<DIV>> i compile this version from source on a new VM (no libguest is installed)</DIV>
<DIV>> , after excute "./config", "make" lead to the following error, what should i do:</DIV>
<DIV>> ......</DIV>
<DIV>> make[4]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/generator'</DIV>
<DIV>>   CC     libguestfs_la-guestfs.lo</DIV>
<DIV>>   CC     libguestfs_la-actions.lo</DIV>
<DIV>>   CC     libguestfs_la-appliance.lo</DIV>
<DIV>>   CC     libguestfs_la-bindtests.lo</DIV>
<DIV>>   CC     libguestfs_la-dbdump.lo</DIV>
<DIV>>   CC     libguestfs_la-events.lo</DIV>
<DIV>>   CC     libguestfs_la-file.lo</DIV>
<DIV>>   CC     libguestfs_la-filearch.lo</DIV>
<DIV>>   CC     libguestfs_la-fuse.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect-apps.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect-fs.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect-fs-cd.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect-fs-unix.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect-fs-windows.lo</DIV>
<DIV>>   CC     libguestfs_la-inspect-icon.lo</DIV>
<DIV>>   CC     libguestfs_la-launch.lo</DIV>
<DIV>>   CC     libguestfs_la-launch-appliance.lo</DIV>
<DIV>>   CC     libguestfs_la-launch-libvirt.lo</DIV>
<DIV>>   CC     libguestfs_la-launch-unix.lo</DIV>
<DIV>>   CC     libguestfs_la-libvirtdomain.lo</DIV>
<DIV>>   CC     libguestfs_la-listfs.lo</DIV>
<DIV>>   CC     libguestfs_la-match.lo</DIV>
<DIV>>   CC     libguestfs_la-proto.lo</DIV>
<DIV>>   CCLD   libguestfs.la</DIV>
<DIV>> make[3]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/src'</DIV>
<DIV>> make[2]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/src'</DIV>
<DIV>> Making all in examples</DIV>
<DIV>> make[2]: Entering directory `/home/libguest_test/libguestfs-1.19.35/examples'</DIV>
<DIV>>   CCLD   create_disk</DIV>
<DIV>> ../src/.libs/libguestfs.so: undefined reference to `guestfs___read_db_dump'</DIV>
<DIV>> collect2: error: ld returned 1 exit status</DIV>
<DIV> </DIV>
<DIV>This is approximately the same error as before, and the fix is the</DIV>
<DIV>same:</DIV>
<DIV> </DIV>
<DIV>https://www.redhat.com/archives/libguestfs/2012-August/msg00167.html</DIV>
<DIV> </DIV>
<DIV>Rich.</DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones</DIV>
<DIV>New in Fedora 11: Fedora Windows cross-compiler. Compile Windows</DIV>
<DIV>programs, test, and build Windows installers. Over 70 libraries supprt'd</DIV>
<DIV>http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw</DIV></DIV><p>---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p></BODY></HTML>