Closed openhpi2 closed 8 years ago
Attaching the patch to care of above mentioned make error. hpitest.patch.txt
Original comment by: openhpi2
Original comment by: dr_mohan
This is a wrong place to file the bug. The proper place is https://sourceforge.net/p/hpib-test/bugs/ Please file it there and attach the bug
Original comment by: dr_mohan
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 2Reported by: openhpi2