Mailinglist Archive: opensuse-packaging (174 mails)

< Previous Next >
Re: [opensuse-packaging] Re: libffmpeg-api
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Tue, 17 Mar 2009 13:18:17 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0903171316470.29566@xxxxxxxxxxxxx>
Hi,

On Tue, 17 Mar 2009, Ludwig Nussel 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=HEAD

It only handles functions. No data.

Cool. Great minds think alike (and even greater ones actually then do
something) :)


Ciao,
Michael.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >