Re: [E-devel] undefined reference to `emotion_object_init(_Eo_Opaque*, char const*)'

2016-04-13 Thread The Rasterman
On Wed, 13 Apr 2016 18:46:01 +0200 Andreas Volz  said:

> 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 
> }
> 
> Before this wasn't needed and other EFL parts don't need it. How ever
> now it works.

errr. Emotion.h has:

...
#include 
#include 
...

#ifdef __cplusplus
extern "C" {
#endif

...


you shouldn't need the extern "C"

or was is the Emotion.h include was not included at all?

> -- 
> Technical Blog 
> 
> --
> 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
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.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


Re: [E-devel] undefined reference to `emotion_object_init(_Eo_Opaque*, char const*)'

2016-04-13 Thread Cedric BAIL
On Wed, Apr 13, 2016 at 9:54 AM, Cedric BAIL  wrote:
> On Apr 13, 2016 09:46, "Andreas Volz"  wrote:
>> Am Sun, 27 Mar 2016 09:35:07 +0200 schrieb Andreas Volz:
>> > 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 
>> }
>>
>> Before this wasn't needed and other EFL parts don't need it. How ever
>> now it works.
>
> Oh good catch. Will fix in emotion right away.

Actually there is already an extern "C" in Emotion.h. Could you look
into it a little bit more and see why it is not taken into account for
you ?
-- 
Cedric BAIL

--
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


Re: [E-devel] undefined reference to `emotion_object_init(_Eo_Opaque*, char const*)'

2016-04-13 Thread Cedric BAIL
On Apr 13, 2016 09:46, "Andreas Volz"  wrote:
>
> 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 
> }
>
> Before this wasn't needed and other EFL parts don't need it. How ever
> now it works.

Oh good catch. Will fix in emotion right away.

> --
> Technical Blog 
>
>
--
> 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
>
--
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


Re: [E-devel] undefined reference to `emotion_object_init(_Eo_Opaque*, char const*)'

2016-04-13 Thread Andreas Volz
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 
}

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

-- 
Technical Blog 

--
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