also dynamically linking ffmpeg produce the same results. Nothing is returned by handlers.str() I'm avoiding to compile also gnash dynamically because i have some problems in the linking phase I'll try to fix this problem and hope this could fix the problem Il giorno 19/lug/2010, alle ore 21.22, Benjamin Wolsey ha scritto:
> Am Montag, den 19.07.2010, 21:07 +0200 schrieb Adrian Panasiuk: >>>> 3. They're getting compiled but the static initialization isn't >>>> performed. I can't think of a good reason (except possibly linking) why >>>> that might happen. >>>> >>> but that's why i'm using a static lib instead of the shared one? >>> >> >> Hi, I have the same problem under Haiku and it's caused by the static >> variable inside GnashFactory::instance function - it's linked into >> different addresses in the shared libraries and in the gui executable. >> I've been told this is because Haiku's linker doesn't support weak >> symbols correctly. > > I don't this is the problem that Andrea is having, but rather that for > statically linked libraries the registration objects are never > constructed. This is because they only have to be initialized before a > function in that TU is called, and no function in the TU is ever called. > > Fixing it means either relying on a linker flag or introducing a > function call into each TU with a registration object, which rather > defeats the point of using such objects at all. > > bwy > > > -- > Free Flash, use Gnash > http://www.gnu.org/software/gnash/ > > Benjamin Wolsey, Software Developer - http://benjaminwolsey.de > C++ and Open-Source Flash blog - http://www.benjaminwolsey.de/bwysblog > > xmpp:b...@xabber.de > http://identi.ca/bwy > _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev