On Fri, 20 Jan 2012 09:34:01 +0100 Guillaume Friloux
<[email protected]> said:

that patch smells totally wrong. that means ALL apps including Eina.h as
standard are going to see your problem... 

> Hello e people,
> 
> It is actually not possible to build eina with thread support on some
> old systems (like debian4).
> 
> Symptom :
> When compiling eina_unicode, the following message appears :
> http://pastebin.com/Y9iCDqud
> 
> The problem is that when building eina_unicode.c we include Eina.h, then
> include eina_lock.h, then include eina_inline_lock_posix.x, which
> includes pthread.h, with _SYS_TYPES_H already defined, but wasnt include
> with __USE_UNIX98 defined, so pthread_rwlock_t isnt known.
> 
> Removing the include on Eina.h from eina_unicode.c resolves everything.
> I am able to build with thread support on debian4, and can still build
> on up2date archlinux.
> 
> I have been told that it is not normal to have an include on Eina.h from
> eina_unicode.c as each .c must only include stictly what it needs. So i
> dont think i broke anything doing that, but please think a little about
> it, as eina is “something big” to me.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to