Help with respect to smbios

Michael_E_Brown at Dell.com Michael_E_Brown at Dell.com
Wed May 24 10:49:11 CDT 2006


I am happy to see your problem resolved.
--
Michael

-----Original Message-----
From: Sakkariaz, Antony
Sent: Wed 5/24/2006 10:34 AM
To: Brown, Michael E
Cc: Singh, Mutum; libsmbios-devel at lists.us.dell.com
Subject: RE: Help with respect to smbios
 
Hi Michael,

Thanks for your quick response. I've figured out what the problem is:

The problem occurred only on Linux, and not on Windows.

We have one shared library (libdiagframework.so) that links to the static version of the libsmbios (libsmbios.a).
And we have other shared libraries that link to the shared version of libsmbios (libsmbios.so).

I built the libraries that use the shared version with the new libsmbios, but missed out the libdiagframework.so that links to the static version.
Because of this, our application malfunctioned.

Now after building all our libraries with the new libsmbios, the problem disappeared.

I apologize for the inconvenience caused.

Thanks,
Antony


-----Original Message-----
From: Michael E Brown [mailto:Michael_E_Brown at dell.com] 
Sent: Wednesday, May 24, 2006 8:29 PM
To: Sakkariaz, Antony
Cc: Singh, Mutum; libsmbios-devel at lists.us.dell.com
Subject: RE: Help with respect to smbios

Are you on the libsmbios-devel mailing list? This would be best discussed on the mailing list. I think I may have sent out a summary of the API changes to the mailing list.

Can you post the exact code that is having the problem?
--
Michael

On Wed, 2006-05-24 at 03:43 -0500, Sakkariaz, Antony wrote:
> Hello Michael,
> 
> Good morning!
> 
> Sorry to bother you again, but I need your help:
> We currently use lismbios version 0.10.6.
> Now I pulled the zip file of the 0.11.5 version out of the libsmbios 
> website, and testing it.
> 
> I could see that some interfaces are changed, especially the 
> ISmbiosItem.
> We use getU8, getU16, and getString methods, which are no more 
> available.
> 
> I looked up the website to gather more information as to which are the 
> alternatives.
> There is a method getData() and some helper methods getU16_FromItem, 
> getString_FromItem.
> 
> However, after I modified our memory diagnostic code to use these new 
> methods, the application behaves faulty.
> For example, it outputs segmentation fault when I use 
> getString_FromItem(), and gives wrong data when using getData().
> 
> Could you please give some information on this?
> Libsmbios is used here to get the available memory module details 
> (size, locator, bank, etc.).
> 
> Many thanks in advance for your help!
> 
> Antony




More information about the libsmbios-devel mailing list