Fail to build ted2 with new fiber code

About Monkey 2 Forums Monkey 2 Development Fail to build ted2 with new fiber code

This topic contains 3 replies, has 3 voices, and was last updated by  olejr 2 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2010

    olejr
    Participant

    Recent checkout from git rebuildall give me these errors both on windows & linux.

    Tried on a clean copy from git on both systems.

    #2021

    impixi
    Participant

    I just tried building ted2 on my iMac and encountered fibre-related errors too:

    Undefined symbols for architecture x86_64:
    “_jump_fcontext”, referenced from:
    bbFiber::fiberEntry(transfer_t) in std.a(_1_1_1fiber_2native_2fiber.cpp.o)
    bbFiber::resumeFiber(int) in std.a(_1_1_1fiber_2native_2fiber.cpp.o)
    bbFiber::suspendCurrentFiber() in std.a(_1_1_1fiber_2native_2fiber.cpp.o)
    “_make_fcontext”, referenced from:
    bbFiber::createFiber(bbFunction<void ()>) in std.a(_1_1_1fiber_2native_2fiber.cpp.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    #2024

    Mark Sibly
    Keymaster

    Try building mx2cc first, then modules (if that’s possible).

    mx2cc has been updated so it can build asm files. If you haven’t rebuilt it, the asm files used by new Fiber will probably be treated as assets not built.

    I shouldn’t have commited the new fiber stuff without also commiting new mx2cc binaries…my bad.

    #2025

    olejr
    Participant

    That fixed it, thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.