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

gnutls doesn't include all link dependencies #565

Open
rdp opened this issue Feb 12, 2019 · 1 comment
Open

gnutls doesn't include all link dependencies #565

rdp opened this issue Feb 12, 2019 · 1 comment
Assignees
Labels
[build] Area: Changes in build files help wanted Indicates that a maintainer wants help on an issue or pull request Type: Bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@rdp
Copy link

rdp commented Feb 12, 2019

cross compiling for windows from linux results in a ton of undefined reference to `nettle_mpz_sizeinbase_256_u' type errors:

CMakeFiles/srt-live-transmit.dir/linklibs.rsp is "missing" some pkg deps of gnutls (nettle, hogweed, etc.)

 cmake  -G"Unix Makefiles" . -DENABLE_STATIC_RUNTIME=1 -DBUILD_SHARED_LIBS=0 -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_FIND_ROOT_PATH=/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_RANLIB=/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-ranlib -DCMAKE_C_COMPILER=/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-g++ -DCMAKE_RC_COMPILER=/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-windres -DCMAKE_INSTALL_PREFIX=/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 -DUSE_GNUTLS=ON -DENABLE_SHARED=OFF



[100%] Linking CXX executable srt-file-transmit.exe
/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: /home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/lib/../lib/libgnutls.a(lt19-mpi.o):mpi.c:(.text+0x31): undefined reference to `nettle_mpz_sizeinbase_256_u'
/home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: /home/rdp/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/lib/../lib/libgnutls.a(lt19-mpi.o):mpi.c:(.text+0x74): undefined reference to `nettle_mpz_get_str_256'
...
@maxsharabayko maxsharabayko added the [build] Area: Changes in build files label Jul 3, 2019
@mbakholdina mbakholdina added this to the v1.6.0 milestone Feb 20, 2020
@mbakholdina mbakholdina modified the milestones: v1.6.0, Backlog May 26, 2021
@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior help wanted Indicates that a maintainer wants help on an issue or pull request labels Sep 1, 2022
@rdp
Copy link
Author

rdp commented Jan 19, 2024

work around might be to disable apps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[build] Area: Changes in build files help wanted Indicates that a maintainer wants help on an issue or pull request Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants