Hi Sudheer, Sudheer píše v So 31. 07. 2010 v 16:03 +0530: > Hi, > > I am trying to compile, OpenHPI Python Extension, on FC13 X86_64 > > when compiling, I am getting this warning: > > openhpi_wrap.c: In function ‘_wrap_oHpiHandlerCreate’: > openhpi_wrap.c:27331: warning: passing argument 2 of ‘PyDict_Next’ from > incompatible pointer type > /usr/include/python2.6/dictobject.h:102: note: expected ‘Py_ssize_t *’ > but argument is of type ‘int *’ > openhpi_wrap.c: In function ‘_wrap_get_rdr_uid’: > openhpi_wrap.c:34226: warning: implicit declaration of function > ‘get_rdr_uid’ > creating build/lib.linux-x86_64-2.6 > > > its compiling the _openhpi.so , then I try to import. > It shows error: > > openhpi_wrap.c: In function ‘_wrap_oHpiHandlerCreate’: > openhpi_wrap.c:27331: warning: passing argument 2 of ‘PyDict_Next’ from > incompatible pointer type > /usr/include/python2.6/dictobject.h:102: note: expected ‘Py_ssize_t *’ > but argument is of type ‘int *’ > openhpi_wrap.c: In function ‘_wrap_get_rdr_uid’: > openhpi_wrap.c:34226: warning: implicit declaration of function > ‘get_rdr_uid’ > creating build/lib.linux-x86_64-2.6 > > > OS: FC14 x86_64 > Installed packaged (openhpi related) > > openhpi-devel-2.14.1-3.fc13.x86_64 > openhpi-2.14.1-3.fc13.x86_64 > openhpi-libs-2.14.1-3.fc13.x86_64 > swig-1.3.40-2.fc13.x86_64 > > Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:31) > [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
the Python OpenHPI interface is part of Fedora, see http://koji.fedoraproject.org/koji/packageinfo?packageID=6100 for actual packages. But unfortunately my other project got a top priority, so I wasn't able to work on the source code available and make it compatible with the recent OpenHPI library, see https://bugzilla.redhat.com/show_bug.cgi?id=578368 The Fedora packages are based on a snapshot from subversion repository and they can be built, but don't work as far as I know, because the implemented SAF HPI standard doesn't match between the extension and the library. Dan ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Openhpi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openhpi-devel
