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

Make build error #74

Open
rexgamer338571 opened this issue Oct 14, 2022 · 1 comment
Open

Make build error #74

rexgamer338571 opened this issue Oct 14, 2022 · 1 comment

Comments

@rexgamer338571
Copy link

Hi, when I run the build x86_64 command it says:

root@2bd6ec9d29fe:~/env# make build-x86_64
mkdir -p build/x86_64/boot/ && \
nasm -f elf64  src/impl/x86_64/boot/header.asm -o build/x86_64/boot/header.o
mkdir -p build/x86_64/boot/ && \
nasm -f elf64  src/impl/x86_64/boot/main.asm -o build/x86_64/boot/main.o
mkdir -p dist/x86_64 && \
x86_64-elf-ld -n -o dist/x86_64/kernel.bin -T targets/x86_64/linker.ld  build/x86_64/boot/header.o  build/x86_64/boot/main.o && \
cp dist/x86_64/kernel.bin targets/x86_64/iso/boot/kernel.bin && \
grub-mkrescue /usr/lib/grub/i386-pc -o dist/x86_64/kernel.iso targets/x86_64/iso
x86_64-elf-ld: cannot open linker script file targets/x86_64/linker.ld: No such file or directory
Makefile:11: recipe for target 'build-x86_64' failed
make: *** [build-x86_64] Error 1

Can you help me?

@Florian-Mahlberg
Copy link

Does your linker.ld file exsist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants