- removed comment
ExternalLibraries/pciutils does not compile on Mac OS
Issue #1658
resolved
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:
Comments (5)
-
reporter -
reporter - changed status to resolved
- removed comment
pciutils has been removed from the ET thornlist. Since pciutils does not support Mac OS, we can't do anything about this.
-
- changed status to open
- removed comment
This happened again. We should make sure that configure.sh produces a useful error message.
-
A descriptive error message was added in git hash 5fe51b1 "pciutils: abort with useful error message on Darwin" of ExternalLibraries-pciutils
-
- edited description
- changed status to resolved
- Log in to comment
As pointed out by Roland in
#1657, there is no configure script, so gcc is used. This means the Apple gcc, which in my case is "Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)". When I modify the Makefile to use the MacPorts gcc, it then claimsIndeed, the pciutils homepage (http://mj.ucw.cz/sw/pciutils/) does not list Mac OS as a supported platform. So it looks like the pciutils build system works as designed when using the MacPorts gcc.
Since pciutils does not support Mac OS, and since I would like the ET to build out of the box on Mac OS, what is the best way to make that happen?