The difference between my build (Linux) and OSX seems to be the presence or not of cserve2 which lead to the inclusion of all of evas private headers, thus LKI() was well defined (and LKD, etc... were defined multiple times).
2017-11-07 20:22 GMT+09:00 Jean-Philippe André <[email protected]>: > > > 2017-11-07 20:20 GMT+09:00 Carsten Haitzler <[email protected]>: > >> On Tue, 07 Nov 2017 09:08:04 +0000 Andrew Williams <[email protected]> >> said: >> >> > Hi, >> > >> > It got us much closer - it now fails with the following: >> > >> > CXXLD lib/evas/libevas.la >> > >> > Undefined symbols for architecture x86_64: >> > >> > "_LKI", referenced from: >> > >> > __evas_common_font_int_cache_init in >> > lib_evas_libevas_la-evas_font_load.o >> > >> > _evas_common_font_memory_load in lib_evas_libevas_la-evas_font_ >> load.o >> > >> > _evas_common_font_load in lib_evas_libevas_la-evas_font_load.o >> > >> > _evas_common_font_init in lib_evas_libevas_la-evas_font_main.o >> > >> > ld: symbol(s) not found for architecture x86_64 >> > >> > clang: error: linker command failed with exit code 1 (use -v to see >> > invocation) >> > >> > make[4]: *** [lib/evas/libevas.la] Error 1 >> >> that is very odd. they are specced with >> >> src/lib/evas/common/evas_font.h:EAPI RGBA_Font >> *evas_common_font_memory_load (const char *source, const char >> *name, >> int size, const void *data, int data_size, Font_Rend_Flags wanted_rend, >> Efl_Text_Font_Bitmap_Scalable bitmap_scalable); >> >> for example. EAPI ... should still be defined to make these visible >> functions. >> could EAPI be mis-defined there causing this? >> >> > Nah. LKI is undefined. The evas functions reference it. > LKI is a macro. Somehow didn't get defined, thus became a symbol., > I wonder why it works for us. > > I pushed a patch, please test. > > >> > >> > Thanks, >> > >> > Andy >> > >> > On Tue, 7 Nov 2017 at 01:48 Jean-Philippe André <[email protected]> >> wrote: >> > >> > > EAPI is redefined to (nothing/dllimport) after Elementary.h, so I had >> > > introduced elm_module_helper.h to re-define EAPI for those modules. >> > > I think that keeping EAPI defined after Elementary.h caused problems >> on >> > > Windows where application's EAPI were marked as dllimport instead of >> > > dllexport (or something like that, I can't remember very well). >> > > >> > > Anyway I pushed a patch, let us know if this fixes the build for OSX. >> > > Thanks! >> > > >> > > >> > > 2017-11-07 5:37 GMT+09:00 Jean Guyomarc'h <[email protected]>: >> > > >> > > > Hi, >> > > > >> > > > Eo events are generated as: >> > > > EWAPI const Efl_Event_Description __BLAH = >> > > EFL_EVENT_DESCRIPTION("blah"); >> > > > >> > > > this yields private symbols that are not exported outside of >> > > libelementary. >> > > > Hence link failure with elm modules... >> > > > But I don't understand why. >> > > > >> > > > >> > > > Jean >> > > > >> > > > On Sat, Nov 4, 2017 at 5:39 PM, Jean Guyomarc'h < >> > > [email protected]> >> > > > wrote: >> > > > >> > > > > hi, >> > > > > >> > > > > i'm not at home, and cannot really help. if there is a ticket >> open, i >> > > may >> > > > > have a look on monday. is that on git master ? >> > > > > >> > > > > thanks >> > > > > Jean >> > > > > >> > > > > >> > > > > On Nov 4, 2017 15:03, "Carsten Haitzler" <[email protected]> >> wrote: >> > > > > >> > > > > On Sat, 04 Nov 2017 11:21:09 +0000 Andrew Williams < >> > > [email protected] >> > > > > >> > > > > said: >> > > > > >> > > > > > Can anyone help with this one please? >> > > > > > >> > > > > > >> > > > > > Thanks, >> > > > > > >> > > > > > Andy >> > > > > > >> > > > > > >> > > > > > CC >> > > > > > modules/elementary/clock_input_ctxpopup/modules_elementary_ >> > > > > clock_input_ctxpopup_module_la-clock_input_ctxpopup.lo >> > > > > > >> > > > > > CCLD modules/elementary/clock_input_ctxpopup/module.la >> > > > > > >> > > > > > Undefined symbols for architecture x86_64: >> > > > > > >> > > > > > "__ELM_CTXPOPUP_EVENT_DISMISSED", referenced from: >> > > > > > >> > > > > > __field_clicked_cb in >> > > > > > modules_elementary_clock_input_ctxpopup_module_la- >> > > > clock_input_ctxpopup.o >> > > > > >> > > > > that sounds totally bizarre because the function is >> _field_clicked_cb: >> > > > > >> > > > > static void >> > > > > _field_clicked_cb(void *data, const Efl_Event *event) >> > > > > { >> > > > > >> > > > > > ld: symbol(s) not found for architecture x86_64 >> > > > > > >> > > > > > clang: error: linker command failed with exit code 1 (use -v to >> see >> > > > > > invocation) >> > > > > > >> > > > > > make[4]: *** [modules/elementary/clock_input_ctxpopup/module.la >> ] >> > > > Error 1 >> > > > > > >> > > > > > make[3]: *** [all-recursive] Error 1 >> > > > > > >> > > > > > make[2]: *** [all] Error 2 >> > > > > > >> > > > > > make[1]: *** [all-recursive] Error 1 >> > > > > > >> > > > > > make: *** [all] Error 2 >> > > > > > -- >> > > > > > http://andywilliams.me >> > > > > > http://ajwillia.ms >> > > > > > ------------------------------------------------------------ >> > > > > ------------------ >> > > > > > Check out the vibrant tech community on one of the world's most >> > > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > > > > > _______________________________________________ >> > > > > > enlightenment-devel mailing list >> > > > > > [email protected] >> > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-d >> evel >> > > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > ------------- Codito, ergo sum - "I code, therefore I am" >> > > -------------- >> > > > > Carsten Haitzler - [email protected] >> > > > > >> > > > > >> > > > > ------------------------------------------------------------ >> > > > > ------------------ >> > > > > Check out the vibrant tech community on one of the world's most >> > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > > > > _______________________________________________ >> > > > > enlightenment-devel mailing list >> > > > > [email protected] >> > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > > >> > > > > >> > > > > >> > > > ------------------------------------------------------------ >> > > > ------------------ >> > > > Check out the vibrant tech community on one of the world's most >> > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > > > _______________________________________________ >> > > > enlightenment-devel mailing list >> > > > [email protected] >> > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > >> > > > >> > > >> > > >> > > -- >> > > Jean-Philippe André >> > > >> > > ------------------------------------------------------------ >> ------------------ >> > > Check out the vibrant tech community on one of the world's most >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > > _______________________________________________ >> > > enlightenment-devel mailing list >> > > [email protected] >> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > >> > -- >> > http://andywilliams.me >> > http://ajwillia.ms >> > ------------------------------------------------------------ >> ------------------ >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > _______________________________________________ >> > enlightenment-devel mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> >> -- >> ------------- Codito, ergo sum - "I code, therefore I am" -------------- >> Carsten Haitzler - [email protected] >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> enlightenment-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > > -- > Jean-Philippe André > -- Jean-Philippe André ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
