Hi ,
I want to write a test application for injecting custom events. As part of this
I am trying to run the test application 'hpiinjector' that has been shipped
with OPENHPI sourcecode but which is giving unresolved symbols for
'oh_evt_queue_push'. I don't know what other unresolved symbols it may list but
seems it is failing @ saHpiSessionOpen() itself. I could able to run all the
HPI tools but not the test applications, which may be directly linking with
libsimulator.la and giving unresolved symbol for 'oh_evt_queue_push'. Following
are the details
I am tried the following on FC4 & FC5 systems.
1) I unzipped the openhpi-2.8.1.tgz in to <WORK-DIR>
2) cd <WORK-DIR>/openhpi-2.8.1
3) ./configure --prefix=/usr --sysconfdir=/etc --with-varpath=/var/lib/openhpi
4) make && make install
5) Started openhpid daemon
service openhpid start
6) make check
As part of this the test application 'hpiinjector' is not giving any
unresolved symbol but fail because 'noconfig' is not there.
7) I just copied the /etc/openhpi/openhpi.conf file to
<WORK-DIR>/openhpi-2.8.1/src/t/ohpi directory
cp /etc/openhpi/openhpi.conf src/t/ohpi/
8) I did make check again as
make check -C src/t/ohpi
Following is the output
-------------------------------------------------
[EMAIL PROTECTED] openhpi-2.8.1]# make check -C src/t/ohpi
make: Entering directory `/home/kiran/openhpi-2.8.1/src/t/ohpi'
make[1]: Entering directory `/home/kiran/openhpi-2.8.1'
make[1]: Leaving directory `/home/kiran/openhpi-2.8.1'
make ohpi_007 ohpi_008 ohpi_009 ohpi_010 ohpi_024 ohpi_025 ohpi_026 ohpi_027
ohpi_028 ohpi_029 ohpi_030 ohpi_031 ohpi_032 ohpi_033 ohpi_034 ohpi_035
ohpi_036 ohpi_037 ohpi_038 ohpi_039 ohpi_version hpiinjector
make[1]: Entering directory `/home/kiran/openhpi-2.8.1/src/t/ohpi'
make[2]: Entering directory `/home/kiran/openhpi-2.8.1'
make[2]: Leaving directory `/home/kiran/openhpi-2.8.1'
make[1]: `ohpi_007' is up to date.
make[1]: `ohpi_008' is up to date.
make[1]: `ohpi_009' is up to date.
make[1]: `ohpi_010' is up to date.
make[1]: `ohpi_024' is up to date.
make[1]: `ohpi_025' is up to date.
make[1]: `ohpi_026' is up to date.
make[1]: `ohpi_027' is up to date.
make[1]: `ohpi_028' is up to date.
make[1]: `ohpi_029' is up to date.
make[1]: `ohpi_030' is up to date.
make[1]: `ohpi_031' is up to date.
make[1]: `ohpi_032' is up to date.
make[1]: `ohpi_033' is up to date.
make[1]: `ohpi_034' is up to date.
make[1]: `ohpi_035' is up to date.
make[1]: `ohpi_036' is up to date.
make[1]: `ohpi_037' is up to date.
make[1]: `ohpi_038' is up to date.
make[1]: `ohpi_039' is up to date.
make[1]: `ohpi_version' is up to date.
make[1]: `hpiinjector' is up to date.
make[1]: Leaving directory `/home/kiran/openhpi-2.8.1/src/t/ohpi'
make check-TESTS
make[1]: Entering directory `/home/kiran/openhpi-2.8.1/src/t/ohpi'
make[2]: Entering directory `/home/kiran/openhpi-2.8.1'
make[2]: Leaving directory `/home/kiran/openhpi-2.8.1'
PASS: ohpi_007
PASS: ohpi_008
PASS: ohpi_009
PASS: ohpi_010
PASS: ohpi_024
PASS: ohpi_025
PASS: ohpi_026
PASS: ohpi_027
PASS: ohpi_028
PASS: ohpi_029
PASS: ohpi_030
PASS: ohpi_031
PASS: ohpi_032
PASS: ohpi_033
PASS: ohpi_034
/home/kiran/openhpi-2.8.1/src/t/ohpi/.libs/lt-ohpi_035: symbol lookup error:
../../../plugins/simulator/.libs/libsimulator.so.2: undefined symbol:
oh_evt_queue_push
FAIL: ohpi_035
PASS: ohpi_036
/home/kiran/openhpi-2.8.1/src/t/ohpi/.libs/lt-ohpi_037: symbol lookup error:
../../../plugins/simulator/.libs/libsimulator.so.2: undefined symbol:
oh_evt_queue_push
FAIL: ohpi_037
/home/kiran/openhpi-2.8.1/src/t/ohpi/.libs/lt-ohpi_038: symbol lookup error:
../../../plugins/simulator/.libs/libsimulator.so.2: undefined symbol:
oh_evt_queue_push
FAIL: ohpi_038
PASS: ohpi_039
PASS: ohpi_version
/home/kiran/openhpi-2.8.1/src/t/ohpi/.libs/lt-hpiinjector: symbol lookup error:
../../../plugins/simulator/.libs/libsimulator.so.2: undefined symbol:
oh_evt_queue_push
FAIL: hpiinjector
====================
4 of 22 tests failed
====================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/kiran/openhpi-2.8.1/src/t/ohpi'
make: *** [check-am] Error 2
make: Leaving directory `/home/kiran/openhpi-2.8.1/src/t/ohpi'
[EMAIL PROTECTED] openhpi-2.8.1]#
----------------------------------------------------------------------
Did I miss any thing ? Please help me out, to resolve this unresolved symbol
problem.
with regards,
Kiran
____________________________________________________________________________________Shape
Yahoo! in your own image. Join our Network Research Panel today!
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel