GithubHelp home page GithubHelp logo

Comments (8)

bugok avatar bugok commented on May 2, 2024

@xiaomi-tc: I think this might be related to unsynced code. Can you please try again? I pushed our latest branch yesterday.

from proxygen.

xiaomi-tc avatar xiaomi-tc commented on May 2, 2024

I had a retry , but the same error

libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncSSLSocket.lo -MD -MP -MF io/async/.deps/AsyncSSLSocket.Tpo -c io/async/AsyncSSLSocket.cpp -o io/async/AsyncSSLSocket.o >/dev/null 2>&1

io/async/EventBase.cpp: In member function 'virtual void folly::EventBase::FunctionRunner::messageAvailable(std::pair<void (*)(void*), void*>&&)':
io/async/EventBase.cpp:77:46: error: 'event_base_loopbreak'  was not declared in this scope
     event_base_loopbreak(getEventBase()->evb_);
                                              ^

io/async/EventBase.cpp: In constructor 'folly::EventBase::EventBase(bool)':
io/async/EventBase.cpp:170:10: error: invalid conversion from 'void_' to 'event_base_' [-fpermissive]
evb_ = (ev.ev_base) ? event_base_new() : event_init();
^
io/async/EventBase.cpp: In member function 'void folly::EventBase::terminateLoopSoon()':
io/async/EventBase.cpp:477:28: error: 'event_base_loopbreak' was not declared in this scope
event_base_loopbreak(evb_);

from proxygen.

QiMata avatar QiMata commented on May 2, 2024

I am getting the same thing with Ubuntu 14.04. Even with the repo update.

Full error:

In file included from HTTPConnector.cpp:15:0:
../../../proxygen/lib/http/session/HTTPTransaction.h: In member function 'void proxygen::HTTPTransaction::refreshTimeout()':
../../../proxygen/lib/http/session/HTTPTransaction.h:960:55: error: no matching function for call to 'folly::HHWheelTimer::scheduleTimeout(proxygen::HTTPTransaction* const)'
transactionIdleTimeouts_->scheduleTimeout(this);
^
../../../proxygen/lib/http/session/HTTPTransaction.h:960:55: note: candidate is:
In file included from ../../../proxygen/lib/http/HTTPConnector.h:14:0,
from HTTPConnector.cpp:10:
/usr/local/include/folly/io/async/HHWheelTimer.h:192:8: note: void folly::HHWheelTimer::scheduleTimeout(folly::HHWheelTimer::Callback_, std::chrono::milliseconds)
void scheduleTimeout(Callback_ callback,
^
/usr/local/include/folly/io/async/HHWheelTimer.h:192:8: note: candidate expects 2 arguments, 1 provided

My commands leading up to this are, fresh install of 14.04 on Parallels.
sudo apt-get update
sudo apt-get install git
cd ./Documents
sudo clone https://github.com/facebook/proxygen.git
cd ./proxygen/proxygen
sudo ./deps.sh && ./reinstall.sh

from proxygen.

afrind avatar afrind commented on May 2, 2024

What version of libevent do you have on your system?

From: Jared Rhodes <[email protected]mailto:[email protected]>
Reply-To: facebook/proxygen <[email protected]mailto:[email protected]>
Date: Tuesday, September 22, 2015 at 8:26 AM
To: facebook/proxygen <[email protected]mailto:[email protected]>
Subject: Re: [proxygen] deps.sh meet compile error in Ubuntu 14.10 (#62)

I am getting the same thing with Ubuntu 14.04. Even with the update.


Reply to this email directly or view it on GitHubhttps://github.com//issues/62#issuecomment-142323176.

from proxygen.

QiMata avatar QiMata commented on May 2, 2024

thinking this is what you want
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libevent-2.0-5 2.0.21-stabl amd64 Asynchronous event notification l
ii libevent-core- 2.0.21-stabl amd64 Asynchronous event notification l
ii libevent-dev 2.0.21-stabl amd64 Asynchronous event notification l
ii libevent-extra 2.0.21-stabl amd64 Asynchronous event notification l
ii libevent-opens 2.0.21-stabl amd64 Asynchronous event notification l
ii libevent-pthre 2.0.21-stabl amd64 Asynchronous event notification l

from proxygen.

afrind avatar afrind commented on May 2, 2024

@QiMata : your error is actually different (nothing about event_base_loopbreak). Looks like the folly rev is behind where it should be. Try setting it to v0.55.0. I will update it when I push this week, not sure how it didn't get updated with any previous push in the last month.

from proxygen.

QiMata avatar QiMata commented on May 2, 2024

@afrind It works but you also have to update the wangle version to 0.13.0 as well

from proxygen.

afrind avatar afrind commented on May 2, 2024

@QiMata : I just pushed, so HEAD should be good now. I also updated our push procedure so it shouldn't get missed again. Feel free to reopen if it's not working.

from proxygen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.