Skip to content

undefined reference to tlcp_record_print when ENABLE_TLS_DEBUG=ON #1909

Description

@tkdchen

Compile from branch master and commit 24ae482.

[ 60%] Building C object CMakeFiles/gmssl-bin.dir/tools/sdfdecrypt.c.o
[ 60%] Building C object CMakeFiles/gmssl-bin.dir/tools/sdftest.c.o
[ 60%] Linking C executable bin/gmssl
/usr/bin/ld.bfd: bin/libgmssl.so.3.3: undefined reference to `tlcp_record_print'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/gmssl-bin.dir/build.make:1542: bin/gmssl] Error 1
make[1]: *** [CMakeFiles/Makefile2:355: CMakeFiles/gmssl-bin.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Reproducible Step:

  • Checkout to the commit 24ae482

  • Run scripts:

    rm -rf build
    mkdir build
    cd build
    cmake .. -DENABLE_TLS_DEBUG=ON
    make

OS: Fedora 44

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions