Make build error
rexgamer338571 opened this issue · 1 comments
rexgamer338571 commented
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 commented
Does your linker.ld file exsist?