GithubHelp home page GithubHelp logo

build error on ubuntu 15.04 about proxygen HOT 5 CLOSED

facebook avatar facebook commented on May 2, 2024
build error on ubuntu 15.04

from proxygen.

Comments (5)

bugok avatar bugok commented on May 2, 2024

Hi @js7222, thanks for reporting this.
Sorry it took a while to get back to you.
I think this is a compatibility issue with folly and Ubuntu 15.04.
Can you please try and build folly, without proxygen?
See https://github.com/facebook/folly

If this fails - we'll open an issue with folly.
cc: @sgolemon

from proxygen.

js7222 avatar js7222 commented on May 2, 2024

Same with folly

make all-recursive
make[1]: Entering directory '/home/james/folly/folly'
Making all in .
make[2]: Entering directory '/home/james/folly/folly'
/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -g -O2 -lboost_context -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -o generate_fingerprint_tables build/GenerateFingerprintTables.o libfollybase.la -llzma -lz -lsnappy -llz4 -liberty -ljemalloc -levent -ldouble-conversion -lssl -lgflags -lglog
depbase=echo io/async/AsyncTimeout.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncTimeout.lo -MD -MP -MF $depbase.Tpo -c -o io/async/AsyncTimeout.lo io/async/AsyncTimeout.cpp &&
mv -f $depbase.Tpo $depbase.Plo
depbase=echo io/async/AsyncUDPSocket.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncUDPSocket.lo -MD -MP -MF $depbase.Tpo -c -o io/async/AsyncUDPSocket.lo io/async/AsyncUDPSocket.cpp &&
mv -f $depbase.Tpo $depbase.Plo
depbase=echo io/async/AsyncServerSocket.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncServerSocket.lo -MD -MP -MF $depbase.Tpo -c -o io/async/AsyncServerSocket.lo io/async/AsyncServerSocket.cpp &&
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncTimeout.lo -MD -MP -MF io/async/.deps/AsyncTimeout.Tpo -c io/async/AsyncTimeout.cpp -fPIC -DPIC -o io/async/.libs/AsyncTimeout.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncUDPSocket.lo -MD -MP -MF io/async/.deps/AsyncUDPSocket.Tpo -c io/async/AsyncUDPSocket.cpp -fPIC -DPIC -o io/async/.libs/AsyncUDPSocket.o
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncServerSocket.lo -MD -MP -MF io/async/.deps/AsyncServerSocket.Tpo -c io/async/AsyncServerSocket.cpp -fPIC -DPIC -o io/async/.libs/AsyncServerSocket.o
libtool: link: g++ -std=gnu++0x -g -O2 -o generate_fingerprint_tables build/GenerateFingerprintTables.o ./.libs/libfollybase.a -lboost_context -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -llzma -lz -lsnappy -llz4 -liberty -ljemalloc -levent -ldouble-conversion -lssl -lgflags -lglog
depbase=echo io/async/AsyncSignalHandler.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncSignalHandler.lo -MD -MP -MF $depbase.Tpo -c -o io/async/AsyncSignalHandler.lo io/async/AsyncSignalHandler.cpp &&
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncSignalHandler.lo -MD -MP -MF io/async/.deps/AsyncSignalHandler.Tpo -c io/async/AsyncSignalHandler.cpp -fPIC -DPIC -o io/async/.libs/AsyncSignalHandler.o
In file included from ./../folly/io/async/EventHandler.h:24:0,
from ./../folly/io/async/AsyncServerSocket.h:20,
from io/async/AsyncServerSocket.cpp:21:
./../folly/io/async/EventUtil.h: In static member function 'static bool folly::EventUtil::isEventRegistered(const event_)':
./../folly/io/async/EventUtil.h:38:17: error: 'const struct event' has no member named 'ev_flags'
return (ev->ev_flags & EVLIST_REGISTERED);
^
In file included from io/async/AsyncTimeout.cpp:23:0:
./../folly/io/async/EventUtil.h: In static member function 'static bool folly::EventUtil::isEventRegistered(const event_)':
./../folly/io/async/EventUtil.h:38:17: error: 'const struct event' has no member named 'ev_flags'
return (ev->ev_flags & EVLIST_REGISTERED);
^
In file included from io/async/AsyncTimeout.cpp:26:0:
io/async/AsyncTimeout.cpp: In static member function 'static void folly::AsyncTimeout::libeventCallback(int, short int, void_)':
io/async/AsyncTimeout.cpp:147:27: error: 'struct event' has no member named 'ev_flags'
assert((timeout->event_.ev_flags & ~EVLIST_INTERNAL) == EVLIST_INIT);
^
In file included from ./../folly/io/async/EventHandler.h:24:0,
from ./../folly/io/async/AsyncUDPSocket.h:23,
from io/async/AsyncUDPSocket.cpp:17:
./../folly/io/async/EventUtil.h: In static member function 'static bool folly::EventUtil::isEventRegistered(const event_)':
./../folly/io/async/EventUtil.h:38:17: error: 'const struct event' has no member named 'ev_flags'
return (ev->ev_flags & EVLIST_REGISTERED);
^
Makefile:1199: recipe for target 'io/async/AsyncTimeout.lo' failed
make[2]: *** [io/async/AsyncTimeout.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1199: recipe for target 'io/async/AsyncUDPSocket.lo' failed
make[2]: *** [io/async/AsyncUDPSocket.lo] Error 1
libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++0x -g -O2 -MT io/async/AsyncSignalHandler.lo -MD -MP -MF io/async/.deps/AsyncSignalHandler.Tpo -c io/async/AsyncSignalHandler.cpp -o io/async/AsyncSignalHandler.o >/dev/null 2>&1
Makefile:1199: recipe for target 'io/async/AsyncServerSocket.lo' failed
make[2]: *** [io/async/AsyncServerSocket.lo] Error 1
make[2]: Leaving directory '/home/james/folly/folly'
Makefile:1256: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/james/folly/folly'
Makefile:796: recipe for target 'all' failed
make: *** [all] Error 2

from proxygen.

bugok avatar bugok commented on May 2, 2024

Since this is an issue with folly and we are dependent in folly, could you please open an issue with the folly project?

from proxygen.

js7222 avatar js7222 commented on May 2, 2024

I've managed to get folly working on a different machine with Ubuntu 15.04. I suspect this might be the version of boost that I'm using. I will check later

from proxygen.

oneOfThePeople avatar oneOfThePeople commented on May 2, 2024

you find what was the problem?

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.