Skip to content

Link failure #51

Closed
Closed

Description

@sandeshrk

I am unable to build fboss agent. I ran ./getdeps.sh before building fboss. No errors reported.
Can someone please advise on this?

Thanks,
Sandesh

[100%] Linking CXX executable wedge_agent
../external/fbthrift/thrift/lib/cpp2/.libs/libthriftcpp2.so: undefined reference to `vtable for apache::thrift::ThriftProcessor'
collect2: error: ld returned 1 exit status
CMakeFiles/wedge_agent.dir/build.make:263: recipe for target 'wedge_agent' failed
make[2]: *** [wedge_agent] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/wedge_agent.dir/all' failed
make[1]: *** [CMakeFiles/wedge_agent.dir/all] Error 2
Makefile:83: recipe for target 'all' failed

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
uname -a
Linux 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Activity

  1. capveg commented on Aug 29, 2017

    @capveg

    Hi - thanks for the heads up. Fwiw, we were tracking this in our travis-ci.org build (check out https://travis-ci.org/facebook/fboss) and the fix is in flight. In fact, I've just now restarted the travis build and believe it should build successfully. If you can confirm it works for you as well, it would be appreciated. Thanks for the bug report.

    FYI: @eduardo-elizondo

  2. sandeshrk commented on Aug 29, 2017

    @sandeshrk
    Author

    Thanks Rob. I am already updated to the latest git.
    Can you tell me which fix I need to look at? I can test it and let you know.

    Regards,
    Sandesh

  3. sandeshrk commented on Aug 29, 2017

    @sandeshrk
    Author

    Now, ./getdeps.sh errors out with this error.
    make[5]: *** No rule to make target 'server/transport/core/ThriftProcessor.cpp', needed by 'server/transport/core/libthriftcpp2_la-ThriftProcessor.lo'. Stop.
    make[5]: *** Waiting for unfinished jobs....

  4. capveg commented on Aug 30, 2017

    @capveg

    There are some issues with how we do continuous integration with the github.com/facebook/fbthrift project that we're resolving internally, but short story is we'll get this fixed today.

    Curious: what are you looking to use fboss for?

  5. sandeshrk commented on Aug 30, 2017

    @sandeshrk
    Author

    Thanks Rob.
    I am trying to get the data on some optics information from wedge-100.

    Sandesh

  6. jonahw commented on Aug 31, 2017

    @jonahw
  7. added a commit that references this issue on Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions