Compiling boroadwell ( DS3617xs) with latest source kernel and latest toolchain


Recommended Posts

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 

Link to post
Share on other sites
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 by IG-88
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.