[MacPorts] #32080: cmake build error on OSX 10.6.8: use of undeclared identifier 'DT_SONAME'
MacPorts
noreply at macports.org
Fri Mar 2 10:47:12 PST 2012
#32080: cmake build error on OSX 10.6.8: use of undeclared identifier 'DT_SONAME'
-----------------------------------------+----------------------------------
Reporter: anotherperson2011@… | Owner: css@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: cmake
-----------------------------------------+----------------------------------
Comment(by anotherperson2011@…):
Similar errors with 2.8.7, though this time cmExprParser.cxx.o is not
being created due to the same missing symbols.
The issue appears to be with lines in 'cm*.cxx' that state :
{{{
#include <elf.h>
}}}
'elf.h' does not appear to be part of the cmake distribution.
I have 55 versions of elf.h on my machine, in various source
distributions, but the above code finds the only one in the common system
paths at /usr/include/elf.h,
which on this Mac system is a one line file consisting of:
{{{
#define CONFIG_BINFMT_ELF 1
}}}
Hence the build issue.
Perhaps you could include 'elf.h' in the cmake build, or explicitly point
to one elsewhere within MacPorts so that the expected one is used?
--
Ticket URL: <https://trac.macports.org/ticket/32080#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list