RE: Patch for lsblibchk

"Wichmann, Mats D" <[email protected]>
Newsgroups gmane.linux.lsb.test-suite
Message-ID <A06801158AE07847B27A52C1A074BC1D081750CE@fmsmsx404.amr.corp.intel.com>
>with this patch, lsblibchk passes on x86. I don't know if the patch
>is really correct, since I don't understand the whole lsblibchk code:

I get also zero fails on ia32 (Mandriva) and x86_64 (FC4),
but doesn't compile on ia64 (RHEL4) due to the function-pointer
thing:

@@ -272,7 +276,7 @@
 	* for the funcptr that was used for the lookup.
 	*/
 	if( dlinfo.dli_saddr &&
-
(fptr2ptr(*((fptr*)dlinfo.dli_saddr))!=fptr2ptr(vtvirtfuncs[j])) ) 
+		(dlinfo.dli_saddr!=fptr2ptr(symp)) ) 
........................................^^^^

classchk.c:279: error: incompatible type for argument 1 of `fptr2ptr'
and one other instance of the same on line 288

will need a tweak there to fix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.