Hello,

On Mon, Feb 11, 2013 at 10:56 PM, Stefan Schmidt <s.schm...@samsung.com> wrote:
> Hello.
>
> On 11/02/13 13:53, Stefan Schmidt wrote:
>>
>> I fixed up the most bogus things and that part builds now. Next was
>> eina_mmap failing due to stuff no available on Windows. Here I lost
>> motivation.
>
> If anybody has interest in this:
>
>    CC     lib/eina/lib_eina_libeina_la-eina_accessor.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_array.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_benchmark.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_binbuf.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_binshare.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_convert.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_counter.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_cpu.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_error.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_fp.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_hamster.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_hash.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_inarray.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_inlist.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_iterator.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_lalloc.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_list.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_log.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_magic.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_main.lo
> lib/eina/eina_main.c: In function 'eina_init':
> lib/eina/eina_main.c:253:4: warning: implicit declaration of function
> 'time' [-Wimplicit-function-declaration]
>    CC     lib/eina/lib_eina_libeina_la-eina_matrixsparse.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_mempool.lo
>    CC     lib/eina/lib_eina_libeina_la-eina_mmap.lo
> lib/eina/eina_mmap.c:71:24: error: unknown type name 'siginfo_t'
> lib/eina/eina_mmap.c: In function 'eina_mmap_safety_enabled_set':
> lib/eina/eina_mmap.c:133:27: error: storage size of 'sa' isn't known
> lib/eina/eina_mmap.c:154:14: warning: implicit declaration of function
> 'fcntl' [-Wimplicit-function-declaration]
> lib/eina/eina_mmap.c:154:48: error: 'F_GETFD' undeclared (first use in
> this function)
> lib/eina/eina_mmap.c:154:48: note: each undeclared identifier is
> reported only once for each function it appears in
> lib/eina/eina_mmap.c:155:23: error: 'FD_CLOEXEC' undeclared (first use
> in this function)
> lib/eina/eina_mmap.c:156:40: error: 'F_SETFD' undeclared (first use in
> this function)
> lib/eina/eina_mmap.c:161:27: error: '_eina_mmap_safe_sigbus' undeclared
> (first use in this function)
> lib/eina/eina_mmap.c:162:23: error: 'SA_RESTART' undeclared (first use
> in this function)
> lib/eina/eina_mmap.c:162:36: error: 'SA_SIGINFO' undeclared (first use
> in this function)
> lib/eina/eina_mmap.c:163:9: warning: implicit declaration of function
> 'sigemptyset' [-Wimplicit-function-declaration]
> lib/eina/eina_mmap.c:164:9: warning: implicit declaration of function
> 'sigaction' [-Wimplicit-function-declaration]
> lib/eina/eina_mmap.c:164:23: error: 'SIGBUS' undeclared (first use in
> this function)
> lib/eina/eina_mmap.c:133:27: warning: unused variable 'sa'
> [-Wunused-variable]
> make[4]: *** [lib/eina/lib_eina_libeina_la-eina_mmap.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

There is apparently no windows implementation of
eina_mmap_safety_enabled_set (signal don't exist on windows). The idea
of this function is to setup a sigbus handler to detect access to
corrupted file with Eina_File. I have no idea how to detect that in
Windows land. For the moment I would say we should properly disable
the code.
--
Cedric BAIL

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to