[Buildroot] Analysis of build failures

Gustavo Zacarias gustavo at zacarias.com.ar
Tue Aug 26 11:18:54 UTC 2014


On 08/26/2014 04:29 AM, Thomas Petazzoni wrote:

>>    powerpc |                   thrift-0.9.1 | NOK | http://autobuild.buildroot.net/results/4510fe02ef3497803ed27bf339dca07b3b073c10/
> 
> src/thrift/async/TEvhttpServer.cpp: In constructor 'apache::thrift::async::TEvhttpServer::RequestContext::RequestContext(evhttp_request*)':
> src/thrift/async/TEvhttpServer.cpp:102:59: error: 'EVBUFFER_DATA' was not declared in this scope
> src/thrift/async/TEvhttpServer.cpp:102:117: error: 'EVBUFFER_LENGTH' was not declared in this scope
> src/thrift/async/TEvhttpServer.cpp: In member function 'void apache::thrift::async::TEvhttpServer::complete(apache::thrift::async::TEvhttpServer::RequestContext*, bool)':
> src/thrift/async/TEvhttpServer.cpp:142:39: error: 'evbuffer_new' was not declared in this scope
> src/thrift/async/TEvhttpServer.cpp:150:41: error: 'evbuffer_add' was not declared in this scope
> src/thrift/async/TEvhttpServer.cpp:159:22: error: 'evbuffer_free' was not declared in this scope
> make[5]: *** [libthriftnb_la-TEvhttpServer.lo] Error 1
> 
> Gustavo, maybe?

Hi.
It's a conflict between libev and libevent at work here, they both
install /usr/include/event.h hence causing issues.
Isn't that sweet?
I think i've got a solution, i'll send a patch shortly if it pans out.
Regards.



More information about the buildroot mailing list