#1658: ExternalLibraries/pciutils does not compile on Mac OS
Reporter:Ian Hinder
Status:resolved
Milestone:
Version:development version
Type:bug
Priority:minor
Component:Cactus

Changes (by Roland Haas):

status:resolved (was open)

When I try to compile ExternalLibraries/pciutils on Mac OS, I get

lspci.c:919:29: error: expected ')'
     puts("lspci version " PCIUTILS_VERSION);
                           ^
./pciutils.h:18:26: note: expanded from macro 'PCIUTILS_VERSION'
#define PCIUTILS_VERSION PCILIB_VERSION
                        ^
lspci.c:919:11: note: to match this '('
     puts("lspci version " PCIUTILS_VERSION);

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".

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.

Keyword:

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/1658/externallibraries-pciutils-does-not