Jump to content

build kernel with some error: arm-linux-gnueabihf-ld: fs/sync.o


dcb0y

Recommended Posts

latest version build orange-pi-pc-plus with some ld error:

 

./compile.sh docker

 

/root/armbian/cache/toolchain/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-ld: fs/sync.o:(___ksymtab_gpl+__sync_filesystem+0x0): undefined reference to `__sync_filesystem'
make: *** [Makefile:1185: vmlinux] Error 1

 

Displaying message: Compiling current kernel 5.15.37 info

Displaying message: Compiler version arm-linux-gnueabihf-gcc 8.3.0 info

Displaying message: Using kernel config provided by user userpatches/linux-sunxi-current.config info

Displaying message: Compressing sources for the linux-source package

Displaying message: Make the linux-source package 31 sec. info

Displaying message: ERROR in function compile_kernel main.sh:589 -> main.sh:490 -> compilation.sh:506 -> general.sh:0 err

Displaying message: Kernel was not built @host err

Displaying message: Process terminated info

 

 

Link to comment
Share on other sites

Your build script seems outdated since a while ago kernel versions have been frozen for once to get stable upcoming releases ready and also to avoid a breaking that was introduced in >=5.15.36.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines