Michael Matz wrote:
[...] In any case, this would be _extremely_ fragile, and generally a terrible idea. The only way to sensibly generate such fake library is by parsing the original exported symbols from the .so file, generating a C source file from that info, implementing empty functions and defining data symbols (of the right size), of the right visibility and version info (the latter can be done by inline asm or by a linker version script).
This script basically uses that technique to create filter objects: http://xqf.svn.sourceforge.net/viewvc/xqf/trunk/xqf/src/gensyms.pl?revision=... It only handles functions. No data. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org