[ https://issues.apache.org/jira/browse/THRIFT-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531174#comment-14531174 ]
Konrad Grochowski commented on THRIFT-2000: ------------------------------------------- It can be reproduced on Linux if you do not do "make install" on libevent, but instead somehow add it to include path (and add - as I - wrong dir). As I was building both libevent and thrift as a internal parts of bigger system I used SCons build tool and configure everything manually (including include paths) On Windows I've just reused config.h generated on linux - I do not remember if I had to modify it... (at that time we were building with msvc2010) I've put libevent include path high on includes list, so event.h was properly resolved - this include was configured only for thrift server builds, so even if other parts of system were using event.h from PlatformSDK there were no conflicts. I'm no longer working on that project, so it's hard for me to double check all the details. > TNonblocking server does not compile with libevent 2.0.21-stable > ---------------------------------------------------------------- > > Key: THRIFT-2000 > URL: https://issues.apache.org/jira/browse/THRIFT-2000 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.9 > Environment: libevent 2.0.21 > gcc 4.7 > Reporter: Konrad Grochowski > Assignee: Konrad Grochowski > Attachments: libevent_2_0_21.patch > > > problem lays in usage of deprecated libevent API, which is still available > but in different headers > In patch there's ifdef based on libevent version, which will include missing > headers, but maybe some refactoring for future will be needed -- This message was sent by Atlassian JIRA (v6.3.4#6332)