<html>#1658: ExternalLibraries/pciutils does not compile on Mac OS
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Ian Hinder</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>resolved</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>development version</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Changes (by Roland Haas):</p>
<p><table>
<tr><td>status:</td><td>resolved (was open)</td></tr>
</table></p>
<p>When I try to compile ExternalLibraries/pciutils on Mac OS, I get</p>
<div class="codehilite"><pre><span></span><span>lspci.c:919:29: error: expected &#39;)&#39;</span>
<span>     puts(&quot;lspci version &quot; PCIUTILS_VERSION);</span>
<span>                           ^</span>
<span>./pciutils.h:18:26: note: expanded from macro &#39;PCIUTILS_VERSION&#39;</span>
<span>#define PCIUTILS_VERSION PCILIB_VERSION</span>
<span>                        ^</span>
<span>lspci.c:919:11: note: to match this &#39;(&#39;</span>
<span>     puts(&quot;lspci version &quot; PCIUTILS_VERSION);</span>
</pre></div>


<p>This is with the osx-mountain-lion-macports-gcc.cfg optionlist, and "gcc-mp-4.6 (MacPorts gcc46 4.6.4_3) 4.6.4".</p>
<p>I have to disable this thorn in my thornlist (or machine definition file) to compile the ET.  This means that the ET will not compile out of the box on Mac OS.</p>
<p><strong>Keyword:</strong></p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/1658/externallibraries-pciutils-does-not'>https://bitbucket.org/einsteintoolkit/tickets/issues/1658/externallibraries-pciutils-does-not</a></p>
</html>