michaeljclark / busybear-linux

busybear-linux is a tiny RISC-V Linux root filesystem image that targets the VirtIO board in riscv-qemu.
93 stars 33 forks source link

stubs-lp64.h #10

Open iliasLab opened 5 years ago

iliasLab commented 5 years ago

Hello everyone. I have a problem building busybear, because during my make order there is a fatal error as stubs-lp64.h is missing. Can anyone help me fix this problem? I found a relative post but the answers couldn' t help me fix it. Please make simple answers. Still an amateur.

michaeljclark commented 5 years ago

Can you include snippets from the build log and the command you executed?

it will help me figure out which build step has failed

morganteg commented 5 years ago

Hi, I've the same problem. Any suggestion? Here my log:

/opt/riscv/sysroot/usr/include/gnu/stubs.h:17:11: fatal error: gnu/stubs-lp64.h: No such file or directory

include <gnu/stubs-lp64.h>

       ^~~~~~~~~~~~~~~~~~

compilation terminated.

morganteg commented 5 years ago

A solution that seems to work is:

  1. Go to folder /opt/riscv/sysroot/usr/include/gnu/
  2. cp stubs-lp64d.h stubs-lp64.h

Re-run make command.

milisarge commented 4 years ago

it works :+1:

tdietert commented 4 years ago

@morganteg amazing, thank you!

eaglepie commented 10 months ago

it works 👍

Can you provide that file again?stubs-lp64.h or stubs-lp64d.h ,please help me.

eaglepie commented 10 months ago

someone can provide this file stubs-lp64.h or stubs-lp64d.h ,please! I need this file.