Menu

#17 hpitest make gives linking error on ubuntu

3.3.0
open
nobody
Build (3)
5
2018-03-21
2015-08-26
No

hpitest make gives linking error on ubuntu when we issue make install

./src/helper/EventLogHelper.o: In function EventLogHelper::isEmpty(unsigned int, unsigned int, bool*)': EventLogHelper.cc:(.text+0x793): undefined reference tosaHpiEventLogInfoGet'
./src/helper/MinorAlarmGenerator.o: In function MinorAlarmGenerator::generateAlarm()': MinorAlarmGenerator.cc:(.text+0x206): undefined reference tosaHpiRptEntryGet'
MinorAlarmGenerator.cc:(.text+0x262): undefined reference to saHpiRdrGet' ./src/helper/ResourcesList.o: In functionResourcesList::fill(unsigned int)':
ResourcesList.cc:(.text+0x7c): undefined reference to saHpiRptEntryGet' ResourcesList.cc:(.text+0x9b): undefined reference tosaHpiRdrUpdateCountGet'
collect2: error: ld returned 1 exit status
make[1]: [hpitest] Error 1
make[1]: Leaving directory `/home/praveen/hpibtest_Aug_18_15'
make:
[all] Error 2

Discussion

  • Chandrashekhar Nandi

    Fix for this issue.

     
  • dr_mohan

    dr_mohan - 2018-03-21
    • labels: build --> Build