Re: [E-devel] [PATCH] eina patch for cygwin-1.7
On Thu, 18 Jun 2009, booleanla...@gmail.com wrote: Hi, lipens...@email.cz > +AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects]) > #define MODULE_EXTENSION SHARED_LIB_SUFFIX Sorry, I had completely forgotten it (better solution in your previous post). That solution seems to be good enough, according to autoconf guys, and i prefer it, rather than adding macros Vincent Pavel Lipenský wrote: Hi, E-devel and what about +AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects]) and then #define MODULE_EXTENSION SHARED_LIB_SUFFIX AFAIK this was commonly used by several E17-050 components and it was working very well on Cygwing 1.5. Regards Pavel P?vodní zpráva Od: Lars Munch P?edm?t: Re: [E-devel] [PATCH] eina patch for cygwin-1.7 Datum: 18.6.2009 06:07:26 On Wed, Jun 17, 2009 at 06:11:43PM +0200, Vincent Torri wrote: On Thu, 18 Jun 2009, booleanla...@gmail.com wrote: Hi, E-devel Sorry, my previous eina patch (for cygwin-1.7) was incomplete. what ? cygwin does not define _WIN32 No, since Cygwin is a unix emulation environment you have to explicetely compile with -mwin32 if you want _WIN32 defined and you don't want that unless you really have to. So the patch is good. In svn, thanks. Lars Munch -- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. Message délivré par le serveur de messagerie de l'Université d'Evry. -- ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] eina patch for cygwin-1.7
On Thu, Jun 18, 2009 at 11:35:29PM +0900, booleanla...@gmail.com wrote: > Hi, lipens...@email.cz > > >> +AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for > shared objects]) > >> #define MODULE_EXTENSION SHARED_LIB_SUFFIX > > Sorry, I had completely forgotten it (better solution in your previous > post). > Sorry, I did not see that post. Vincent is currently checking if this is the best approach to set the module extension. Regards Lars Munch -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] eina patch for cygwin-1.7
Hi, lipens...@email.cz > +AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects]) > #define MODULE_EXTENSION SHARED_LIB_SUFFIX Sorry, I had completely forgotten it (better solution in your previous post). Pavel Lipenský wrote: Hi, E-devel and what about +AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects]) and then #define MODULE_EXTENSION SHARED_LIB_SUFFIX AFAIK this was commonly used by several E17-050 components and it was working very well on Cygwing 1.5. Regards Pavel Původní zpráva Od: Lars Munch Předmět: Re: [E-devel] [PATCH] eina patch for cygwin-1.7 Datum: 18.6.2009 06:07:26 On Wed, Jun 17, 2009 at 06:11:43PM +0200, Vincent Torri wrote: On Thu, 18 Jun 2009, booleanla...@gmail.com wrote: Hi, E-devel Sorry, my previous eina patch (for cygwin-1.7) was incomplete. what ? cygwin does not define _WIN32 No, since Cygwin is a unix emulation environment you have to explicetely compile with -mwin32 if you want _WIN32 defined and you don't want that unless you really have to. So the patch is good. In svn, thanks. Lars Munch Index: src/lib/eina_module.c === --- src/lib/eina_module.c (revision 41102) +++ src/lib/eina_module.c (working copy) @@ -66,11 +66,7 @@ * @cond LOCAL */ -#if defined(_WIN32) || defined(__CYGWIN__) -# define MODULE_EXTENSION ".dll" -#else -# define MODULE_EXTENSION ".so" -#endif /* !defined(_WIN32) && !defined(__CYGWIN__) */ +#define MODULE_EXTENSION SHARED_LIB_SUFFIX #define EINA_MODULE_SYMBOL_INIT "__eina_module_init" #define EINA_MODULE_SYMBOL_SHUTDOWN "__eina_module_shutdown" Index: configure.ac === --- configure.ac(revision 41102) +++ configure.ac(working copy) @@ -382,6 +382,9 @@ EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"]) EFL_CHECK_BENCHMARK([enable_benchmark="yes"], [enable_benchmark="no"]) +# Checks for shared library suffix +AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects]) + AC_CONFIG_FILES([ Makefile eina-0.pc -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] eina patch for cygwin-1.7
On Wed, Jun 17, 2009 at 06:11:43PM +0200, Vincent Torri wrote: > > > On Thu, 18 Jun 2009, booleanla...@gmail.com wrote: > > > Hi, E-devel > > > > > > Sorry, my previous eina patch (for cygwin-1.7) was incomplete. > > what ? cygwin does not define _WIN32 No, since Cygwin is a unix emulation environment you have to explicetely compile with -mwin32 if you want _WIN32 defined and you don't want that unless you really have to. So the patch is good. In svn, thanks. Lars Munch -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] eina patch for cygwin-1.7
On Thu, 18 Jun 2009, booleanla...@gmail.com wrote: > Hi, E-devel > > > Sorry, my previous eina patch (for cygwin-1.7) was incomplete. what ? cygwin does not define _WIN32 Vincent -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] eina patch for cygwin-1.7
Hi, E-devel Sorry, my previous eina patch (for cygwin-1.7) was incomplete. Best regards Index: src/lib/eina_module.c === --- src/lib/eina_module.c (revision 41065) +++ src/lib/eina_module.c (working copy) @@ -66,11 +66,11 @@ * @cond LOCAL */ -#ifdef _WIN32 +#if defined(_WIN32) || defined(__CYGWIN__) # define MODULE_EXTENSION ".dll" #else # define MODULE_EXTENSION ".so" -#endif /* ! _WIN32 */ +#endif /* !defined(_WIN32) && !defined(__CYGWIN__) */ #define EINA_MODULE_SYMBOL_INIT "__eina_module_init" #define EINA_MODULE_SYMBOL_SHUTDOWN "__eina_module_shutdown" -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] eina patch for cygwin-1.7
On Sat, 28 Feb 2009 19:17:33 +0900 booleanla...@gmail.com said: in svn! thanks! > Hi, E-devel > > > I made a eina patch for cygwin-1.7 (not cygwin-1.5). > > However eina_bench aborts as follows: > > > % ./autogen.sh --enable-tests --enable-benchmark --enable-e17 > % make > % make install > % /path/to/install/eina_bench.exe test > (snip) > Run array-inline: 3500 > Run array-inline: 3600 > Run array-inline: 3700 > Run array-inline: 3800 > Run array-inline: 3900 > Run array-iterator: 200 > [eina_iterator.c:163] eina_iterator_foreach() *** Eina Magic Check > Failed !!! > Input handle pointer is NULL ! > *** NAUGHTY PROGRAMMER!!! > *** SPANK SPANK SPANK!!! > *** Now go fix your code. Tut tut tut! > > [eina_iterator.c:164] eina_iterator_foreach() safety check failed: > iterator == NULL > [eina_iterator.c:96] eina_iterator_free() *** Eina Magic Check Failed !!! > Input handle pointer is NULL ! > *** NAUGHTY PROGRAMMER!!! > *** SPANK SPANK SPANK!!! > *** Now go fix your code. Tut tut tut! > > [eina_iterator.c:97] eina_iterator_free() safety check failed: iterator > == NULL > Run array-iterator: 300 > [eina_iterator.c:163] eina_iterator_foreach() *** Eina Magic Check > Failed !!! > Input handle pointer is NULL ! > *** NAUGHTY PROGRAMMER!!! > *** SPANK SPANK SPANK!!! > *** Now go fix your code. Tut tut tut! > > [eina_iterator.c:164] eina_iterator_foreach() safety check failed: > iterator == NULL > [eina_iterator.c:96] eina_iterator_free() *** Eina Magic Check Failed !!! > Input handle pointer is NULL ! > *** NAUGHTY PROGRAMMER!!! > *** SPANK SPANK SPANK!!! > *** Now go fix your code. Tut tut tut! > > [eina_iterator.c:97] eina_iterator_free() safety check failed: iterator > == NULL > (snip) > Run array-iterator: 3900 > [eina_iterator.c:163] eina_iterator_foreach() *** Eina Magic Check > Failed !!! > Input handle pointer is NULL ! > *** NAUGHTY PROGRAMMER!!! > *** SPANK SPANK SPANK!!! > *** Now go fix your code. Tut tut tut! > > [eina_iterator.c:164] eina_iterator_foreach() safety check failed: > iterator == NULL > [eina_iterator.c:96] eina_iterator_free() *** Eina Magic Check Failed !!! > Input handle pointer is NULL ! > *** NAUGHTY PROGRAMMER!!! > *** SPANK SPANK SPANK!!! > *** Now go fix your code. Tut tut tut! > > [eina_iterator.c:97] eina_iterator_free() safety check failed: iterator > == NULL > Run list: 200 > [eina_list.c:439] eina_list_init() ERROR: Mempool for list cannot be > allocated in list init. > Aborted (core dumped) > % > > Is this behavior correct? > > > Best regards > > > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [PATCH] eina patch for cygwin-1.7
Hi, E-devel I made a eina patch for cygwin-1.7 (not cygwin-1.5). However eina_bench aborts as follows: % ./autogen.sh --enable-tests --enable-benchmark --enable-e17 % make % make install % /path/to/install/eina_bench.exe test (snip) Run array-inline: 3500 Run array-inline: 3600 Run array-inline: 3700 Run array-inline: 3800 Run array-inline: 3900 Run array-iterator: 200 [eina_iterator.c:163] eina_iterator_foreach() *** Eina Magic Check Failed !!! Input handle pointer is NULL ! *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! [eina_iterator.c:164] eina_iterator_foreach() safety check failed: iterator == NULL [eina_iterator.c:96] eina_iterator_free() *** Eina Magic Check Failed !!! Input handle pointer is NULL ! *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! [eina_iterator.c:97] eina_iterator_free() safety check failed: iterator == NULL Run array-iterator: 300 [eina_iterator.c:163] eina_iterator_foreach() *** Eina Magic Check Failed !!! Input handle pointer is NULL ! *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! [eina_iterator.c:164] eina_iterator_foreach() safety check failed: iterator == NULL [eina_iterator.c:96] eina_iterator_free() *** Eina Magic Check Failed !!! Input handle pointer is NULL ! *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! [eina_iterator.c:97] eina_iterator_free() safety check failed: iterator == NULL (snip) Run array-iterator: 3900 [eina_iterator.c:163] eina_iterator_foreach() *** Eina Magic Check Failed !!! Input handle pointer is NULL ! *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! [eina_iterator.c:164] eina_iterator_foreach() safety check failed: iterator == NULL [eina_iterator.c:96] eina_iterator_free() *** Eina Magic Check Failed !!! Input handle pointer is NULL ! *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! [eina_iterator.c:97] eina_iterator_free() safety check failed: iterator == NULL Run list: 200 [eina_list.c:439] eina_list_init() ERROR: Mempool for list cannot be allocated in list init. Aborted (core dumped) % Is this behavior correct? Best regards Index: src/tests/eina_bench.c === --- src/tests/eina_bench.c (revision 39273) +++ src/tests/eina_bench.c (working copy) @@ -52,7 +52,7 @@ { eina_mempool_init(); /* force modules to be loaded in case they are not installed */ -_modules = eina_module_list_get(PACKAGE_BUILD_DIR"/src/modules", 1, NULL, NULL); +_modules = eina_module_list_get(NULL, PACKAGE_BUILD_DIR"/src/modules", 1, NULL, NULL); eina_module_list_load(_modules); } Index: src/tests/eina_bench_stringshare_e17.c === --- src/tests/eina_bench_stringshare_e17.c (revision 39273) +++ src/tests/eina_bench_stringshare_e17.c (working copy) @@ -110,7 +110,7 @@ eina_counter_stop(cnt, 1); fprintf(stderr, "For `%s`:\n", str->name); - eina_counter_dump(cnt, stderr); + eina_counter_dump(cnt); eina_counter_delete(cnt); } Index: configure.ac === --- configure.ac(revision 39273) +++ configure.ac(working copy) @@ -302,6 +302,9 @@ *darwin*) EINA_LIBS="${EINA_LIBS} -lm" ;; + *cygwin*) + EINA_LIBS="${EINA_LIBS} -ldl -lm" + ;; *) EINA_LIBS="${EINA_LIBS} -ldl -lrt -lm" ;; -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel