<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="΢ÈíÑźÚ"><span style="font-size: 12pt;">hi,</span></font><div style="font-family: Î¢ÈíÑźÚ; font-size: 12pt; ">    When I use dom = virDomainDefineXML(conn, xml) to define xml, I countered a problem that " <span style="font-size: 12pt; ">libvir: Domain Config error : internal error incorrect root element". Could you please tell me what's wrong with it?</span></div><div style="font-family: Î¢ÈíÑźÚ; font-size: 12pt; "><span style="font-size: 12pt; ">    I tend to debug such problem above by gdb to step into </span><span style="font-size: 12pt; ">virDomainDefineXML. When I press "step" in gdb, the console just shows the wrong messages, so I fail to access to the internal function of virDomainDefineXML. </span></div><div><font face="΢ÈíÑźÚ"><span style="font-size: 12pt;">    My libvirt's version is 0.98 allowing debug with the command "</span><span style="font-size: 16px;">CFLAGS = -g -O2</span><span style="font-size: 12pt;">" in libvirt's Makefile. I installed libvirt-bin by "sudo apt-get install libvirt-bin"in ubuntu. Is there something wrong in my installing steps? </span></font></div><div><font face="΢ÈíÑźÚ"><span style="font-size: 12pt;"><br></span></font></div><div style="font-family: Î¢ÈíÑźÚ; font-size: 12pt; "><span style="font-size: 12pt; ">    Thanks a lot! </span></div><div style="font-family: Î¢ÈíÑźÚ; font-size: 12pt; "><span style="font-size: 12pt; "><br></span></div><div style="font-family: Î¢ÈíÑźÚ; font-size: 12pt; "><span style="font-size: 12pt; ">    Best Regards,</span></div><div style="font-family: Î¢ÈíÑźÚ; font-size: 12pt; "><span style="font-size: 12pt; ">    Corey</span></div>                                     </div></body>
</html>