Giter Club home page Giter Club logo

Comments (13)

larseggert avatar larseggert commented on July 30, 2024

Since you closed this, I assume you figure out the problem?

(This is actually a build issue in picoTLS.)

from quant.

Pallavikadam10 avatar Pallavikadam10 commented on July 30, 2024

Hi,

Thanks for the reply. I haven't figured it out yet.
I have built the picoTLS separately as described in the document - [https://github.com/h2o/picotls].

Thanks,
Pallavi

from quant.

larseggert avatar larseggert commented on July 30, 2024

quant builds picotls internally, so you don't need to build it separately.

Based on the error you see, it seems that your openssl version under /usr/local is maybe too old? You need 1.1.

from quant.

Pallavikadam10 avatar Pallavikadam10 commented on July 30, 2024

I updated the openssl.

[root@ovsDUT ~]# openssl version
OpenSSL 1.1.1-dev xx XXX xxxx
[root@ovsDUT ~]# openssl ciphers -v | awk '{print $2}' | sort | uniq
SSLv3
TLSv1
TLSv1.2
TLSv1.3
[root@ovsDUT ~]#

Could it be some linker error? How should I figure it out?

Thanks,

from quant.

larseggert avatar larseggert commented on July 30, 2024

Is that openssl installed where quant is looking for it? If you remove the build directory and try from scratch, what does the full log show?

from quant.

Pallavikadam10 avatar Pallavikadam10 commented on July 30, 2024

Do you mean remove the quant and build it from scratch?

from quant.

larseggert avatar larseggert commented on July 30, 2024

The quant README tells you to build in a Debug subdirectory. I meant that you should clean out the contents of that build directory and redo the build (starting with calling cmake).

from quant.

larseggert avatar larseggert commented on July 30, 2024

Have you managed to build quant yet?

from quant.

Pallavikadam10 avatar Pallavikadam10 commented on July 30, 2024

I tried redoing the build. Getting following error:

[root@ovsDUT Debug]# cmake ..
-- Configuring done
CMake Error in lib/CMakeLists.txt:
Imported target "warpcore" includes non-existent path

"/usr/src/quant/Debug/external/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

-- Generating done
-- Build files have been written to: /usr/src/quant/Debug
[root@ovsDUT Debug]#

from quant.

larseggert avatar larseggert commented on July 30, 2024

Are you sure your Debug directory is empty? Because the output you post doesn't show cmake running from scratch.

from quant.

Pallavikadam10 avatar Pallavikadam10 commented on July 30, 2024

Yes, I created an empty Debug dir. Following is the output:

[root@ovsDUT Debug]# cmake ..
-- The C compiler identification is GNU 6.4.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for htobe64
-- Looking for htobe64 - found
-- Looking for htobe64
-- Looking for htobe64 - not found
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.2m")
-- Performing Test _march_native
-- Performing Test _march_native - Success
-- Performing Test _Wextra
-- Performing Test _Wextra - Success
-- Performing Test _Wpedantic
-- Performing Test _Wpedantic - Success
-- Performing Test _Weverything
-- Performing Test _Weverything - Failed
-- Performing Test _Werror
-- Performing Test _Werror - Success
-- Performing Test _fcolor_diagnostics
-- Performing Test _fcolor_diagnostics - Failed
-- Performing Test _fdiagnostics_color_always
-- Performing Test _fdiagnostics_color_always - Success
-- Performing Test _Wno_missing_field_initializers
-- Performing Test _Wno_missing_field_initializers - Success
-- Performing Test _Wno_disabled_macro_expansion
-- Performing Test _Wno_disabled_macro_expansion - Success
-- Performing Test _Wno_cpp
-- Performing Test _Wno_cpp - Success
-- Performing Test _Wno_missing_braces
-- Performing Test _Wno_missing_braces - Success
-- Performing Test _Wno_gnu_statement_expression
-- Performing Test _Wno_gnu_statement_expression - Success
-- Performing Test _Wno_extended_offsetof
-- Performing Test _Wno_extended_offsetof - Success
-- Looking for sanitizer/asan_interface.h
-- Looking for sanitizer/asan_interface.h - found
-- Performing Test _fsanitize_address
-- Performing Test _fsanitize_address - Success
-- Performing Test _fno_omit_frame_pointer
-- Performing Test _fno_omit_frame_pointer - Success
-- Performing Test _fsanitize_address_use_after_scope
-- Performing Test _fsanitize_address_use_after_scope - Failed
-- Performing Test _fno_optimize_sibling_calls
-- Performing Test _fno_optimize_sibling_calls - Success
-- Performing Test _fsanitize_undefined
-- Performing Test _fsanitize_undefined - Success
-- Performing Test _fsanitize_unsigned_integer_overflow
-- Performing Test _fsanitize_unsigned_integer_overflow - Failed
-- Performing Test _fno_sanitize_alignment
-- Performing Test _fno_sanitize_alignment - Success
-- Performing Test _fno_common
-- Performing Test _fno_common - Success
-- Found http-parser: /usr/lib64/libhttp_parser.so
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot
-- Found libev: /usr/lib64/libev.so
-- Configuring done
CMake Error in lib/CMakeLists.txt:
Imported target "warpcore" includes non-existent path

"/usr/src/quant/Debug/external/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

-- Generating done
-- Build files have been written to: /usr/src/quant/Debug
[root@ovsDUT Debug]#

from quant.

larseggert avatar larseggert commented on July 30, 2024

Thanks for the full log! Intersting, I don't see this error, because I use ninja to build (-GNinja) and not make. I can reproduce it with make locally, and I will try and fix this. (This may be a bug in cmake.)

The good new is that you should be able to ignore the cmake error and just do make afterwards. At least for me, it builds fine then.

from quant.

Pallavikadam10 avatar Pallavikadam10 commented on July 30, 2024

Thank you!

from quant.

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.