Re: [MacPorts] #69724: libnfs @5.0.3: error: ‘IFNAMSIZ’ undeclared here (not in a function) (was: Fails to build on 10.6: https://github.com/sahlberg/libnfs/issues/455)
MacPorts
noreply at macports.org
Thu Apr 11 22:48:04 UTC 2024
#69724: libnfs @5.0.3: error: ‘IFNAMSIZ’ undeclared here (not in a function)
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
barracuda156 |
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: tiger leopard snowleopard lion
Port: libnfs | mountainlion
-------------------------+-------------------------------------------------
Changes (by ryandesign):
* keywords: leopard, snowleopard, tiger => tiger leopard snowleopard lion
mountainlion
Comment:
It failed with the same error on the 10.8 and earlier buildbot workers but
succeeded on the 10.9 and later workers.
Comparing the buildbot logs, the only difference between the 10.8 and 10.9
configure phases is that 10.8 couldn't find net/if.h:
{{{
-- Looking for net/if.h
-- Looking for net/if.h - not found
}}}
while 10.9 could:
{{{
-- Looking for net/if.h
-- Looking for net/if.h - found
}}}
net/if.h exists on 10.8 and is where `IFNAMSIZ` is defined.
Can you attach your config.log so that we can investigate why it couldn't
find net/if.h? I suspect a necessary header has not been included. I
recall this being a common problem on 10.8 and earlier.
--
Ticket URL: <https://trac.macports.org/ticket/69724#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list