|
From: Jorge L. Z. M. <jor...@gm...> - 2005-06-09 00:56:34
|
hi all,=20
im trying to make an e_module that uses esmart, i already update all
the e libs that references esmart (ecore, evas, etc), when i comile
and link the e_module i use:
-lesmart_container, and the [enlightenment,ecore,evas,edje]-config to
set the CFLAGS and LIBS. the module itself is just the recipe for
esmart_container, but when compiled as a binary there's no problem,
but as a module e17 crashes with this error:
enlightenment-0.17: symbol lookup error:
/usr/lib/esmart/layout/default.so: undefined symbol:
esmart_container_elements_orig_length_get
and when running ldd -r /usr/lib/esmart/layout/default.so:
undefined symbol: evas_object_color_get (/usr/lib/esmart/layout/default.so)
undefined symbol: ecore_time_get =20
undefined symbol: evas_object_geometry_get =20
(/usr/lib/esmart/layout/default.so)
undefined symbol: evas_object_image_fill_set =20
(/usr/lib/esmart/layout/default.so)
undefined symbol: esmart_container_elements_length_get=20
(/usr/lib/esmart/layout/default.so)
undefined symbol: esmart_container_elements_orig_length_get =20
(/usr/lib/esmart/layout/default.so)
undefined symbol: ecore_timer_add (/usr/lib/esmart/layout/default.so)
undefined symbol: ecore_timer_del (/usr/lib/esmart/layout/default.so)
undefined symbol: evas_list_count (/usr/lib/esmart/layout/default.so)
undefined symbol: evas_object_resize (/usr/lib/esmart/layout/default.so)
undefined symbol: exp (/usr/lib/esmart/layout/default.so)
undefined symbol: evas_object_move (/usr/lib/esmart/layout/default.so)
undefined symbol: evas_object_type_get (/usr/lib/esmart/layout/default.so)
ldd -r /usr/lib/libesmart_container.so:
undefined symbol: ecore_time_get (/usr/lib/libesmart_container.so)
undefined symbol: ecore_timer_del (/usr/lib/libesmart_container.so)
so is there an extra option that i shuld append in the linking
process, actually in the compile-link process theres no warning or
error.
Makefile.am
=3D=3D=3D=3D=3D=3D=3D
...
INCLUDES =3D -I. \
`enlightenment-config --cflags` \
`ecore-config --cflags` \
`evas-config --cflags` \
`esmart-config --cflags`
module_la_LDFLAGS =3D -module -avoid-version \
`enlightenment-config --libs` \
`esmart-config --libs` \
`evas-config --libs` \
`ecore-config --libs` \
-lesmart_container
...
any ideas on how to solve this? is it a bug? btw is there an e_modules
skeleton able to be built outside the e tree, as i am using the
e_module_memory as the base.
|