Menu

#14 hpitest make fails on RHEL7

3.3.0
closed-fixed
Praveen
None
5
2015-07-14
2014-10-08
Praveen
No

hpitest make fails on RHEL7 with below error:

depbase=echo src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o | sed 's|[^/]*$|.deps/&|;s|.o$||';\ g++ -DHAVE_CONFIG_H -I. -I./include -I./src/framework -I./src/hpi -I./src/util -I./src/helper -I./src/tests -I./src/tests/alarm -I./src/tests/annunciator -I./src/tests/configuration -I./src/tests/control -I./src/tests/domain -I./src/tests/eventlog -I./src/tests/events -I./src/tests/fumi -I./src/tests/hotswap -I./src/tests/inventory -I./src/tests/power -I./src/tests/rdr -I./src/tests/reset -I./src/tests/resource -I./src/tests/sensor -I./src/tests/session -I./src/tests/version -I./src/tests/watchdogtimer -Wextra -Wall -Wshadow -Woverloaded-virtual -O2 -pthread -MT src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o -MD -MP -MF $depbase.Tpo -c -o src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o src/tests/resource/saHpiResourceFailedRemove/FailedRemove.cc &&\ mv -f $depbase.Tpo $depbase.Po
src/tests/resource/saHpiResourceFailedRemove/FailedRemove.cc: In member function âHpiTestStatus ns_saHpiResourceFailedRemove::FailedRemove::testFailedResources(SaHpiSessionIdT)â:
src/tests/resource/saHpiResourceFailedRemove/FailedRemove.cc:200:26: error: âsleepâ was not declared in this scope
make[1]: [src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o] Error 1
make[1]: Leaving directory `/root/praveen/OpenHPI_3.5.0_testing/hpibtest'
make: [all] Error 2

Discussion

  • Praveen

    Praveen - 2014-10-08

    Modifying the title as - hpitest make fails on RHEL7 with error

     
  • Praveen

    Praveen - 2014-10-08

    Attaching the patch to care of above mentioned make error. After applying this patch the error goes off.

     
  • dr_mohan

    dr_mohan - 2015-07-13
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     hpitest make fails on RHEL7 with below error:
    
     depbase=echo src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ g++ -DHAVE_CONFIG_H -I. -I./include -I./src/framework -I./src/hpi -I./src/util -I./src/helper -I./src/tests -I./src/tests/alarm -I./src/tests/annunciator -I./src/tests/configuration -I./src/tests/control -I./src/tests/domain -I./src/tests/eventlog -I./src/tests/events -I./src/tests/fumi -I./src/tests/hotswap -I./src/tests/inventory -I./src/tests/power -I./src/tests/rdr -I./src/tests/reset -I./src/tests/resource -I./src/tests/sensor -I./src/tests/session -I./src/tests/version -I./src/tests/watchdogtimer -Wextra -Wall -Wshadow -Woverloaded-virtual -O2 -pthread -MT src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o -MD -MP -MF $depbase.Tpo -c -o src/tests/resource/saHpiResourceFailedRemove/FailedRemove.o src/tests/resource/saHpiResourceFailedRemove/FailedRemove.cc &&\ mv -f $depbase.Tpo $depbase.Po
    
    • Group: 3.2.0 --> 3.3.0
     
  • Praveen

    Praveen - 2015-07-14

    Fixed with Check-in #17

     
  • dr_mohan

    dr_mohan - 2015-07-14

    Fixed with checkin #17

     
  • dr_mohan

    dr_mohan - 2015-07-14
    • status: open --> closed-fixed
    • assigned_to: Praveen
     
  • dr_mohan

    dr_mohan - 2015-07-14
    • summary: #1858 hpitest make fails on RHEL7 --> hpitest make fails on RHEL7