I have libsysfs2hpi.so generated for target mips64 in plugin/sysfs/.libs 
directory and when i do nm i get the symbol:
0000000000001910 W oh_open
0000000000001910 T sysfs2hpi_open (This is the weak alise funtion for oh_open 
done using __attribute__).

i have compiled sysfsutils-2.1.0 on mips64 target and when i do nm on 
libsysfs.so i dont get the symbol oh_open.Which i think i should not or should 
i???? 

Following is the commandline which i have given to compile my openhpi:

./configure --host=mips64-octeon-linux-gnu 
LDFLAGS='-L/home/sancomp/package/libtool-1.5.22/libltdl/.libs 
-L/home/sancomp/package/glib-2.4.1/glib/.libs 
-L/home/sancomp/package/glib-2.4.1/gthread/.libs 
-L/home/sancomp/package/e2fsprogs-1.39/lib/ 
-L/home/sancomp/package/sysfsutils-2.1.0/lib/.libs' CPPFLAGS=' 
-I/home/sancomp/package/libtool-1.5.22/libltdl 
-I/home/sancomp/package/e2fsprogs-1.39/lib 
-I/home/sancomp/package/glib-2.4.1/glib/.libs 
-I/home/sancomp/package/sysfsutils-2.1.0/lib/.libs' --disable-snmp_client 
--enable-sysfs --disable-ipmi --disable-snmp_bc --disable-ipmidirect 
--disable-rtas --enable-daemon --enable-debuggable --enable-debug-msgs 
--enable-simulator

Thanks 
Santosh
________________________________
> To: [email protected]
> From: [EMAIL PROTECTED]
> Date: Mon, 30 Jul 2007 15:16:20 -0400
> Subject: Re: [Openhpi-devel] openhpi libsysfs
> 
> [EMAIL PROTECTED] wrote on 07/30/2007 01:38:58 PM:
> > Hi Renier,
> >
> > Thanks for your reply.
> > Yes libsysfs.so is installed in the path.
> >
> > Thanks
> > Santosh
> >
> Do "nm libsysfs.so | grep oh_open". This should say if there is an oh_open 
> symbol in the sysfs plugin, which is necessary for plugin loading.
>         --Renier

_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows Live 
Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HMWL_mini_pcmag_0707
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to