<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Denis Silakov [mailto:silakov@ispras.ru] 
<BR><B>Sent:</B> Thursday, July 17, 2008 9:52 AM<BR><B>To:</B> Wichmann, Mats 
D<BR><B>Cc:</B> Lsb-Infrastructure<BR><B>Subject:</B> Re: [Lsb-infrastructure] 
some conflicts when running libtodb2<BR></FONT><BR></DIV>
<DIV></DIV>Wichmann, Mats D wrote: 
<BLOCKQUOTE 
cite=mid:3F62CBEE02D6404E98C65934617EB58204BAB2FD@fmsmsx414.amr.corp.intel.com 
type="cite">
  <META content="MSHTML 6.00.2900.3354" name=GENERATOR>
  <DIV><BR>This can appear in case when your version of gcc creates a dump with 
  some other extension, not 001t.tu. Please check if there are any files like 
  'extutil.h*' in the headertodb2 directory after the script has failed. If some 
  file exists and its extension differs from '001t.tu', you should simply modify 
  gcc_tu variable in the script to match your extension.<BR><BR>(It seems that 
  this extension depends on gcc version; we'll try to detect it automatically in 
  future).<BR><SPAN class=843174215-17072008><FONT face=Arial color=#0000ff 
  size=2>&nbsp;</FONT></SPAN></DIV>
  <DIV><SPAN class=843174215-17072008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=843174215-17072008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=843174215-17072008><FONT face=Arial color=#0000ff 
  size=2>Things proceeded okay, but when I tried to expand the scope (actually I 
  also want to consider &lt;X11/extension/Xext.h&gt;, which contains two 
  additional functions and some used macros), I got some complaints about 
  duplicates:</FONT></SPAN></DIV>
  <DIV><SPAN class=843174215-17072008></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=843174215-17072008><FONT face=Arial color=#0000ff size=2>Got 
  more than one row for Pointer 'Display *' at ./prepare_sql.pl line 228, 
  &lt;TYPES&gt; line 1.<BR>Got more than one row for Pointer 'XEvent *' at 
  ./prepare_sql.pl line 228, &lt;TYPES&gt; line 18.<BR>Got more than one row for 
  Pointer 'Display *' at ./prepare_sql.pl line 346, &lt;BASE&gt; line 1.<BR>Got 
  more than one row for Pointer 'Display *' at ./prepare_sql.pl line 346, 
  &lt;BASE&gt; line 7.<BR>Got more than one row for Pointer 'XEvent *' at 
  ./prepare_sql.pl line 346, &lt;BASE&gt; line 16.</FONT> 
<BR></SPAN></DIV></BLOCKQUOTE>
<DIV><BR>This is actually X11 data inconsistency... Check the SQL created 
(suppose it is called add_libXext.sql): <BR>&nbsp;&nbsp;&nbsp; grep \'Display 
add_libXext.sql<BR><BR>If all lines in the result looks like the 
following:<BR><BR>SET @Tid=(SELECT Tid FROM Type WHERE Tname='Display *' AND 
Ttype='Pointer' AND Theadgroup &gt; 0);<BR><BR>then everything is ok and you can 
try to execute the SQL. Otherwise you'll have to add 'AND Theadgroup &gt; 0' 
check manually to all queries where 'Display *' is requested.<BR><BR>(And well, 
the same check should be performed for 'XEvent').<BR><BR>Surely, this is not 
normal situation, we'll have to correct data, indeed.<SPAN 
class=730125715-17072008><FONT face=Arial color=#0000ff 
size=2>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=730125715-17072008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=730125715-17072008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=730125715-17072008><FONT face=Arial color=#0000ff size=2>Okay, 
I have four lines like the above, two which&nbsp;began SET @MemTid and did not 
have the Theadgroup qualifier.</FONT></SPAN></DIV>
<DIV><SPAN class=730125715-17072008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=730125715-17072008><FONT face=Arial color=#0000ff size=2>I 
don't see an hits like this for XEvent.</FONT></SPAN></DIV>
<DIV><SPAN class=730125715-17072008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=730125715-17072008>&nbsp;</SPAN></DIV></BODY></HTML>