Am Sun, 27 Mar 2016 09:35:07 +0200 schrieb Andreas Volz:

> Hello,
> 
> I tried to repair the broken emotionxx. At some point it stopped to
> work and so I deactivated it for some time. All applications liking
> against it get:
> 
> libtool: link: g++ -O0 -ggdb -Wall -o .libs/emotionxx_example_simple
> main.o  /home/andreas/src/git/efl/bindings/eflxx/edjexx/src/.libs/libedjexx.so
> -L/opt/e20/lib /opt/e20/lib/libedje.so 
> /home/andreas/src/git/efl/bindings/eflxx/ecorexx/src/.libs/libecorexx.so 
> /opt/e20/lib/libecore.so /opt/e20/lib/libecore_x.so 
> /opt/e20/lib/libecore_evas.so /opt/e20/lib/libecore_ipc.so 
> /home/andreas/src/git/efl/bindings/eflxx/evasxx/src/.libs/libevasxx.so 
> /home/andreas/src/git/efl/bindings/eflxx/emotionxx/src/.libs/libemotionxx.so 
> /opt/e20/lib/libemotion.so /opt/e20/lib/libevas.so 
> /home/andreas/src/git/efl/bindings/eflxx/eflxx_examples/src/common/.libs/libeflxx_example_common.a
>  /home/andreas/src/git/efl/bindings/eflxx/eflxx/src/.libs/libeflxx.so 
> /home/andreas/src/git/efl/bindings/eflxx/einaxx/src/.libs/libeinaxx.so 
> /usr/lib/x86_64-linux-gnu/libsigc-2.0.so /opt/e20/lib/libeina.so
> -lpthread
> -pthread 
> /home/andreas/src/git/efl/bindings/eflxx/emotionxx/src/.libs/libemotionxx.so:
> undefined reference to `emotion_object_init(_Eo_Opaque*, char
> const*)' collect2: error: ld returned 1 exit status make[4]: ***
> [emotionxx_example_simple] Fehler 1
> 
> 
> But /opt/e20/lib/libemotion.so is in the linker path and I checked
> that libemotion.so contains emotion_object_init function. I don't
> understand why it doesn't link.

Ok, after several work I found the problem :-P

extern "C"
{
#include <Emotion.h>
}

Before this wasn't needed and other EFL parts don't need it. How ever
now it works.

-- 
Technical Blog <http://andreasvolz.wordpress.com/>

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to