All -

I am using DirectFB-1.0.0.rc1. Inside lib/fusion/shm, the makefile creates
object only for fake.c.
Fake.c + Pool.c contains the following function definitions:
fusion_shm_pool_create(
fusion_shm_pool_destroy(
fusion_shm_pool_attach(
fusion_shm_pool_detach(
fusion_shm_pool_allocate(
fusion_shm_pool_reallocate(
fusion_shm_pool_deallocate(

Pool.c alone contains the following function definitions:
remap_pool
_fusion_shmalloc_cure
_fusion_shmpool_process
init_pool
join_pool
leave_pool
shutdown_pool
remap_pool

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'
../lib/fusion/.libs/libfusion.so: undefined reference to
`_fusion_shmpool_process'
../lib/fusion/.libs/libfusion.so: undefined reference to `fusion_shm_deinit'

b) libfusion_shm.a having fake.o and shm.o
../lib/fusion/.libs/libfusion.so: undefined reference to
`_fusion_shmalloc_cure'
../lib/fusion/.libs/libfusion.so: undefined reference to
`_fusion_shmpool_process'

c) everything goes fine, if we libfusion_shm.a contains heap.c, pool.c and
shm.c. But, when we run gtkperf with this version of libfusion.so, we get
the following error while testing combobox | comboboxentry
GtkComboBox - (!) [ 1014:    3.514] --> Caught signal 7 (at 0x2086b000,
non-existent physical address)

Please let me know, what is the right version of .o's to be used in
lib/fusion/shm/Makefile.

Thanks,
--
SHAIK RAFEEQH
IIT DELHI
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to