Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v8] build error: fiber build errors #15

Closed
hackfisher opened this issue Sep 26, 2016 · 1 comment
Closed

[v8] build error: fiber build errors #15

hackfisher opened this issue Sep 26, 2016 · 1 comment
Assignees
Labels

Comments

@hackfisher
Copy link

[ 37%] Building CXX object vendor/v8-fibjs/v8/CMakeFiles/v8.dir/src/base/platform/platform-fiber.cc.o
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:85:12: error: no member named 'tlsAlloc' in 'fc::thread'; did you mean 'exlib::Fiber::tlsAlloc'?
    return fc::thread::tlsAlloc();
           ^~~~~~~~~~~~~~~~~~~~
           exlib::Fiber::tlsAlloc
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/../exlib/include/fiber.h:71:20: note: 'exlib::Fiber::tlsAlloc' declared here
    static int32_t tlsAlloc();
                   ^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:90:5: error: no member named 'tlsFree' in 'fc::thread'; did you mean 'exlib::Fiber::tlsFree'?
    fc::thread::tlsFree(static_cast<int>(key));
    ^~~~~~~~~~~~~~~~~~~
    exlib::Fiber::tlsFree
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/../exlib/include/fiber.h:74:17: note: 'exlib::Fiber::tlsFree' declared here
    static void tlsFree(int32_t idx);
                ^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:95:12: error: no member named 'tlsGet' in 'fc::thread'; did you mean 'tzset'?
    return fc::thread::tlsGet(static_cast<int>(key));
           ^~~~~~~~~~~~~~~~~~
           tzset
/usr/include/time.h:119:6: note: 'tzset' declared here
void tzset(void);
     ^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:95:31: error: too many arguments to function call, expected 0, have 1
    return fc::thread::tlsGet(static_cast<int>(key));
           ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/usr/include/time.h:119:1: note: 'tzset' declared here
void tzset(void);
^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:100:5: error: no member named 'tlsPut' in 'fc::thread'; did you mean 'exlib::Fiber::tlsPut'?
    fc::thread::tlsPut(static_cast<int>(key), value);
    ^~~~~~~~~~~~~~~~~~
    exlib::Fiber::tlsPut
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/../exlib/include/fiber.h:73:17: note: 'exlib::Fiber::tlsPut' declared here
    static void tlsPut(int32_t idx, void *v);
                ^
5 errors generated.
make[2]: *** [vendor/v8-fibjs/v8/CMakeFiles/v8.dir/src/base/platform/platform-fiber.cc.o] Error 1
make[1]: *** [vendor/v8-fibjs/v8/CMakeFiles/v8.dir/all] Error 2
make: *** [all] Error 2
@hackfisher
Copy link
Author

818c187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants