[MacPorts] #33466: Building ipmitool failed due to implicit declaration of function 'sleep' and 'read'
MacPorts
noreply at macports.org
Sun Mar 4 03:07:51 PST 2012
#33466: Building ipmitool failed due to implicit declaration of function 'sleep'
and 'read'
------------------------------------+---------------------------------------
Reporter: arno.barbier@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: implicit declaration | Port: ipmitool
------------------------------------+---------------------------------------
Hello,
I couldn't build ipmitool due to the following error:
{{{
:info:build ipmi_sdradd.c:201:5: warning: implicit declaration of function
'sleep' is invalid in C99 [-Wimplicit-function-declaration]
:info:build sleep(1);
:info:build ^
:info:build ipmi_sdradd.c:339:10: warning: implicit declaration of
function 'read' is invalid in C99 [-Wimplicit-function-declaration]
:info:build while (read(fd, binHdr, 5) == 5) {
:info:build ^
:info:build 2 warnings generated.
}}}
The package source name is ipmitool-1.8.11_0.darwin_11.x86_64.tbz2
Thanks for your help
--
Ticket URL: <https://trac.macports.org/ticket/33466>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list