[MacPorts] #33466: Building ipmitool failed due to implicit declaration of function 'sleep' and 'read'
#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
#33466: ipmitool fails to build with clang ------------------------------------+--------------------------------------- Reporter: arno.barbier@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ipmitool ------------------------------------+--------------------------------------- Changes (by dports@…): * keywords: implicit declaration => * owner: macports-tickets@… => dports@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/33466#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33466: ipmitool fails to build with clang -------------------------------------+-------------------------------------- Reporter: arno.barbier@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: ipmitool | -------------------------------------+-------------------------------------- Changes (by dports@…): * status: assigned => closed * resolution: => fixed Comment: Thanks for the report. Now fixed in r90401, so please selfupdate and give it another try. -- Ticket URL: <https://trac.macports.org/ticket/33466#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts