On Wed, Sep 12, 2007 at 09:49:50PM +0900, SiO4, Yong Hwan wrote: > Thank you for your fast reply. > > I made attached patch and it also clear my problem. but I want > to know WHY this strange behavior is occurred
Maybe someone who knows how the dynamic linker behaves can give you a deep answer. I think it basically happens with DirectFB because there are two dlopens involved. The application is linked against libdirectfb.so which dlopens libdirectfb_tslib.so which is linked against libts.so which dlopens pthres.so (and the other plugins). > and HOW can I > fix this problem with more proper way. By using the patch I made. Unfortunately I have not recieved any response from any tslib developers (if there are any) to my patches. I'm not sure if there will ever be another tslib release, or if my patches will be applied to it. > --- tslib-1.0/plugins/Makefile.am.orig 2007-09-12 20:31:07.000000000 > +0900 > +++ tslib-1.0/plugins/Makefile.am 2007-09-12 20:33:39.000000000 +0900 > @@ -105,39 +105,39 @@ > $(H2200_LINEAR_MODULE) \ > $(INPUT_MODULE) > > -variance_la_SOURCES = variance.c > +variance_la_SOURCES = variance.c ../src/ts_parse_vars.c > variance_la_LDFLAGS = -module $(LTVSN) ... This is wasteful since it will duplicate the code in each plugin. > # hw access > -corgi_la_SOURCES = corgi-raw.c > +corgi_la_SOURCES = corgi-raw.c ../src/ts_parse_vars.c > corgi_la_LDFLAGS = -module $(LTVSN) ... And now you're adding the code to many plugins which don't even need it. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
