Advertisement
twokay

cmake output for uwebsockets with openssl

Nov 12th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. cmake output
  2. tshaw@tom-20vx000duk:~/CLionProjects/entitywind-uwebsockets-test/build$ cmake ..
  3. -- The C compiler identification is GNU 13.2.0
  4. -- The CXX compiler identification is GNU 13.2.0
  5. -- Detecting C compiler ABI info
  6. -- Detecting C compiler ABI info - done
  7. -- Check for working C compiler: /usr/bin/cc - skipped
  8. -- Detecting C compile features
  9. -- Detecting C compile features - done
  10. -- Detecting CXX compiler ABI info
  11. -- Detecting CXX compiler ABI info - done
  12. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  13. -- Detecting CXX compile features
  14. -- Detecting CXX compile features - done
  15. -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.13")
  16. -- Using OpenSSL 3.0.13
  17. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3")
  18. -- Configuring done (2.8s)
  19. -- Generating done (0.0s)
  20. -- Build files have been written to: /home/tshaw/CLionProjects/entitywind-uwebsockets-test/build
  21. tshaw@tom-20vx000duk:~/CLionProjects/entitywind-uwebsockets-test/build$ cmake --build .
  22. [ 5%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/bsd.c.o
  23. [ 11%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/context.c.o
  24. [ 16%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/crypto/openssl.c.o
  25. [ 22%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/eventing/epoll_kqueue.c.o
  26. [ 27%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/eventing/gcd.c.o
  27. [ 33%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/eventing/libuv.c.o
  28. [ 38%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/io_uring/io_context.c.o
  29. [ 44%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/io_uring/io_loop.c.o
  30. [ 50%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/io_uring/io_socket.c.o
  31. [ 55%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/loop.c.o
  32. [ 61%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/quic.c.o
  33. [ 66%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/socket.c.o
  34. [ 72%] Building C object CMakeFiles/uSockets.dir/_deps/usockets_content-src/src/udp.c.o
  35. [ 77%] Linking C shared library libuSockets.so
  36. [ 77%] Built target uSockets
  37. [ 83%] Building CXX object CMakeFiles/client.dir/client_ws.cc.o
  38. [ 88%] Linking CXX executable client
  39. [ 88%] Built target client
  40. [ 94%] Building CXX object CMakeFiles/server.dir/server_ws.cc.o
  41. [100%] Linking CXX executable server
  42. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_context_on_long_timeout'
  43. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_get_native_handle'
  44. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_create_child_ssl_socket_context'
  45. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_get_sni_userdata'
  46. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_context_connect_unix'
  47. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_context_on_data'
  48. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_write'
  49. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_context_remove_server_name'
  50. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_is_shut_down'
  51. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_context_free'
  52. /usr/bin/ld: libuSockets.so: undefined reference to `us_internal_ssl_socket_context_on_end'
  53. ...etc
  54. collect2: error: ld returned 1 exit status
  55. gmake[2]: *** [CMakeFiles/server.dir/build.make:101: server] Error 1
  56. gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/server.dir/all] Error 2
  57. gmake: *** [Makefile:91: all] Error 2
  58. tshaw@tom-20vx000duk:~/CLionProjects/entitywind-uwebsockets-test/build$
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement