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

FS#1032 - Build broken with cmake 3.9.3 ? #5974

Closed
openwrt-bot opened this issue Oct 2, 2017 · 2 comments
Closed

FS#1032 - Build broken with cmake 3.9.3 ? #5974

openwrt-bot opened this issue Oct 2, 2017 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

shaarkys:

When building latest trunk :

[ 23%] Linking C executable LIBCURL
/home/machine/lede/source/staging_dir/host/lib/libcrypto.a(getentropy_linux.o): In function getentropy_fallback': getentropy_linux.c:(.text+0x16d): undefined reference to clock_gettime'
getentropy_linux.c:(.text+0x412): undefined reference to clock_gettime' collect2: error: ld returned 1 exit status make[6]: *** [Utilities/cmcurl/LIBCURL] Error 1 make[6]: Leaving directory /home/machine/lede/source/build_dir/host/cmake-3.9.3'
make[5]: *** [Utilities/cmcurl/CMakeFiles/LIBCURL.dir/all] Error 2
make[5]: Leaving directory /home/machine/lede/source/build_dir/host/cmake-3.9.3' make[4]: *** [all] Error 2 make[4]: Leaving directory /home/machine/lede/source/build_dir/host/cmake-3.9.3'
make[3]: *** [/home/machine/lede/source/build_dir/host/cmake-3.9.3/.built] Error 2
make[3]: Leaving directory /home/machine/lede/source/tools/cmake' make[2]: *** [tools/cmake/compile] Error 2 make[2]: Leaving directory /home/machine/lede/source'
make[1]: *** [/home/machine/lede/source/staging_dir/target-mips_24kc_musl/stamp/.tools_compile_yynyyyyyynyyyyynyynnyyyyyyyyyyyyyyyyyyyynyynynyyyynny] Error 2
make[1]: Leaving directory `/home/machine/lede/source'
make: *** [world] Error 2

When reverting https://git.lede-project.org/?p=source.git;a=commitdiff;h=839129b86453f0b0b2b47dac5502ecc3dae7ffb3 it builds fine.
Also I'm not an expert, but is 130-curl-fix-libressl-linking.patch in the right structure ? (it contains mail headers)

@openwrt-bot
Copy link
Author

stintel:

Actually having those headers is preferred, as it allows for easy tracking the origin of the patch.

The issue should be fixed by https://git.lede-project.org/64da598c, can you confirm?

@openwrt-bot
Copy link
Author

stintel:

Nvm, didn't see the task closure request :-)

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

1 participant