Aigor 3 Posted February 19 Share Posted February 19 Hi Friends, when i try to compile some kernel modules fo DS3617xs using latest toolchain and latest kernel sources, i get several errors make ARCH=x86_64 CROSS_COMPILE=/opt/dsm-6.2.3/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- /home/dude/linux-3.10.x/arch/x86/Makefile:164: CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended. make[1]: Nessuna operazione da eseguire per «all». make[1]: Nessuna operazione da eseguire per «relocs». CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost CHK include/generated/compile.h CC init/initramfs.o init/initramfs.c:22:29: fatal error: crypto/hydrogen.h: File o directory non esistente #include <crypto/hydrogen.h> ^ compilation terminated. make[1]: *** [init/initramfs.o] Errore 1 make: *** [init] Errore 2 Do someone has some hint? Many thanks Quote Link to post Share on other sites
IG-88 713 Posted February 19 Share Posted February 19 in theory it should work with this (they did not provide it with 6.2.2 source) https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/broadwell-source/libhydrogen.txz/download Quote Link to post Share on other sites
Aigor 3 Posted February 20 Author Share Posted February 20 11 hours ago, IG-88 said: in theory it should work with this (they did not provide it with 6.2.2 source) https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/broadwell-source/libhydrogen.txz/download Thank you for the link, do i have to copy hydrogen.h into kernels include folder? Quote Link to post Share on other sites
IG-88 713 Posted February 20 Share Posted February 20 (edited) 7 minutes ago, Aigor said: Thank you for the link, do i have to copy hydrogen.h into kernels include folder? i guess so, i tinkered with the original code from git and 6.2.2 but cant remember exactly (and have not changed my build environment to 6.2.3) in the end its not important for compiling modules its just for the kernel itself that you cant use in the end if you keep it to "make ... modules" instead of "make ... all" you should not need libhydrogen Edited February 20 by IG-88 Quote Link to post Share on other sites
Aigor 3 Posted February 20 Author Share Posted February 20 Thank you IG-88 it's' not enough copy hydrogen.h. Yes, you are right, hydrogen not needed for modules Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.