On Tue, Jan 09, 2007 at 08:41:54PM +0530, rafeeqh shaik wrote: > All - > > I am using DirectFB-1.0.0.rc1. Inside lib/fusion/shm, the makefile creates > object only for fake.c.
fake.c is only built when multi-app support is disabled. > shm.c contains 2 function definitions which is used by fusion.c > fusion_shm_init > fusion_shm_deinit > > As per lib/fusion/shm/Makefile, only fake.c is included into > libfusion_shm.a, which inturns gets absorbed into libfusion.so. > > But, while building tools, I am getting undefined reference: > a) libfusion_shm.a having only fake.o > ../lib/fusion/.libs/libfusion.so: undefined reference to `fusion_shm_init' And the contents of fusion.c are ifdeffed so nothing there gets built when multi-app support is disabled. Therefore it seems you've managed to mess up somehow. Or maybe the build system is broken for the non-multi case (I haven't tried it in a long time), but I would think someone else would have complained if that was the case. -- 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
